Re: [csswg-drafts] [css-images] Define what happens when all image-set options are invalid (#8266)

I think we should choose not to load any image if there are no options remaining after filtering by type.

>If the [[\<string\>]](https://www.w3.org/TR/css-values-4/#string-value), when parsed as a [valid MIME type string](https://mimesniff.spec.whatwg.org/#valid-mime-type), is either not valid, or is valid but doesn’t specify a supported image format, the [[\<image-set-option\>]](https://w3c.github.io/csswg-drafts/css-images-4/#typedef-image-set-option) does not define a valid option. (This has no effect on the validity of the [image-set()](https://w3c.github.io/csswg-drafts/css-images-4/#funcdef-image-set) function.)

Since the MIME type string doesn't determine whether or not the `image-set` function itself is valid we shouldn't fall back to a previous value for the property.

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


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

Received on Friday, 17 February 2023 20:18:37 UTC