A layer attribute for layering of linked CSS style sheets in HTML #970
Labels
Progress: review complete
Resolution: satisfied
The TAG is satisfied with this design
Venue: CSS WG
Venue: WHATWG
Milestone
こんにちは TAG-さん!
I'm requesting a TAG review of an HTML
layer
attribute for the<link>
tag.One of the primary use-cases for CSS Cascade Layering is to manage the priority of third-party CSS (libraries and design systems) in relation to site-specific styles. It's currently possible to manage this layering on the CSS
@import
rule, as defined in CSS Cascading and Inheritance Level 5. However, there are many situations where authors do not want to use@import
for performance reasons, or cannot use@import
because of build tooling. Providing this functionality on the HTML<link>
tag would bring it in better alignment with the CSS import functionality.There seems to be broad consensus on this aspect of the feature, and I wanted to get formal review in order to hopefully move the conversation forward.
Further details:
Allow authors to apply new css features (like cascade layers) while linking stylesheets
Provide an attribute for assigning a
<link>
to a cascade layerThe text was updated successfully, but these errors were encountered: