Skip to content

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

Open
@emilio

Description

@emilio

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>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 but that's fairly arbitrary as well.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions