[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 22:27:41 PST 2007
http://bugs.webkit.org/show_bug.cgi?id=9284
darin at apple.com changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #12285|review? |review-
Flag| |
------- Comment #8 from darin at apple.com 2007-01-07 22:27 PDT -------
(From update of attachment 12285)
> 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])));
That technique is not reliable. It relies on the four arrays being consecutive
in global data, something that is not guaranteed by the C++ language.
--
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