[wp-trac] [WordPress Trac] #36318: Twenty Fifteen: Custom logo can be distorted unexpectedly

WordPress Trac noreply at wordpress.org
Thu Mar 24 04:39:50 UTC 2016


#36318: Twenty Fifteen: Custom logo can be distorted unexpectedly
--------------------------+--------------------
 Reporter:  iamtakashi    |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  4.5
Component:  Customize     |     Version:  trunk
 Severity:  normal        |  Resolution:
 Keywords:  needs-patch   |     Focuses:
--------------------------+--------------------
Changes (by celloexpressions):

 * keywords:  has-patch => needs-patch
 * component:  Bundled Theme => Customize


Comment:

 I think this is a core bug. If flex-height is true and flex width isn't,
 any aspect ratio should be allowed including square. The fixed width
 results in an image that's the appropriate width for the container
 (controlling size but not aspect ratio in this case). The cropper should
 never stretch an image as is happening here. Instead, if the image is too
 large but otherwise the crop isn't changed it should only be resized,
 proportionally in both directions.

 The current usage in Twenty Fifteen is correct for its use-case, but the
 Customizer is not handling these arguments correctly.

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


More information about the wp-trac mailing list