[Webkit-unassigned] [Bug 103083] New: -webkit-mask shorthand switches -webkit-mask-clip and -webkit-mask-origin values

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Nov 22 10:07:03 PST 2012


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

           Summary: -webkit-mask shorthand switches -webkit-mask-clip and
                    -webkit-mask-origin values
           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
                CC: hyatt at apple.com, simon.fraser at apple.com
            Blocks: 95389


I wrote a test for -webkit-mask and found a problem with the handling of <box>{1,2} values (-webkit-mask-clip and -webkit-mask-origin). What ever you do, the values always get switched. This is not the case for background:

PASS innerStyle("background", "none padding-box content-box") is "none padding-box content-box"
PASS innerStyle("background", "none content-box padding-box") is "none content-box padding-box"
FAIL innerStyle("-webkit-mask", "none padding-box content-box") should be none padding-box content-box. Was none content-box padding-box.
FAIL innerStyle("-webkit-mask", "none content-box padding-box") should be none content-box padding-box. Was none padding-box content-box.

Same happens in all combination of <box>: border-box, padding-box and content-box.

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