[Webkit-unassigned] [Bug 26541] CSS property value serialization order is out of whack

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Jul 7 23:01:32 PDT 2009


https://bugs.webkit.org/show_bug.cgi?id=26541





--- Comment #2 from Yuta Kitamura <yutak at chromium.org>  2009-07-07 23:01:31 PDT ---
Created an attachment (id=32429)
 --> (https://bugs.webkit.org/attachment.cgi?id=32429)
Simple fix (which causes test regression)

I tried to fix this bug, but I'm facing some difficulties on it. I've got a
simple fix (attached) but this causes a test regression that is difficult to
handle.

LayoutTests/fast/dom/background-shorthand-csstext.html fails, becuase div1's
background property value is serialized to "repeat-x, white repeat-y".
Apparently this should be "white repeat-x, repeat-y". However, WebKit CSS
parser does NOT accept "background: white repeat-x, repeat-y;" as a valid style
sheet declaration, so we can't do this. For now, I can't find any resolution
that satisfies both CSSOM spec and WebKit parser. It seems too difficult for me
to hack the CSS parser (at least for now).

By the way, according to CSS2, the value "repeat-x, repeat-y" for
background-repeat property is invalid (you can use "repeat" for this purpose).
I assume that this is a WebKit extension, but I'm not sure it really is.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list