[Webkit-unassigned] [Bug 18340] New: Elements with display="none" in a <clipPath> still contribute to clipping path

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Apr 7 04:21:56 PDT 2008


http://bugs.webkit.org/show_bug.cgi?id=18340

           Summary: Elements with display="none" in a <clipPath> still
                    contribute to clipping path
           Product: WebKit
           Version: 526+ (Nightly build)
          Platform: Macintosh
               URL: http://mcc.id.au/temp/2008/clipPath-display-none.svg
        OS/Version: Mac OS X 10.5
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: SVG
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: cam at mcc.id.au


Elements inside a <clipPath> that have display="none" should not contribute to
the clipping path, but they currently do.

I thought perhaps that simply replacing
SVGStyledTransformableElement::toClipPath() with:

  virtual Path toClipPath() const { return renderer() ? toPathData() : Path();
}

would work (on the assumption that there'd be no renderer for elements with
display="none"), but in fact there is no renderer for any element in the
<clipPath>.


-- 
Configure bugmail: http://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the webkit-unassigned mailing list