Skip to content

Wrong description of "visibility" property #405

Closed

Description

Image for: Description

Chapter 3 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 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).

Metadata

Image for: Metadata

Metadata

Image for: Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

    Image for: Issue actions