[wp-trac] [WordPress Trac] #43123: Default captions should NOT use max-width

WordPress Trac noreply at wordpress.org
Thu Jan 18 19:47:31 UTC 2018


#43123: Default captions should NOT use max-width
--------------------------+------------------------------
 Reporter:  smerriman     |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Media         |     Version:  4.9
 Severity:  normal        |  Resolution:
 Keywords:                |     Focuses:
--------------------------+------------------------------

Comment (by smerriman):

 No, that doesn't work at all, since then you lose the original width
 entirely. A small floated image (less than 50%) with a long caption would
 now have the caption extending past the edge of the image.

 Sure, you can probably work aroudn it by switching things around so the
 CSS declaration now contains width:50%, so both work in conjunction again;
 but a) that means now having to treat captioned and non-captioned images
 differently, b) that still means needing to edit every single theme
 created in the past.

 Captions are such a fundamental part of WordPress, and as I mentioned
 caused no issues whatever with flexible layouts, that this simply will
 break too many old themes for no benefit at all.

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


More information about the wp-trac mailing list