Skip to content

:open pseudo-class #413

Closed
Closed

Description

@josepharhar

WebKittens

@annevk @nt1m

Title of the proposal

CSS :open pseudo-class

URL to the spec

https://drafts.csswg.org/selectors-4/#open-state

URL to the spec's repository

https://drafts.csswg.org

Issue Tracker URL

No response

Explainer URL

No response

TAG Design Review URL

No response

Mozilla standards-positions issue URL

No response

WebKit Bugzilla URL

https://bugs.webkit.org/show_bug.cgi?id=280637

Radar URL

No response

Description

There is a corresponding HTML spec PR here: whatwg/html#10126

Activity

  1. annevk commented on Oct 11, 2024

    @annevk
    Contributor

    Overall this seems reasonable and thanks for working on it! However, during review it was suggested that we might not need :closed as it's redundant with :not(:open) and inconsistent with :popover-open. It would be good to go over that concern with the CSS WG.

  2. added
    from: GoogleProposed, edited, or co-edited by Google.
    on Nov 2, 2024
  3. josepharhar commented on Nov 26, 2024

    @josepharhar
    Author

    :closed was resolved to be removed for now, so I'm removing it from this proposal: w3c/csswg-drafts#11039 (comment)

  4. changed the title [-]:open and :closed pseudo-classes[/-] [+]:open pseudo-class[/+] on Nov 26, 2024
  5. annevk commented on Nov 27, 2024

    @annevk
    Contributor

    Thanks for updating it! I haven't yet looked at the changeset in detail again, but based on the productive discussion in the CSS/WHATWG Task Force I suggest we mark this as "position: support" one week from now.

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