[wp-trac] [WordPress Trac] #30782: Caption shortcode adds inline width style

WordPress Trac noreply at wordpress.org
Fri May 12 19:34:38 UTC 2017


#30782: Caption shortcode adds inline width style
--------------------------+-------------------------
 Reporter:  philbuchanan  |       Owner:
     Type:  enhancement   |      Status:  closed
 Priority:  normal        |   Milestone:
Component:  Media         |     Version:  3.7
 Severity:  normal        |  Resolution:  maybelater
 Keywords:                |     Focuses:
--------------------------+-------------------------

Comment (by mor10):

 A new reason to get rid of the inline style, or at the very least allow
 theme authors to filter it out easily:

 When using CSS Grid for layouts, the inline rule forces the cell holding
 the element to retain the full width of the inline rule. This cannot be
 overridden using regular CSS rules and breaks layouts using CSS Grid. As
 such this non-standard inclusion actively breaks modern layout modules and
 techniques.

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


More information about the wp-trac mailing list