[wp-trac] [WordPress Trac] #62233: New img sizes=auto attribute appears to break HTML validation at w3.org
WordPress Trac
noreply at wordpress.org
Tue Oct 15 22:05:31 UTC 2024
#62233: New img sizes=auto attribute appears to break HTML validation at w3.org
--------------------------+--------------------------
Reporter: oldrup | Owner: joemcgill
Type: defect (bug) | Status: reviewing
Priority: normal | Milestone: 6.7
Component: General | Version:
Severity: minor | Resolution:
Keywords: | Focuses: performance
--------------------------+--------------------------
Changes (by joemcgill):
* owner: (none) => joemcgill
* status: new => reviewing
* focuses: => performance
* milestone: Awaiting Review => 6.7
Comment:
Thanks for the report, @oldrup. As you mention, `sizes="auto"` is a
relatively new addition to the HTML spec, and already has
[https://caniuse.com/mdn-html_elements_img_sizes_auto pretty good browser
support], so I suspect that this is a bug with the validator that will
need to be updated, but we should look into it to be sure.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/62233#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list