-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Track support for newly added spec: Dimensions (width/height) in <source> tags #5791
Comments
I love how I randomly stumbled on this issue and got an 🤯 when I found out dimensions attributes are now supported in Chrome 90. Just waiting on Safari... |
@patricknelson, @scott-thrillist: Does Safari support it, too, now (in 2022)? |
Not sure right at this moment, but one quick way to test this would be to load up the web platform test suite. Found this test which might make it easy to validate: https://github.com/web-platform-tests/wpt/blob/master/html/rendering/replaced-elements/attributes-for-embedded-content-and-images/picture-aspect-ratio.html Docs on how to load it up in the browser: http://web-platform-tests.org/running-tests/from-local-system.html#via-the-browser |
@strarsis - I tested this myself, and this seems to work in Safari 15.2, just waiting for more official confirmation and timing. |
And once y'all find out, please cc that information here too. Ideally, this would be documented in the developer's Bible of Compatibility (caniuse.com) 😄 |
@patricknelson it looks like it went out in Safari 15 which contained Tech Preview 128 (referenced at the bottom) |
I feel like this is already documented, it just wasn't obvious it was for aspect-ratio.. |
Thanks @hecktarzuli! I'll update the issue description to link to both width/height. Thankfully it appears if you happen to look for I think it's probably fine but maybe there's a way to expand it so it is slightly easier to find? 🤔 Might close now though since at least it is visible now on the caniuse.com site. |
@patricknelson i was just expecting something more like this (below) |
Same here @hecktarzuli, that's how I would have originally found this (i.e. searching something like |
Positioned to ship in Firefox 106: https://bugzilla.mozilla.org/show_bug.cgi?id=1694741#c23
|
@Schweinepriester it looks like it may be in 108 now. |
Ok, looks like this is now documented 🚀. It's under |
Can we start tracking support for dimensions (width/height) in
<source>
tags? This was just recently added to the living HTML standard here:https://html.spec.whatwg.org/multipage/embedded-content.html#the-source-element
Via:
whatwg/html#4968
whatwg/html#5894
Example:
EDIT (May 6, 2022): Looks like this is available now on caniuse.com under the following two separate entries:
The text was updated successfully, but these errors were encountered: