CSS WG Blog Updated WD of Selectors Level 4

This is a page from the Cascading Style Sheets Working Group Blog. Some other places to find information are the “current work” page, the www-style mailing list, the Future of CSS syndicator, and the issue list on Github.

Do you want to know how the CSS WG works? Fantasai has written about:csswg, An Inside View of the CSS Working Group at W3C.

Updated WD of Selectors Level 4

By fantasai May 7, 2022 (Permalink)
Categories: publications

The CSS Working Group has published an updated Working Draft of Selectors Level 4. Selectors are patterns that match against elements in a tree, and are used most famously in CSS style rules as well as various Web platform APIs.

This long overdue update adds quite a few new pseudo-classes: :defined, :modal, :fullscreen, :picture-in-picture, :muted, :volume-locked, :seeking, :buffering, :stalled, :autofill, and :user-valid. It also adjusts parsing rules for most pseudo-classes such as :is() that accept selectors (but not :not()) to ignore invalid selectors in their arguments, preventing these from invalidating the entire selector. Changes since the last Working Draft are listed in the Changes section.

Please send feedback by either filing an issue in GitHub (preferable) or sending mail to the (archived) public mailing list www-style@w3.org with the spec code ([selectors-4]) and your comment topic in the subject line. (Alternatively, you can email one of the editors and ask them to forward your comment.)

« Previous article Next article »

[Photo: group photo of the CSS working group in San Francisco] Contact: Bert Bos
Copyright © 2020 W3C®

Last updated 2022-05-07 04:05:29