[Webkit-unassigned] [Bug 48471] New: -webkit-mask-image drops SVG mask content

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Oct 27 14:54:11 PDT 2010


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

           Summary: -webkit-mask-image drops SVG mask content
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: PC
        OS/Version: Windows 7
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: Layout and Rendering
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: mkorourk at adobe.com


Created an attachment (id=72091)
 --> (https://bugs.webkit.org/attachment.cgi?id=72091&action=review)
Assets showing the original content with problem and the only workaround I've come up with

The attached zip contains HTML content which brings in a SVG file as a mask via -webkit-mask-image.

The mask is dropped by webkit when the mask size is the same size as the <div> it is applied to and their origins align.

If I shift the mask by 1 pixel with -webkit-mask-origin so that content and mask don't align then the mask is properly applied.

There doesn't seem to be any reason why the existing content should drop the mask or not be legal.

Shifting the mask isn't a viable option because content on the edge that should be masked won't be as a result.

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