[Webkit-unassigned] [Bug 13802] Background colors can't be reset to the default color

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon May 21 20:51:11 PDT 2007


http://bugs.webkit.org/show_bug.cgi?id=13802





------- Comment #3 from hyatt at apple.com  2007-05-21 20:51 PDT -------
This bug basically boils down to getShorthandValue in
CSSMutableStyleDeclaration being insufficient to dump the background shorthand.
 Because Safari supports CSS3 multiple backgrounds, this is a pretty
complicated property to dump.

Right now in the single background property case, we're dumping initial values,
because we don't record knowledge that the initial reset happened implicitly in
individual background layers.  If we did record this knowledge in each layer,
that would at least allow us to get the single background case right.

However, I think it's probably better to just add a new method to
CSSMutableStyleDeclaration, e.g., getBackgroundShorthandValue that can properly
interleave the values and correctly omit any "initials" in each layer.


-- 
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