[Webkit-unassigned] [Bug 103147] New: background gives wrong property value for either background-position or -size and -repeat

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Nov 23 08:21:33 PST 2012


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

           Summary: background gives wrong property value for either
                    background-position or -size and -repeat
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Unspecified
        OS/Version: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: CSS
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: krit at webkit.org


background gives wrong property value for either background-position or -size and -repeat:

FAIL innerStyle("background", "none left top / auto") should be none 0% 0% / 100% 100%. Was none 0% 0% / auto.

Note that

background-positions 'left top' is resolved to '0% 0%', while
background-size 'auto' stays 'auto', but should be resolved to '100% 100%' since image size can not be determined.

Similar on background-repeat:

FAIL innerStyle("background", "repeat-x") should be repeat no-repeat. Was repeat-x.

This is not resolved as well.


While it makes sense that the style is not resolved for element.style.background (but for computed style that I did not check here), why is it for 'background-position'?

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