Re: [csswg-drafts] [css-background-4] add background-layers property to set everything but background-color (#8726)

> It's changing the mental model of how background works by introducing the idea that background has a primary base which is a colour and then everything else on top

But that's precisely how the current model works, see https://drafts.csswg.org/css-backgrounds-3/#background-color

> This property sets the background color of an element. The color is drawn behind any background images.

Your example with `background: red, url("image.png") no-repeat right top;` is precisely invalid syntax because `red` is not in the last layer.

-- 
GitHub Notification of comment by Loirooriol
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/8726#issuecomment-1564725367 using your GitHub account


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

Received on Friday, 26 May 2023 17:49:39 UTC