[wp-trac] [WordPress Trac] #38872: Twenty Seventeen: Images in a Gallery within a post or page show different sizes in IE11

WordPress Trac noreply at wordpress.org
Sat Nov 19 17:37:52 UTC 2016


#38872: Twenty Seventeen: Images in a Gallery within a post or page show different
sizes in IE11
-----------------------------+------------------------------
 Reporter:  transl8or        |       Owner:
     Type:  defect (bug)     |      Status:  new
 Priority:  normal           |   Milestone:  Awaiting Review
Component:  Bundled Theme    |     Version:  trunk
 Severity:  normal           |  Resolution:
 Keywords:  has-screenshots  |     Focuses:  ui
-----------------------------+------------------------------
Changes (by afercia):

 * keywords:   => has-screenshots


Comment:

 Additional step to reproduce for me: set the gallery images size to a
 value other than "thumbnail".

 Seems IE 11 can't calculate `max-width` when the element's parent is set
 to `display: inline-block` without an explicit size, which makes sense
 since when an inline-block element width is not set, it depends on the
 children. See https://www.w3.org/TR/CSS21/visudet.html#inlineblock-width

 I guess other browsers check the grand parents size too.
 /cc @davidakennedy

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


More information about the wp-trac mailing list