[wp-trac] [WordPress Trac] #39035: Twenty Seventeen: Header media (images and video) appear zoomed in

WordPress Trac noreply at wordpress.org
Sat Dec 3 19:37:53 UTC 2016


#39035: Twenty Seventeen: Header media (images and video) appear zoomed in
---------------------------+----------------------------
 Reporter:  laurelfulford  |       Owner:  davidakennedy
     Type:  defect (bug)   |      Status:  assigned
 Priority:  normal         |   Milestone:  4.7
Component:  Bundled Theme  |     Version:  trunk
 Severity:  normal         |  Resolution:
 Keywords:  has-patch      |     Focuses:
---------------------------+----------------------------
Changes (by joemcgill):

 * keywords:  needs-patch => has-patch


Comment:

 I really like the idea of using `@supports` in this case. Browser support
 for CSS `@supports` is quite good, particularly when compared with
 `object-fit`. Using this feature in a default theme potentially exposes it
 to a number of theme developers as a way to do support checks without
 adding additional JS feature tests.

 If we go either of the directions proposed in [attachment:39035.0.patch]
 or [attachment:39035.2.diff], we should still think of ways to avoid
 unnecessary zooming for browsers without support for `object-fit: cover`.

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


More information about the wp-trac mailing list