[svgwg] Wrong description of "visibility" property

jarek-foksa has just created a new issue for https://github.com/w3c/svgwg:

== Wrong description of "visibility" property ==
[Chapter 3](https://svgwg.org/svg2-draft/render.html#VisibilityControl) says that:

> The visibility property only directly applies to graphics elements, text content elements (including the ‘a’ element when it is a child of text content element) and ‘use’ elements.

[Chapter 5](https://svgwg.org/svg2-draft/struct.html#UseStyleInheritance) says that:

> The visibility property does not appy directly to container elements, and therefore does not apply directly to the ‘use’ element.

Considering the recent changes to <use> element definition (make it work like a container with a shadow root), I guess the first sentence is wrong? Also, `<a>` is not a text content element, so I would avoid using the word "including". I would propose to change the sentence to:

> The visibility property only directly applies to graphics elements, text content elements and "a" element (when it is a child of text content element).


Please view or discuss this issue at https://github.com/w3c/svgwg/issues/405 using your GitHub account

Received on Sunday, 1 April 2018 18:22:34 UTC