W3C home > Mailing lists > Public > www-svg@w3.org > March 2010

Re: clip-path childs and visibility

From: Erik Dahlstrom <ed@opera.com>
Date: Fri, 19 Mar 2010 10:34:57 +0100
To: "Dirk Schulze" <vbs85@gmx.de>, "www-svg@w3.org" <www-svg@w3.org>
Message-ID: <op.u9s58jrygeuyw5@localhost>
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 GMT

This archive was generated by hypermail 2.3.1 : Friday, 8 March 2013 15:54:44 GMT