- From: CSS Meeting Bot via GitHub <sysbot+gh@w3.org>
- Date: Thu, 11 Feb 2021 23:54:01 +0000
- To: public-css-archive@w3.org
The CSS Working Group just discussed `Providing an attribute for providing a link to a cascade layer`. <details><summary>The full IRC log of that discussion</summary> <myles> Topic: Providing an attribute for providing a link to a cascade layer<br> <astearns> github: https://github.com/w3c/csswg-drafts/issues/5853<br> <myles> miriam: This might need to to HTML.<br> <argyle> https://www.irccloud.com/pastebin/zWOYuXvD/<br> <argyle> oh! full snippets!?<br> <myles> miriam: The idea is if we're able to import into a layer in a stylesheet, shoudl be able to do this from a link to a stylesheet? Like an attribute. But there are issues. Attributes are usually ignored if the browser doesn't support them. Then you'd get a different fallback behavior than if the browser ignored a layer block<br> <myles> florian: I dont' think that syntax can work. Doing it from HTML seems valid. but it probably couldn't be <missed> it would have to be something else because of fallback .Maybe rel="layer"<br> <myles> florian: other than that, sure, why not<br> <myles> fremy: there's an attribute for media<br> <myles> fremy: we can maybe use it in have a special syntax: media="layer=..."<br> <myles> fremy: I dunno,t hat was a random thought. IN browsers which don't support layer, it would never match because this media doesn't exist<br> <myles> astearns: I'm not a fan of nesting it in media=<br> <myles> florian: It would be ugly but it would work.<br> <myles> astearns: For my clarification: florian, the layer attribute would not work, but just not in a link element, or also not in a style element<br> <myles> florian: if you have <link> that loads a stylesheet that's ordinary in every respect except it also has a layer attribute, it wouldn't work because browsers would do a normal import, which isn't compatible behavior.<br> <myles> astearns: So it would also be a problem in <style><br> <myles> miriam: The <style> doesn't need this because you can just put a layer inside of it easily.<br> <myles> fantasai: We should table this until we have a specific proposal<br> <myles> florian: Or push to WHATWG<br> <bkardell_> you could <style>@import ... right?<br> <myles> TabAtkins: let's open an issue on WHATWG.<br> <tantek> sounds reasonable<br> <myles> TabAtkins: Mabye we can stash it in media= like fremy said. They can think about it in WHATWG<br> <myles> astearns: ok.<br> <fantasai> +1 bkardell_, this might not be worth solving in HTML<br> </details> -- GitHub Notification of comment by css-meeting-bot Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/5853#issuecomment-777873541 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Thursday, 11 February 2021 23:54:03 UTC