Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(508)

Side by Side Diff: LayoutTests/fast/media/mq-resolution-expected.txt

Issue 14408004: Fix incorrect evaluation of resolution media queries (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 7 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 CONSOLE MESSAGE: Consider using 'dppx' units instead of 'dpi', as in CSS 'dpi' m eans dots-per-CSS-inch, not dots-per-physical-inch, so does not correspond to th e actual 'dpi' of a screen. In media query expression: (resolution: 216dpi) 1 CONSOLE MESSAGE: Consider using 'dppx' units instead of 'dpi', as in CSS 'dpi' m eans dots-per-CSS-inch, not dots-per-physical-inch, so does not correspond to th e 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' m eans dots-per-CSS-inch, not dots-per-physical-inch, so does not correspond to th e actual 'dpi' of a screen. In media query expression: (min-resolution: 216dpi) 2 CONSOLE MESSAGE: Consider using 'dppx' units instead of 'dpi', as in CSS 'dpi' m eans dots-per-CSS-inch, not dots-per-physical-inch, so does not correspond to th e 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' m eans dots-per-CSS-inch, not dots-per-physical-inch, so does not correspond to th e actual 'dpi' of a screen. In media query expression: (max-resolution: 216dpi) 3 CONSOLE MESSAGE: Consider using 'dppx' units instead of 'dpi', as in CSS 'dpi' m eans dots-per-CSS-inch, not dots-per-physical-inch, so does not correspond to th e 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 co rrespond to the actual 'dpcm' of a screen. In media query expression: (resolutio n: 85dpcm) 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 co rrespond to the actual 'dpcm' of a screen. In media query expression: (resolutio n: 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 co rrespond to the actual 'dpcm' of a screen. In media query expression: (min-resol ution: 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 co rrespond to the actual 'dpcm' of a screen. In media query expression: (min-resol ution: 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 co rrespond to the actual 'dpcm' of a screen. In media query expression: (max-resol ution: 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 co rrespond to the actual 'dpcm' of a screen. In media query expression: (max-resol ution: 85dpcm)
7 CONSOLE MESSAGE: Consider using 'dppx' units instead of 'dpi', as in CSS 'dpi' m eans dots-per-CSS-inch, not dots-per-physical-inch, so does not correspond to th e actual 'dpi' of a screen. In media query expression: (resolution: 216dpi) 7 CONSOLE MESSAGE: Consider using 'dppx' units instead of 'dpi', as in CSS 'dpi' m eans dots-per-CSS-inch, not dots-per-physical-inch, so does not correspond to th e 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' m eans dots-per-CSS-inch, not dots-per-physical-inch, so does not correspond to th e actual 'dpi' of a screen. In media query expression: (resolution: 254dpi) 8 CONSOLE MESSAGE: Consider using 'dppx' units instead of 'dpi', as in CSS 'dpi' m eans dots-per-CSS-inch, not dots-per-physical-inch, so does not correspond to th e 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' m eans dots-per-CSS-inch, not dots-per-physical-inch, so does not correspond to th e actual 'dpi' of a screen. In media query expression: (min-resolution: 216dpi) 9 CONSOLE MESSAGE: Consider using 'dppx' units instead of 'dpi', as in CSS 'dpi' m eans dots-per-CSS-inch, not dots-per-physical-inch, so does not correspond to th e 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' m eans dots-per-CSS-inch, not dots-per-physical-inch, so does not correspond to th e actual 'dpi' of a screen. In media query expression: (min-resolution: 254dpi) 10 CONSOLE MESSAGE: Consider using 'dppx' units instead of 'dpi', as in CSS 'dpi' m eans dots-per-CSS-inch, not dots-per-physical-inch, so does not correspond to th e actual 'dpi' of a screen. In media query expression: (min-resolution: 254dpi)
(...skipping 23 matching lines...) Expand all
34 PASS resolutionFromStyle() is 1 34 PASS resolutionFromStyle() is 1
35 PASS matchMedia('(resolution: 2.25dppx)').matches is true 35 PASS matchMedia('(resolution: 2.25dppx)').matches is true
36 PASS resolutionFromStyle() is 2.25 36 PASS resolutionFromStyle() is 2.25
37 PASS matchMedia('(resolution)').matches is true 37 PASS matchMedia('(resolution)').matches is true
38 PASS matchMedia('(resolution: 216dpi)').matches is true 38 PASS matchMedia('(resolution: 216dpi)').matches is true
39 PASS matchMedia('(min-resolution: 216dpi)').matches is true 39 PASS matchMedia('(min-resolution: 216dpi)').matches is true
40 PASS matchMedia('(max-resolution: 216dpi)').matches is true 40 PASS matchMedia('(max-resolution: 216dpi)').matches is true
41 PASS matchMedia('(resolution: 85dpcm)').matches is true 41 PASS matchMedia('(resolution: 85dpcm)').matches is true
42 PASS matchMedia('(min-resolution: 85dpcm)').matches is true 42 PASS matchMedia('(min-resolution: 85dpcm)').matches is true
43 PASS matchMedia('(max-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 44 PASS matchMedia('(min-resolution: 300dpi)').matches is true
58 PASS matchMedia('(min-resolution: 118dpcm)').matches is true 45 PASS matchMedia('(min-resolution: 118dpcm)').matches is true
59 PASS resolutionFromStyle() is 3 46 PASS resolutionFromStyle() is 3
60 PASS resolutionFromStyle() is 3.125 47 PASS resolutionFromStyle() is 3.125
61 PASS successfullyParsed is true 48 PASS successfullyParsed is true
62 49
63 TEST COMPLETE 50 TEST COMPLETE
64 51
OLDNEW
« no previous file with comments | « LayoutTests/fast/media/mq-resolution.html ('k') | LayoutTests/fast/media/w3c/test_media_queries-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698