[svgwg] Issue: Wrong description of "visibility" property marked as Document structure chapter

AmeliaBR has just labeled an issue for https://github.com/w3c/svgwg as "Document structure chapter":

== 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 behave like a container with referenced elements cloned into the 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". Therefore, I would propose to change the sentence from Chapter 3 to:

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


See https://github.com/w3c/svgwg/issues/405

Received on Sunday, 1 April 2018 19:23:47 UTC