[Webkit-unassigned] [Bug 97134] New: Add optional keywords 'luminance'/'alpha' for 'mask-image' property to CSSParser

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Sep 19 14:14:00 PDT 2012


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

           Summary: Add optional keywords 'luminance'/'alpha' for
                    'mask-image' property to CSSParser
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Unspecified
               URL: http://dvcs.w3.org/hg/FXTF/raw-file/tip/masking/index.
                    html#the-mask-image
        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


The CSS Masking specification adds the optional value <mask-type> to 'mask-image':

<mask-image>#

with

<mask-image> = [<image> | none] <mask-type>?

<mask-type> = luminance | alpha

This allows switching to a different masking operation per image. All masks are "transformed" to alpha masks, drawn over each other and used as one alpha mask. Luminance masks are used by a lot of designers because tools from Corel and Adobe (possibly Inkscape and Gimp as well) create these kind of masks.

This bug report just addresses adding the keywords to the CSS parser. Since the keywords are optional and the fallback is alpha, this won't break existing content that relies on CSS masking today.

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