[CSSWG][css-cascade-5] Call for Review on CSS Cascading and Inheritance Level 5

The CSS WG has published an updated Working Draft of CSS Cascading and 
Inheritance Level 5 and is issuing a Last Call for Comments:

https://www.w3.org/TR/css-cascade-5/

This CSS module describes how to collate style rules and assign values by way 
of cascading and inheritance.

Level 5 adds “layers” to the cascade, along with a syntax for defining and 
sorting those layers. In the same way that cascade origins provide a balance 
of power between user and author styles, cascade layers provide a structured 
way to organize and balance concerns within a single origin – such as element 
defaults, third-party libraries, themes, components, and overrides.

The changes have been made since the previous Working Draft:
* Switched layer import syntax to use @import instead of @layer.
* Added a 'revert-layer' keyword to revert an entire layer.
* Defined author-origin presentational hints as being in their own layer.

There remain a couple issues open on bikeshedding the exact syntax:
   https://github.com/w3c/csswg-drafts/issues/5791 (nested layer name syntax)
   https://github.com/w3c/csswg-drafts/issues/5840 (call them "layers" or...?)

Other than that and a bit of editorial work, CSSWG considers this level 
complete; all other feature requests are now deferred to Level 6.

Please consider this the call for wide review; we will transition to CR once 
the last few issues are resolved and horizontal review is complete (but no 
sooner than 7 April 2021).

Please send any comments to this mailing list, <www-style@w3.org>, prefixed 
with [css-cascade-5] (as I did on this message) or (preferably) file them in 
the GitHub repository at https://github.com/w3c/csswg-drafts/issues

For the CSS WG,
~fantasai

Received on Thursday, 18 March 2021 00:10:02 UTC