Re: [csswg-drafts] [css-cascade-7] What happens with duplicate @sheet identifiers? (#12001)

The CSS Working Group just discussed `[css-cascade-7] What happens with duplicate @sheet identifiers?`, and agreed to the following:

* `RESOLVED: WHere @sheet names conflict, the last one delcared wins`

<details><summary>The full IRC log of that discussion</summary>
&lt;emeyer> kurt: Yet another @layer divergence, which I used as imspiration for @sheets<br>
&lt;emeyer> …In @layer, duplicate names cause rules to be merged, but here this is up for interpretation<br>
&lt;TabAtkins> q+<br>
&lt;emeyer> …Other name-defining rules are, last one wins, and I think that makes sense here<br>
&lt;emeyer> TabAtkins: I agree with the points in the thread<br>
&lt;astearns> ack TabAtkins<br>
&lt;emeyer> …@layer is setting an aspect of specificity, and not an independent construct<br>
&lt;emeyer> …@sheet does create a construct, and thus last shoudl win<br>
&lt;emeyer> astearns: Is that okay with you?<br>
&lt;emeyer> kurt: Yes<br>
&lt;bramus> (I’m undecided on it)<br>
&lt;emeyer> astearns: So @sheet conflicts go with last-defined wins<br>
&lt;emeyer> bramus: I’m just not sure which way this should swing, but Tab makes a good point<br>
&lt;emeyer> astearns: So your concern is more why @layer does this?<br>
&lt;emeyer> bramus: More that if @layer does this, why doesn’t @sheet? Authors might not see the technical different underneath the two things<br>
&lt;emeyer> astearns: How about a resolution to have @sheet use last-definition-wins for now, without prejudice; we can raise again later if the need arises<br>
&lt;emeyer> …Any objections?<br>
&lt;emeyer> (silence)<br>
&lt;kurt> https://github.com/w3c/csswg-drafts/pull/11980<br>
&lt;emeyer> RESOLVED: WHere @sheet names conflict, the last one delcared wins<br>
&lt;emeyer> kurt: Feedback welcome on #11980 as well<br>
&lt;kurt> Formatted version here: https://kurtcattischmidt.github.io/kurtspublishedw3cdrafts/AtSheet.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/12001#issuecomment-2775907098 using your GitHub account


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

Received on Thursday, 3 April 2025 14:04:24 UTC