[wp-trac] [WordPress Trac] #35657: Image height calculation not always available on body.load

WordPress Trac noreply at wordpress.org
Sat May 14 15:48:19 UTC 2016


#35657: Image height calculation not always available on body.load
---------------------------------------+--------------------
 Reporter:  jipmoors                   |       Owner:
     Type:  defect (bug)               |      Status:  new
 Priority:  normal                     |   Milestone:  4.6
Component:  Embeds                     |     Version:  4.4.1
 Severity:  normal                     |  Resolution:
 Keywords:  needs-patch needs-testing  |     Focuses:
---------------------------------------+--------------------
Changes (by swissspidy):

 * keywords:   => needs-patch needs-testing
 * focuses:  javascript =>
 * milestone:  Awaiting Review => 4.6


Comment:

 Seems like removing the `height: auto` part would resolve the issue,
 though I'm not sure if it'll introduce other bugs, e.g. with rounding
 errors when resizing the image.

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


More information about the wp-trac mailing list