Skip to content

[css-display] <legend> with no box #1584

Description

@Loirooriol

In Box Generation, the spec says that none and contents cannot affect

whether a <legend> is the name of a <fieldset>.

But in Appendix B,

Per HTML, a <legend> with display: contents is not a rendered legend, so it does not have magical display behavior. (Thus, it reacts to display: contents normally.)

Not sure what exactly the first quote means with "name of a fieldset", my guess is that it refers to the rendered legend, but that contradicts the 2nd quote. If it means something else, please clarify.

Activity

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

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions