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

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Aug 24 16:09:19 PDT 2009


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


yaar at google.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #38503|                            |review?
               Flag|                            |




--- Comment #1 from yaar at google.com  2009-08-24 16:09:18 PDT ---
Created an attachment (id=38503)
 --> (https://bugs.webkit.org/attachment.cgi?id=38503)
A Fix

The patch depends on the patch for
https://bugs.webkit.org/show_bug.cgi?id=26541

CSS property "background-position" was not serialized into the shorthand string
value of "style.background". This is because position is stored into two
(non-standard?) properties background-position-x and background-position-y.
Since "style.backgroundPosition" does serialize as "position-x, position-y",
(e.g. 50% 50%) it made sense that the shorthand value of style.background will
do the same.

I fixed the layout test fast/dom/background-shorthand-csstext.html and
fast/dom/background-shorthand-expected.txt as the later was accepting a FAIL.

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