[wp-trac] [WordPress Trac] #50367: Avoid layout shifting due to images not having dimension attributes
WordPress Trac
noreply at wordpress.org
Thu Jun 25 20:10:25 UTC 2020
#50367: Avoid layout shifting due to images not having dimension attributes
-------------------------------------------------+-------------------------
Reporter: flixos90 | Owner: flixos90
Type: defect (bug) | Status: reopened
Priority: normal | Milestone: 5.5
Component: Media | Version:
Severity: normal | Resolution:
Keywords: needs-unit-tests needs-patch needs- | Focuses:
testing |
-------------------------------------------------+-------------------------
Comment (by azaozz):
Looking further, there doesn't seem to be a way for a plugin or a theme to
disable auto-adding of width and height attributes to img tags. Perhaps at
least a `true/false` filter would be good?
--
Ticket URL: <https://core.trac.wordpress.org/ticket/50367#comment:13>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list