[Webkit-unassigned] [Bug 17433] getComputedStyle() -> clip returns empty string
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Fri May 16 00:01:25 PDT 2008
http://bugs.webkit.org/show_bug.cgi?id=17433
rwlbuis at gmail.com changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #21195| |review?
Flag| |
------- Comment #2 from rwlbuis at gmail.com 2008-05-16 00:01 PDT -------
Created an attachment (id=21195)
--> (http://bugs.webkit.org/attachment.cgi?id=21195&action=view)
First attempt
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'.
Cheers,
Rob.
--
Configure bugmail: http://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
More information about the webkit-unassigned
mailing list