[Webkit-unassigned] [Bug 118376] New: SVG resource don't work on display: none

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Jul 3 22:11:53 PDT 2013


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

           Summary: SVG resource don't work on display: none
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Unspecified
               URL: https://bug376027.bugzilla.mozilla.org/attachment.cgi?
                    id=593735
        OS/Version: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: SVG
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: krit at webkit.org
                CC: zimmermann at kde.org, pdr at google.com,
                    schenney at chromium.org


SVG resources like <pattern>, <mask>, <linearGradient>, <clipPath>, <filter> don't work when they have the style display: none applied:

<patter style="display: none"> <!-- pattern won't work -->

Spec says:

"The ‘display’ property does not apply to the ‘pattern’ element; thus, ‘pattern’ elements are not directly rendered even if the ‘display’ property is set to a value other than none, and ‘pattern’ elements are available for referencing even when the ‘display’ property on the ‘pattern’ element or any of its ancestors is set to none."

Same for the other elements.

<filter> seems not be affected, same for simple paths on <clipPath> (might be different once we use masking to clip).

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