Re: clip-path childs and visibility

On Fri, 19 Mar 2010 10:08:25 +0100, Dirk Schulze <vbs85@gmx.de> wrote:

> Hi,
> If a child of clip-path has the property display:none, it isn't used for
> the clipping.
>
> What about visibility:hidden?
> Opera seems to ignore elements that are not visible, Batik and WebKit
> just ignore elements with display:none and Firefox doesn't care about
> display or visibility attributes at all.
>
> What is the correct behavior?
> (example:
> http://trac.webkit.org/export/56232/trunk/LayoutTests/svg/custom/clip-path-display-none-child.svg)

All these are tested in this testcase:

   http://dev.w3.org/SVG/profiles/1.1F2/test/harness/htmlObject/masking-path-08-b.html

which was created to test the clarifications made in SVG 1.1 second  
edition:

   http://dev.w3.org/SVG/profiles/1.1F2/publish/masking.html#EstablishingANewClippingPath

Cheers
/Erik

-- 
Erik Dahlstrom, Core Technology Developer, Opera Software
Co-Chair, W3C SVG Working Group
Personal blog: http://my.opera.com/macdev_ed

Received on Friday, 19 March 2010 09:28:59 UTC