[wp-trac] [WordPress Trac] #50367: Avoid layout shifting due to images not having dimension attributes
WordPress Trac
noreply at wordpress.org
Thu Jun 25 21:58:34 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-testing has-patch has-unit- | Focuses:
tests needs-dev-note |
-------------------------------------------------+-------------------------
Changes (by joemcgill):
* keywords: needs-testing has-patch has-unit-tests => needs-testing has-
patch has-unit-tests needs-dev-note
Comment:
Related: https://github.com/WordPress/gutenberg/issues/6652
Nice to see this being addressed, but I'm curious about the decision to
couple this with the `srcset`/`sizes` functionality since I would assume
you would want this behavior even if someone had disabled core's
responsive image handling.
This definitely should get a dev note.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/50367#comment:17>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list