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

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

Issue 58533003: Move fast/js/resources files to resources. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 1 month 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 | Annotate | Revision Log
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <html> 2 <html>
3 <body> 3 <body>
4 <script src="../js/resources/js-test-pre.js"></script> 4 <script src="../../resources/js-test.js"></script>
5 5
6 <div id="detector"></div> 6 <div id="detector"></div>
7 7
8 <style> 8 <style>
9 #detector { width: 100px; } 9 #detector { width: 100px; }
10 @media (resolution: 1.00dppx) { #detector { width: 10px; } } 10 @media (resolution: 1.00dppx) { #detector { width: 10px; } }
11 @media (resolution: 1.50dppx) { #detector { width: 15px; } } 11 @media (resolution: 1.50dppx) { #detector { width: 15px; } }
12 @media (resolution: 2.00dppx) { #detector { width: 20px; } } 12 @media (resolution: 2.00dppx) { #detector { width: 20px; } }
13 @media (resolution: 2.25dppx) { #detector { width: 23px; } } 13 @media (resolution: 2.25dppx) { #detector { width: 23px; } }
14 @media print and (min-resolution: 3dppx) { #detector { width: 30px; } } 14 @media print and (min-resolution: 3dppx) { #detector { width: 30px; } }
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after
83 shouldBe("resolutionFromStyle()", "3"); 83 shouldBe("resolutionFromStyle()", "3");
84 84
85 // As well as those matching 'all'. 85 // As well as those matching 'all'.
86 appendMediaRule("@media (resolution: 3.125dppx) { #detector { width: 31p x; } }"); 86 appendMediaRule("@media (resolution: 3.125dppx) { #detector { width: 31p x; } }");
87 shouldBe("resolutionFromStyle()", "3.125"); 87 shouldBe("resolutionFromStyle()", "3.125");
88 } 88 }
89 </script> 89 </script>
90 90
91 </body> 91 </body>
92 </html> 92 </html>
OLDNEW
« no previous file with comments | « LayoutTests/fast/media/mq-pixel-ratio-print.html ('k') | LayoutTests/fast/mediastream/MediaStream-add-remove-tracks.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698