Skip to content

Wrong description of "visibility" property #405

Closed

Description

@jarek-foksa

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

Activity

  1. AmeliaBR commented on Apr 1, 2018

    @AmeliaBR
    Contributor

    Sounds better.

  2. added a commit that references this issue on May 2, 2018
    7bcb8f0
  3. added a commit that references this issue on Aug 13, 2018
    a90be8c
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions