Re: [csswg-drafts] [css-cascade] Provide an attribute for assigning a <link> to a cascade layer (#5853)

I'm working on a PR against the HTML spec to allow support queries in `<link media>` (https://github.com/whatwg/html/pull/7658) but noticed the [product of the media attribute](link-type-stylesheet:concept-css-style-sheet-media) seems to rely on a definion of [CSSOM media & MediaList](https://drafts.csswg.org/cssom/#concept-css-style-sheet-media) likely [generated from text](https://drafts.csswg.org/cssom/#create-a-medialist-object).

That is to say, I think we might need to update CSSOM in order to make this possible? Would be glad for thoughts/advice (@tabatkins or @emilio, maybe?) on the best way to approach this.

-- 
GitHub Notification of comment by mirisuzanne
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/5853#issuecomment-1067339172 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Monday, 14 March 2022 21:59:32 UTC