You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It does not have any effect on the image itself; an <image-set-option> like url("picture.png") 1x format("image/jpeg") is valid, and if chosen will display the linked PNG image, even though it was declared to be a JPEG.
Should that format("image/jpeg") be type("image/jpeg"), matching the syntax?
The text was updated successfully, but these errors were encountered:
foolip
changed the title
[css-images-4] image-set() format() typo? Should be type()
[css-images-4] image-set() format() typo? Should be type()?
Sep 28, 2022
https://w3c.github.io/csswg-drafts/css-images-4/#image-set-notation has this bit:
Should that
format("image/jpeg")
betype("image/jpeg")
, matching the syntax?The text was updated successfully, but these errors were encountered: