- From: 一丝 via GitHub <sysbot+gh@w3.org>
- Date: Tue, 30 Aug 2022 04:43:27 +0000
- To: public-css-archive@w3.org
yisibl has just created a new issue for https://github.com/w3c/csswg-drafts: == [css-images] simplify the syntax of `image-set()` == https://drafts.csswg.org/css-images-4/#image-set-notation ``` image-set() = image-set( <image-set-option># ) <image-set-option> = [ <image> | <string> ] [ <resolution> || type(<string>) ] <image> = <url> | <image()> | <image-set()> | <cross-fade()> | <element()> | <gradient> ``` Here it is allowed to nest image-set() within image-set(), I don't know what the actual scenario of this is, do we need such a complex image adaptation? This behavior is currently implemented in [Firefox](https://bugzilla.mozilla.org/show_bug.cgi?id=1698133): cc @emilio ```css body { background-image: image-set( image-set( image-set( image-set( linear-gradient(green, green) 1x ) ) ) , linear-gradient(red, red) 1x ); } ``` Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/7662 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Tuesday, 30 August 2022 04:43:29 UTC