- From: CSS Meeting Bot via GitHub <sysbot+gh@w3.org>
- Date: Thu, 26 Sep 2024 19:56:24 +0000
- To: public-css-archive@w3.org
The CSS Working Group just discussed `[css-cascade-6] Add ability to scope rules from an imported stylesheet`, and agreed to the following: * `RESOLVED: allow full reordering of all the current conditions on @import (MQ, scope, ...)` * `RESOLVED: the WG recommends having an attribute to enable @scope on the HTML link element` <details><summary>The full IRC log of that discussion</summary> <chrishtr> q+<br> <fantasai> https://github.com/w3c/csswg-drafts/issues/7348#issuecomment-1719504814<br> <astearns> ack ydaniv<br> <fantasai> @import [ <url> | <string> ]<br> <fantasai> [ layer | layer(<layer-name>) ]?<br> <fantasai> [ supports( [ <supports-condition> | <declaration> ] ) ]?<br> <fantasai> <media-query-list>? ;<br> <matthieud> fantasai: currently the order of trailing condition in @import is fixed<br> <astearns> ack chrishtr<br> <lea> +1 this seems pretty straightforward<br> <matthieud> fantasai: we resolved to adding @scope on @import already<br> <lea> more generally on this issue, I wish it were possible to simply nest @import in @scope rather than need to learn new syntax<br> <astearns> ack dbaron<br> <matthieud> dbaron: it seems that talking about reordering some of them are self explicit and media queries which are less isolated<br> <matthieud> dbaron: we have 2 options : allow reordering everything but the MQ part ; or even across the MQ<br> <matthieud> fantasai: no strong opinion<br> <matthieud> fantasai: but no technical issue with reordering everything<br> <matthieud> astearns: could we allow full reordering and open a following issue if there is an actual problem ?<br> <matthieud> dbaron: it's not a technical issue, but maybe it's gonna be more confusing for author<br> <matthieud> PROPOSED RESOLUTION: allow full reordering of all the current conditions on @import (MQ, scope, ...)<br> <matthieud> RESOLVED: allow full reordering of all the current conditions on @import (MQ, scope, ...)<br> <matthieud> chrishtr: we should also add scope condition on HTML link element<br> <matthieud> miriam: the proposal is adding a scope attribute which take the scope-prelude as argument ?<br> <matthieud> fantasai: new attribute specifically for scope or a generic attribute for condition ?<br> <fantasai> s/condition/parameters<br> <matthieud> miriam: there has been an issue in WHATWG about @layer should have its own attribute or not<br> <matthieud> miriam: whatever the answer, we should do the same for @scope<br> <bramus> https://github.com/whatwg/html/issues/7540 is the issue<br> <matthieud> PROPOSED RESOLUTION: the WG recommends having an attribute to enable @scope on the HTML link element<br> <matthieud> RESOLVED: the WG recommends having an attribute to enable @scope on the HTML link element<br> <futhark> present-<br> </details> -- GitHub Notification of comment by css-meeting-bot Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/7348#issuecomment-2377818033 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Thursday, 26 September 2024 19:56:24 UTC