[Webkit-unassigned] [Bug 25489] background-position not shown

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Aug 20 18:04:26 PDT 2009


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


yaar at google.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |yaar at google.com




--- Comment #1 from yaar at google.com  2009-08-20 18:04:25 PDT ---
The reason for this is as follows:
CSSParser.cpp parses and stores the background-position value into the
background-position-x and background-position-y properties.

CSSMutableStyleDeclaration.cpp tries to output background-position which is
always empty. It doesn't try to output background-position-x & y.

A simple solution would be to make CSSMutableStyleDeclaration.cpp output x & y.
A side effect of that is that if style that input "background-position: top"
would be outputed as "background-position-x: 50%; background-position-y:0%"
which is equivalent.

Current LayoutTests/fast/dom/background-shorthand-csstext.html captures this
bug, but accepts the failure. Once fixed, please rebaseline the layout test.

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