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

emilio has just created a new issue for https://github.com/w3c/csswg-drafts:

== [css-images] Define what happens when all image-set options are invalid ==
https://drafts.csswg.org/css-images-4/#image-set-notation says:

> First, remove any <image-set-option>s from the list that specify an unknown or unsupported MIME type in their type() value.
> [...]
> Finally, among the remaining [<image-set-option>](https://drafts.csswg.org/css-images-4/#typedef-image-set-option)s, make a UA-specific choice of which to load, based on whatever criteria deemed relevant (such as the resolution of the display, connection speed, etc).

What if there are no remaining options? Firefox chooses just the first [here](https://searchfox.org/mozilla-central/rev/8fd39dc89c68501a354446a8681ec8263d15e5aa/servo/components/style/values/computed/image.rs#84) but that's fairly arbitrary as well.

Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/8266 using your GitHub account


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

Received on Thursday, 29 December 2022 20:50:00 UTC