[wp-trac] [WordPress Trac] #38395: Twenty Seventeen: iPad mini: Images on the front page badly pixelated

WordPress Trac noreply at wordpress.org
Fri Nov 18 20:10:20 UTC 2016


#38395: Twenty Seventeen: iPad mini: Images on the front page badly pixelated
-------------------------------------+----------------------------
 Reporter:  alex27                   |       Owner:  laurelfulford
     Type:  defect (bug)             |      Status:  closed
 Priority:  normal                   |   Milestone:  4.7
Component:  Bundled Theme            |     Version:
 Severity:  normal                   |  Resolution:  fixed
 Keywords:  has-patch needs-testing  |     Focuses:
-------------------------------------+----------------------------
Changes (by davidakennedy):

 * status:  reopened => closed
 * resolution:   => fixed


Comment:

 In [changeset:"39297"]:
 {{{
 #!CommitTicketReference repository="" revision="39297"
 Twenty Seventeen: Adds `background-attachment: fixed;` to devices that
 should support it

 iOS  disables this feature under the hood, but it also distorts the images
 – unlike other mobile devices that don't support it. So this adds a  check
 for both `background-attachment: fixed` support or whether it’s an iOS
 device - passing it adds the class `background-fixed` which is used to add
 the proper styles.

 It also lowers the media query so the parallax-like style is present on a
 wider range of screens since this bug can be better targeted and avoided.
 In this way, screens that aren't the offending devices aren't punished
 merely based on screen size.

 Props joemcgill, laurelfulford, helen.

 Fixes #38395.
 }}}

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


More information about the wp-trac mailing list