Re: [csswg-drafts] [css-om][css-backgrounds] Serialization of `background: none` (#8496)

The CSS Working Group just discussed ``[css-om][css-backgrounds] Serialization of `background: none` ``, and agreed to the following:

* ``RESOLVED: Move color at the end of the final-bg-layer grammar, to make it serialize as `none` ``

<details><summary>The full IRC log of that discussion</summary>
&lt;emilio> TabAtkins: question is how does `background: none` serialize. Using shortest serialization and grammar is unclear<br>
&lt;emilio> ... because if you only specify one layer it matches final-background-layer and image-layer<br>
&lt;emilio> ... and since color is the first in the final-background-layer safari they serialize transparent<br>
&lt;emilio> ... other browsers serialize none<br>
&lt;emilio> ... proposal is to move color to the end of final-bg-layer<br>
&lt;emilio> ... which makes it serialize as none<br>
&lt;emilio> fantasai: I think it's great because it moves color to the end<br>
&lt;emilio> ... which makes sense because it's at the bottom<br>
&lt;emilio> RESOLVED: Move color at the end of the final-bg-layer grammar, to make it serialize as `none`<br>
</details>


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


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

Received on Wednesday, 8 March 2023 18:01:13 UTC