[wp-trac] [WordPress Trac] #21019: Retina All the Things

WordPress Trac wp-trac at lists.automattic.com
Sun Aug 5 20:43:33 UTC 2012


#21019: Retina All the Things
----------------------------+------------------
 Reporter:  matt            |       Owner:
     Type:  task (blessed)  |      Status:  new
 Priority:  normal          |   Milestone:  3.5
Component:  Administration  |     Version:  3.4
 Severity:  normal          |  Resolution:
 Keywords:                  |
----------------------------+------------------

Comment (by taylorde):

 Replying to [comment:80 azaozz]:
 > There is an good article on this: http://www.w3.org/blog/CSS/2012/06/14
 /unprefix-webkit-device-pixel-ratio/
 Oh, good article. So yes, the unprefixed version uses min-resolution. That
 same article suggests that for pixel ratios < 2 there are some
 inconsistent implementations and offers the dppx unit instead. i.e. this:


 {{{
 @media (-webkit-min-device-pixel-ratio: 1.5), /* Webkit */
        (min-resolution: 1.5dppx)              /* The Future */
 ...
 }

 }}}

 Thoughts on using dppx vs. dpi?

 > True, but the retina background images have to match exactly 2x the non-
 retina backgrounds, or the positions will shift.
 I think all of the incoming 2x graphics are exactly 2x, but I could be
 more explicit to avoid any issues. Thanks!

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/21019#comment:81>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list