Skip to content

[css-display-4] Remove 'visibility: force-hidden' #14939

Backlog

Description

@fantasai

In #10182 we added a force-hidden value to visibility, which would make all descendants behave as hidden even if their value was set to something else. But visibility is an inherited property, so it's an awkward fit for something that unconditionally affects all descendants.

We also subsequently clarified the spec to make position-visibility not change the computed value of visibility in #12037

I suggest that we either:

  • Remove the force-hidden value, or
  • If we think we need the functionality, maybe move it to the new display-visibility property?

I'm somewhat leaning towards the first option, unless there are use cases we should accommodate. Curious what @dbaron thinks.

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