-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
Allow min() and max() in <img sizes=""> #3003
Comments
Yes, it should now specify that it only allows "math functions". |
I'm going to submit a pull request soon to address this issue. |
@gloverdonovan oops, we already have one: #3084. The main problem is that we don't have tests yet. |
Haha, I just completely skipped over all the references in this issue. Is there any way I can help with the tests? |
@gloverdonovan yeah, if you're interested in writing them that'd help a lot. I don't think anyone has started on them yet. I guess some tests need to be added to https://github.com/w3c/web-platform-tests/tree/master/html/semantics/embedded-content/the-img-element/sizes at least. |
https://html.spec.whatwg.org/multipage/images.html#sizes-attributes
See w3c/csswg-drafts@371d0a1
Related: #2973 (comment)
The text was updated successfully, but these errors were encountered: