Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[css-images-4] image-set() format() typo? Should be type()? #7803

Closed
foolip opened this issue Sep 28, 2022 · 2 comments · Fixed by #7806
Closed

[css-images-4] image-set() format() typo? Should be type()? #7803

foolip opened this issue Sep 28, 2022 · 2 comments · Fixed by #7806

Comments

@foolip
Copy link
Member

foolip commented Sep 28, 2022

https://w3c.github.io/csswg-drafts/css-images-4/#image-set-notation has this bit:

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?

@foolip 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
@cdoublev
Copy link
Collaborator

Reported in #7388.

@foolip
Copy link
Member Author

foolip commented Sep 28, 2022

OK, sent #7806 to fix it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants