Re: [csswg-drafts] [mediaqueries-4][css-cascade-5] Restrict 'layer' from the <media-type> production? (#7225)

The CSS Working Group just discussed `[mediaqueries-4][css-cascade-5] Restrict 'layer' from the <media-type> production?`, and agreed to the following:

* `RESOLVED: In all levels of MQ we will make 'layer' syntactically invalid media type`

<details><summary>The full IRC log of that discussion</summary>
&lt;dael> Topic: [mediaqueries-4][css-cascade-5] Restrict 'layer' from the &lt;media-type> production?<br>
&lt;dael> github: https://github.com/w3c/csswg-drafts/issues/7225<br>
&lt;dael> florian: We have a syntax ambig. When you do @import if you write @import &lt;url> layer it could either mean import layer or it could be a MQ for a media type called layer<br>
&lt;dael> florian: TabAtkins suggests in MQ 4 spec we declare layer cannot be a media type so if you try and parse that way it's a syntax error. When used in MQ it wouldn't work and when in @import it's a layer<br>
&lt;dael> florian: Mostly doesn't change anything b/c layer isn't a valid media type and is not proposed. Error handling is slightly different. if you do @media not-layer it would handle differently. unlikely this is being done<br>
&lt;dael> florian: I think TabAtkins suggestion is good and we should go for it<br>
&lt;dael> Rossen_: Process question- MQ 4 is a CRD. How close are we...would that reset anything in terms of MQ 4 process?<br>
&lt;Rossen_> q?<br>
&lt;dael> florian: I don't think it would. MQ 4 is largely waiting on test and impl. It's not really a new feature, it's error handling. Adding it to 5 would make 5 incompat with 4 and we'd have to patch 4 eventually.<br>
&lt;dael> florian: Poss errata MQ 3<br>
&lt;dael> Rossen_: Yeah, do we need to?<br>
&lt;dael> florian: Probably in ED at first, let it sit to make sure we don't change our mind, then include as a prop correction<br>
&lt;dael> Rossen_: Sounds good. Let's proceed with MQ 4<br>
&lt;dael> Rossen_: Additional suggestions or ideas?<br>
&lt;dael> Rossen_: TabAtkins is trying to join<br>
&lt;dael> florian: We're taking his proposal anyway<br>
&lt;TabAtkins> yeah, no need to comment<br>
&lt;dael> Rossen_: Not hearing anything else<br>
&lt;dael> florian: Prop: In all levels of MQ we will make 'layer' syntactically invalid media type<br>
&lt;dael> Rossen_: Obj?<br>
&lt;dael> RESOLVED: In all levels of MQ we will make 'layer' syntactically invalid media type<br>
&lt;dael> Rossen_: We'll worry about errata later<br>
&lt;dael> florian: I'll put in the ED for now<br>
</details>


-- 
GitHub Notification of comment by css-meeting-bot
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/7225#issuecomment-1118015966 using your GitHub account


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

Received on Wednesday, 4 May 2022 23:12:35 UTC