[webkit-reviews] review requested: [Bug 17433] getComputedStyle() -> clip returns empty string : [Attachment 21195] First attempt

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri May 16 00:01:25 PDT 2008

Rob Buis <rwlbuis at gmail.com> has asked	for review:
Bug 17433: getComputedStyle() ->  clip	returns empty string

Attachment 21195: First attempt

------- Additional Comments from Rob Buis <rwlbuis at gmail.com>
So now we give a better CSSPrimitiveValue for the computed value of 'clip'.
What is not completely clear to me is how to treat 'auto'. Right now it returns

rect(0px, 0px, 0px, 0px), I would have expected something with at least a width

and height, also no clipping can be seen. However if I specify rect(0px, 0px,
0px, 0px) explicitly, there is clipping. I don't see how a distinction is made
between these two cases, and whether it is relevant for the computed value.
Opera also returns what we return for auto, FF3 just returns 'auto'.


More information about the webkit-reviews mailing list