- From: Axel Dahmen <brille1@hotmail.com>
- Date: Wed, 7 Jan 2015 03:18:45 +0100
- To: www-style@w3.org
In ยง 2.3 the dev version of the spec reads: "Every <image-set-option> in a
given image-set() must have a different <resolution>, or else the function
is invalid."
Shouldn't this be more forgiving? I mean, I don't see a reason why it
shouldn't be sufficient to but apply the first image of an image-set
matching a resolution precondition and ignore following images representing
the same resolution.
So, a CSS rule like this:
background-image: image-set("foo-600.png" 600dpi, "foo-301.png" 300dpi,
"foo-302.png" 300dpi, "foo-150.png" 150dpi);
would have image #1, #2 and #4 applied as appropriate, but image #3 would
but be ignored.
Wouldn't a more forgiving algorithm like this be more in the spirit of this
standard?
Axel
Received on Wednesday, 7 January 2015 02:20:26 UTC