[wp-trac] [WordPress Trac] #22238: HiDPI support for non-webkit browsers

WordPress Trac noreply at wordpress.org
Sat Nov 17 06:50:09 UTC 2012


#22238: HiDPI support for non-webkit browsers
------------------------------+---------------------
 Reporter:  dd32              |       Owner:  nacin
     Type:  enhancement       |      Status:  closed
 Priority:  normal            |   Milestone:  3.5
Component:  Administration    |     Version:  trunk
 Severity:  normal            |  Resolution:  fixed
 Keywords:  has-patch commit  |
------------------------------+---------------------
Changes (by nacin):

 * owner:   => nacin
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"22629"]:
 {{{
 #!CommitTicketReference repository="" revision="22629"
 Introduce a new, cross-browser HiDPI CSS @media rule to be used
 everywhere.

 {{{
 @media print,
   (-o-min-device-pixel-ratio: 5/4),
   (-webkit-min-device-pixel-ratio: 1.25),
   (min-resolution: 120dpi) {
 }}}

 Serve HiDPI graphics for printing, regardless of screen resolution.

 Specify Opera's vendor-prefixed device pixel ratio property, for Opera
 desktop.

 Specify a minimum Webkit device pixel ratio of 1.25 instead of 1.5, to
 serve
 2x images to Android devices that are between 1 and 1.5x (like the Nexus
 7).
 Firefox and Opera will respond to 1.5x on these devices, but Chrome will
 not.

 Specify min-resolution, which covers Firefox 19. Opera on Android also
 supports
 min-resolution, but Opera Mini does not support dppx, so the dpi unit is
 used.

 props iammattthomas for the exhaustive research.
 props lessbloat for patching.

 fixes #22238.
 }}}

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


More information about the wp-trac mailing list