[wp-trac] [WordPress Trac] #30201: img_caption_shortcode_width should support percentage widths

WordPress Trac noreply at wordpress.org
Mon Jan 5 22:34:28 UTC 2015


#30201: img_caption_shortcode_width should support percentage widths
-------------------------------------------------+-------------------------
 Reporter:  danielbachhuber                      |       Owner:
     Type:  enhancement                          |      Status:  new
 Priority:  normal                               |   Milestone:  Future
Component:  Media                                |  Release
 Severity:  normal                               |     Version:
 Keywords:  good-first-bug has-patch needs-      |  Resolution:
  testing close                                  |     Focuses:
-------------------------------------------------+-------------------------
Changes (by azaozz):

 * keywords:  good-first-bug has-patch needs-testing dev-feedback => good-
     first-bug has-patch needs-testing close


Comment:

 Replying to [comment:9 danielbachhuber]:

 There is no good way to use default percentage width without also setting
 min and max width. It will also force scaling of the image, possibly up-
 scaling.

 Thinking this is best left for the theme to implement. I know it is an
 `!important` rule, but probably warranted here. Suggesting wontfix.

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


More information about the wp-trac mailing list