[wp-trac] [WordPress Trac] #50367: Avoid layout shifting due to images not having dimension attributes

WordPress Trac noreply at wordpress.org
Tue Jun 30 20:25:06 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 flixos90):

 * status:  closed => reopened
 * resolution:  fixed =>


Comment:

 Based on https://github.com/WordPress/wordpress-
 develop/pull/358#pullrequestreview-438654395, we removed support for
 single quotes - however, due to scenarios like
 https://core.trac.wordpress.org/ticket/44427#comment:100, we should still
 only modify `img` tags that use double quotes.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/50367#comment:23>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list