- From: CSS Meeting Bot via GitHub <sysbot+gh@w3.org>
- Date: Wed, 30 Jun 2021 16:35:30 +0000
- To: public-css-archive@w3.org
The CSS Working Group just discussed `What happens to name-defining @-rules nested inside @layer?`, and agreed to the following: * `RESOLVED: Name-defining at-rules follow layer order for collision resolution, similar to specificity resolution.` <details><summary>The full IRC log of that discussion</summary> <Rossen_> topic: What happens to name-defining @-rules nested inside @layer?<br> <Rossen_> github: https://github.com/w3c/csswg-drafts/issues/6404<br> <TabAtkins> miriam: Would something like @keyframes, a name-defining at-rule, work in @layer and how?<br> <TabAtkins> miriam: If there are two @keyframes with the same name, the later one wins.<br> <TabAtkins> miriam: Not common to do intentionally, but I did find some people using this to test out new animations live in production.<br> <TabAtkins> miriam: So question is if the two are defined in seaprate layers, does the layer order impact name collision reoslution?<br> <TabAtkins> miriam: I'd like to say yes, I think that's author expectation.<br> <TabAtkins> q+<br> <bkardell_> ScribeNick: bkardell_<br> <bkardell_> TabAtkins: I agree with Mia - It would rule out a lot of use cases and would be very confusing if pure source order applied to these rules<br> <bkardell_> TabAtkins: the whole point of layering is against that - I think name definiing rules should follow layer order just the same as anything else<br> <TabAtkins> ScribeNick: TabAtkins<br> <TabAtkins> Rossen_: Other opinions?<br> <TabAtkins> Rossen_: Not hearing objections, so let's resolve.<br> <TabAtkins> RESOLVED: Name-defining at-rules follow layer order for collision resolution, similar to specificity resolution.<br> </details> -- GitHub Notification of comment by css-meeting-bot Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/6404#issuecomment-871559192 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Wednesday, 30 June 2021 16:35:32 UTC