/home/clopez/webkit/webkit/layout-test-results/fast/media/mq-resolution-actual.txt

1 CONSOLE MESSAGE: Consider using 'dppx' units instead of 'dpi', as in CSS 'dpi' means dots-per-CSS-inch, not dots-per-physical-inch, so does not correspond to the actual 'dpi' of a screen. In media query expression: (resolution: 216dpi)
2 CONSOLE MESSAGE: Consider using 'dppx' units instead of 'dpi', as in CSS 'dpi' means dots-per-CSS-inch, not dots-per-physical-inch, so does not correspond to the actual 'dpi' of a screen. In media query expression: (min-resolution: 216dpi)
3 CONSOLE MESSAGE: Consider using 'dppx' units instead of 'dpi', as in CSS 'dpi' means dots-per-CSS-inch, not dots-per-physical-inch, so does not correspond to the actual 'dpi' of a screen. In media query expression: (max-resolution: 216dpi)
4 CONSOLE MESSAGE: Consider using 'dppx' units instead of 'dpcm', as in CSS 'dpcm' means dots-per-CSS-centimeter, not dots-per-physical-centimeter, so does not correspond to the actual 'dpcm' of a screen. In media query expression: (resolution: 85dpcm)
5 CONSOLE MESSAGE: Consider using 'dppx' units instead of 'dpcm', as in CSS 'dpcm' means dots-per-CSS-centimeter, not dots-per-physical-centimeter, so does not correspond to the actual 'dpcm' of a screen. In media query expression: (min-resolution: 85dpcm)
6 CONSOLE MESSAGE: Consider using 'dppx' units instead of 'dpcm', as in CSS 'dpcm' means dots-per-CSS-centimeter, not dots-per-physical-centimeter, so does not correspond to the actual 'dpcm' of a screen. In media query expression: (max-resolution: 85dpcm)
7 CONSOLE MESSAGE: Consider using 'dppx' units instead of 'dpi', as in CSS 'dpi' means dots-per-CSS-inch, not dots-per-physical-inch, so does not correspond to the actual 'dpi' of a screen. In media query expression: (resolution: 216dpi)
8 CONSOLE MESSAGE: Consider using 'dppx' units instead of 'dpi', as in CSS 'dpi' means dots-per-CSS-inch, not dots-per-physical-inch, so does not correspond to the actual 'dpi' of a screen. In media query expression: (resolution: 254dpi)
9 CONSOLE MESSAGE: Consider using 'dppx' units instead of 'dpi', as in CSS 'dpi' means dots-per-CSS-inch, not dots-per-physical-inch, so does not correspond to the actual 'dpi' of a screen. In media query expression: (min-resolution: 216dpi)
10 CONSOLE MESSAGE: Consider using 'dppx' units instead of 'dpi', as in CSS 'dpi' means dots-per-CSS-inch, not dots-per-physical-inch, so does not correspond to the actual 'dpi' of a screen. In media query expression: (min-resolution: 254dpi)
11 CONSOLE MESSAGE: Consider using 'dppx' units instead of 'dpi', as in CSS 'dpi' means dots-per-CSS-inch, not dots-per-physical-inch, so does not correspond to the actual 'dpi' of a screen. In media query expression: (max-resolution: 216dpi)
12 CONSOLE MESSAGE: Consider using 'dppx' units instead of 'dpi', as in CSS 'dpi' means dots-per-CSS-inch, not dots-per-physical-inch, so does not correspond to the actual 'dpi' of a screen. In media query expression: (max-resolution: 254dpi)
13 CONSOLE MESSAGE: Consider using 'dppx' units instead of 'dpcm', as in CSS 'dpcm' means dots-per-CSS-centimeter, not dots-per-physical-centimeter, so does not correspond to the actual 'dpcm' of a screen. In media query expression: (resolution: 85dpcm)
14 CONSOLE MESSAGE: Consider using 'dppx' units instead of 'dpcm', as in CSS 'dpcm' means dots-per-CSS-centimeter, not dots-per-physical-centimeter, so does not correspond to the actual 'dpcm' of a screen. In media query expression: (resolution: 100dpcm)
15 CONSOLE MESSAGE: Consider using 'dppx' units instead of 'dpcm', as in CSS 'dpcm' means dots-per-CSS-centimeter, not dots-per-physical-centimeter, so does not correspond to the actual 'dpcm' of a screen. In media query expression: (min-resolution: 85dpcm)
16 CONSOLE MESSAGE: Consider using 'dppx' units instead of 'dpcm', as in CSS 'dpcm' means dots-per-CSS-centimeter, not dots-per-physical-centimeter, so does not correspond to the actual 'dpcm' of a screen. In media query expression: (min-resolution: 100dpcm)
17 CONSOLE MESSAGE: Consider using 'dppx' units instead of 'dpcm', as in CSS 'dpcm' means dots-per-CSS-centimeter, not dots-per-physical-centimeter, so does not correspond to the actual 'dpcm' of a screen. In media query expression: (max-resolution: 85dpcm)
18 CONSOLE MESSAGE: Consider using 'dppx' units instead of 'dpcm', as in CSS 'dpcm' means dots-per-CSS-centimeter, not dots-per-physical-centimeter, so does not correspond to the actual 'dpcm' of a screen. In media query expression: (max-resolution: 100dpcm)
19 CONSOLE MESSAGE: Consider using 'dppx' units instead of 'dpi', as in CSS 'dpi' means dots-per-CSS-inch, not dots-per-physical-inch, so does not correspond to the actual 'dpi' of a screen. In media query expression: (min-resolution: 300dpi)
20 CONSOLE MESSAGE: Consider using 'dppx' units instead of 'dpcm', as in CSS 'dpcm' means dots-per-CSS-centimeter, not dots-per-physical-centimeter, so does not correspond to the actual 'dpcm' of a screen. In media query expression: (min-resolution: 118dpcm)
211CSS3 media query test: resolution query with dppx. Using style element, @media css rule.
222
233On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".

266PASS matchMedia('(resolution: 0dpi)').matches is false
277PASS matchMedia('(min-resolution: 0dpi)').matches is false
288PASS matchMedia('(max-resolution: 0dpi)').matches is false
29 PASS matchMedia('(resolution: 1.5dppx)').matches is true
30 PASS resolutionFromStyle() is 1.5
31 PASS matchMedia('(resolution: 2dppx)').matches is true
32 PASS resolutionFromStyle() is 2
33 PASS matchMedia('(resolution: 1dppx)').matches is true
34 PASS resolutionFromStyle() is 1
35 PASS matchMedia('(resolution: 2.25dppx)').matches is true
36 PASS resolutionFromStyle() is 2.25
37 PASS matchMedia('(resolution)').matches is true
38 PASS matchMedia('(resolution: 216dpi)').matches is true
39 PASS matchMedia('(min-resolution: 216dpi)').matches is true
40 PASS matchMedia('(max-resolution: 216dpi)').matches is true
41 PASS matchMedia('(resolution: 85dpcm)').matches is true
42 PASS matchMedia('(min-resolution: 85dpcm)').matches is true
43 PASS matchMedia('(max-resolution: 85dpcm)').matches is true
44 PASS matchMedia('(resolution)').matches is false
45 PASS matchMedia('(resolution: 216dpi)').matches is false
46 PASS matchMedia('(resolution: 254dpi)').matches is false
47 PASS matchMedia('(min-resolution: 216dpi)').matches is true
48 PASS matchMedia('(min-resolution: 254dpi)').matches is false
49 PASS matchMedia('(max-resolution: 216dpi)').matches is false
50 PASS matchMedia('(max-resolution: 254dpi)').matches is true
51 PASS matchMedia('(resolution: 85dpcm)').matches is false
52 PASS matchMedia('(resolution: 100dpcm)').matches is false
53 PASS matchMedia('(min-resolution: 85dpcm)').matches is true
54 PASS matchMedia('(min-resolution: 100dpcm)').matches is false
55 PASS matchMedia('(max-resolution: 85dpcm)').matches is false
56 PASS matchMedia('(max-resolution: 100dpcm)').matches is true
57 PASS matchMedia('(min-resolution: 300dpi)').matches is true
58 PASS matchMedia('(min-resolution: 118dpcm)').matches is true
59 PASS resolutionFromStyle() is 3
60 PASS resolutionFromStyle() is 3.125
 9FAIL matchMedia('(resolution: 1.5dppx)').matches should be true. Was false.
 10FAIL resolutionFromStyle() should be 1.5 (of type number). Was undefined (of type undefined).
 11FAIL matchMedia('(resolution: 2dppx)').matches should be true. Was false.
 12FAIL resolutionFromStyle() should be 2 (of type number). Was undefined (of type undefined).
 13FAIL matchMedia('(resolution: 1dppx)').matches should be true. Was false.
 14FAIL resolutionFromStyle() should be 1 (of type number). Was undefined (of type undefined).
 15FAIL matchMedia('(resolution: 2.25dppx)').matches should be true. Was false.
 16FAIL resolutionFromStyle() should be 2.25 (of type number). Was undefined (of type undefined).
 17FAIL matchMedia('(resolution)').matches should be true. Was false.
 18FAIL matchMedia('(resolution: 216dpi)').matches should be true. Was false.
 19FAIL matchMedia('(min-resolution: 216dpi)').matches should be true. Was false.
 20FAIL matchMedia('(max-resolution: 216dpi)').matches should be true. Was false.
 21FAIL matchMedia('(resolution: 85dpcm)').matches should be true. Was false.
 22FAIL matchMedia('(min-resolution: 85dpcm)').matches should be true. Was false.
 23FAIL matchMedia('(max-resolution: 85dpcm)').matches should be true. Was false.
 24FAIL matchMedia('(min-resolution: 300dpi)').matches should be true. Was false.
 25FAIL matchMedia('(min-resolution: 118dpcm)').matches should be true. Was false.
 26FAIL resolutionFromStyle() should be 3 (of type number). Was undefined (of type undefined).
 27FAIL resolutionFromStyle() should be 3.125 (of type number). Was undefined (of type undefined).
6128PASS successfullyParsed is true
6229
6330TEST COMPLETE