[Webkit-unassigned] [Bug 9284] Quirksmode (CSS1): Removing inline border styles is impossible

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Jan 7 15:31:23 PST 2007


------- Comment #6 from mitz at webkit.org  2007-01-07 15:31 PDT -------
(In reply to comment #5)
> Yeah, this is great.  What about "border" though?  I see expansions for
> border-top/left/right/bottom but not for border.

Hiding here (I wanted to reuse the first 4 arrays):

+    shorthandMap->set(CSS_PROP_BORDER, new
PropertyLonghand(borderTopProperties, (sizeof(borderTopProperties) +
sizeof(borderRightProperties) + sizeof(borderBottomProperties) +
sizeof(borderLeftProperties)) / sizeof(borderTopProperties[0])));

>  I assume it will be recursive
> and will expand border into border-top/left/right/bottom and then from there
> into top-width/color/style, etc.

Given that border is the only 2-level (and 2-way) "hierarchy", I figured it
would be an overkill to implement it with recursion.


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