Andrew Nacin
fe14a22e31
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 .
git-svn-id: https://develop.svn.wordpress.org/trunk@22629 602fd350-edb4-49c9-b593-d223f7449a82
2012-11-17 06:50:08 +00:00
..
2012-11-17 06:50:08 +00:00
2012-11-17 06:38:25 +00:00
2012-11-17 06:50:08 +00:00
2012-10-31 23:56:23 +00:00
2012-11-13 00:49:15 +00:00
2010-02-19 01:25:26 +00:00
2012-11-07 19:56:10 +00:00
2012-11-09 02:06:59 +00:00
2012-01-08 17:01:11 +00:00
2012-09-04 16:29:28 +00:00
2012-11-14 05:09:23 +00:00
2012-09-13 16:41:43 +00:00
2012-10-04 20:00:16 +00:00
2012-09-11 12:27:25 +00:00
2012-11-07 17:16:37 +00:00
2012-11-06 23:47:14 +00:00
2012-10-18 01:40:42 +00:00
2012-11-15 09:51:02 +00:00
2012-10-04 20:00:16 +00:00
2012-08-15 20:12:00 +00:00
2012-01-08 17:01:11 +00:00
2012-10-31 22:45:23 +00:00
2011-09-03 16:02:41 +00:00
2012-06-26 03:54:17 +00:00
2011-04-21 20:40:32 +00:00
2012-11-05 14:25:25 +00:00
2012-02-07 16:13:51 +00:00
2010-10-27 09:54:17 +00:00
2012-10-16 21:26:59 +00:00
2012-08-15 18:17:21 +00:00
2012-11-10 04:59:46 +00:00
2012-07-26 21:45:33 +00:00
2012-11-06 14:47:25 +00:00
2012-11-07 21:59:20 +00:00
2012-11-14 07:17:22 +00:00
2012-11-05 16:47:04 +00:00
2012-01-08 17:01:11 +00:00
2012-01-08 17:01:11 +00:00
2012-11-16 22:02:21 +00:00
2012-11-16 22:02:21 +00:00
2012-11-16 22:02:21 +00:00
2012-09-27 07:47:51 +00:00
2012-10-04 20:00:16 +00:00
2012-11-16 22:14:57 +00:00
2012-10-25 20:38:55 +00:00
2012-10-23 20:32:12 +00:00
2012-06-28 20:18:38 +00:00
2012-06-28 20:18:38 +00:00
2012-10-05 16:34:32 +00:00
2012-10-14 17:06:37 +00:00
2011-07-06 23:33:05 +00:00
2012-09-25 05:26:19 +00:00
2012-11-10 18:13:09 +00:00
2012-09-27 19:19:18 +00:00
2012-11-09 02:06:59 +00:00
2012-11-08 02:02:03 +00:00
2012-11-07 19:56:10 +00:00
2012-11-07 19:56:10 +00:00
2010-02-13 16:45:16 +00:00
2012-07-25 18:04:17 +00:00
2012-07-09 03:33:01 +00:00
2012-01-29 19:56:33 +00:00
2012-11-15 09:51:02 +00:00
2012-11-07 20:07:41 +00:00
2012-11-08 20:41:34 +00:00
2012-08-30 18:57:57 +00:00
2012-08-30 18:57:57 +00:00
2012-11-09 02:48:15 +00:00
2012-09-24 21:39:04 +00:00
2012-09-10 18:00:41 +00:00
2012-10-31 21:30:33 +00:00
2012-11-14 05:05:34 +00:00
2012-10-01 18:03:23 +00:00
2012-02-06 19:43:26 +00:00
2012-11-16 01:49:11 +00:00
2012-10-15 05:51:38 +00:00
2012-10-11 12:37:46 +00:00
2012-10-12 22:05:02 +00:00
2012-09-11 22:22:20 +00:00
2012-08-08 17:11:15 +00:00
2012-01-08 17:01:11 +00:00
2012-11-09 10:35:42 +00:00
2012-11-07 22:03:23 +00:00
2012-08-22 03:34:00 +00:00
2012-10-25 20:32:01 +00:00
2012-11-06 14:46:56 +00:00
2012-10-17 18:58:09 +00:00
2012-09-11 20:11:39 +00:00
2012-11-14 05:29:56 +00:00
2012-07-21 20:24:21 +00:00
2012-11-07 22:12:44 +00:00
2012-04-30 15:55:57 +00:00
2012-11-08 03:30:56 +00:00
2012-11-08 13:52:40 +00:00
2012-01-08 17:01:11 +00:00
2012-01-08 17:01:11 +00:00
2012-11-07 21:27:02 +00:00
2012-01-08 17:01:11 +00:00
2012-01-08 17:01:11 +00:00
2012-11-15 23:58:33 +00:00
2012-11-06 14:47:33 +00:00
2012-11-09 00:16:30 +00:00
2012-10-31 23:01:13 +00:00
2012-10-25 12:54:50 +00:00
2012-11-11 21:51:27 +00:00
2012-09-25 05:26:19 +00:00
2012-11-05 23:11:25 +00:00
2012-07-30 19:40:52 +00:00
2012-11-16 10:58:32 +00:00
2012-10-04 20:00:16 +00:00
2012-01-08 17:01:11 +00:00
2012-11-07 19:30:59 +00:00
2012-10-04 20:00:16 +00:00