[wp-trac] [WordPress Trac] #39073: Twenty Seventeen header image is compressed

WordPress Trac noreply at wordpress.org
Sun Dec 4 21:26:46 UTC 2016


#39073: Twenty Seventeen header image is compressed
-------------------------------------+--------------------
 Reporter:  dlh                      |       Owner:
     Type:  defect (bug)             |      Status:  new
 Priority:  normal                   |   Milestone:  4.7
Component:  Bundled Theme            |     Version:  trunk
 Severity:  normal                   |  Resolution:
 Keywords:  has-patch needs-testing  |     Focuses:
-------------------------------------+--------------------
Changes (by davidakennedy):

 * keywords:  has-patch => has-patch needs-testing


Comment:

 Thanks for the report @dlh!

 In [attachment:39073.2.patch], I fix the issue, which ultimately is a CSS
 specificity problem. I move the feature query below where it's applied in
 browsers that don't support feature queries or `object-fit` and apply the
 appropriate selector for the interior pages. The problem was that the
 rules had the same specificity, so this way, the cascade takes over.

 We still need the transforms and position changes for fallbacks in
 browsers that do not support `object-fit` and feature queries.

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


More information about the wp-trac mailing list