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

Side by Side Diff: LayoutTests/fast/css/zoom-media-queries.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 <style> 2 <style>
3 html { font-size: 16px; } 3 html { font-size: 16px; }
4 </style> 4 </style>
5 <script src="../js/resources/js-test-pre.js"></script> 5 <script src="../../resources/js-test.js"></script>
6 <script> 6 <script>
7 if (!window.eventSender) { 7 if (!window.eventSender) {
8 document.write("This test does not work in manual mode."); 8 document.write("This test does not work in manual mode.");
9 } else { 9 } else {
10 if (window.testRunner) 10 if (window.testRunner)
11 testRunner.dumpAsText(); 11 testRunner.dumpAsText();
12 12
13 // These media queries should be equivalent, since the documentElement 13 // These media queries should be equivalent, since the documentElement
14 // has font-size:16px, so 300px should equal 18.75em. They should both 14 // has font-size:16px, so 300px should equal 18.75em. They should both
15 // initially be false (as the layout test runner is 800px wide). 15 // initially be false (as the layout test runner is 800px wide).
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
51 eventSender.zoomPageOut(); 51 eventSender.zoomPageOut();
52 zoomLevel--; 52 zoomLevel--;
53 53
54 shouldBeFalse( 54 shouldBeFalse(
55 'matchMedia("(max-width: 300px)").matches'); 55 'matchMedia("(max-width: 300px)").matches');
56 shouldBeFalse( 56 shouldBeFalse(
57 'matchMedia("(max-width: 18.75em)").matches'); 57 'matchMedia("(max-width: 18.75em)").matches');
58 } 58 }
59 } 59 }
60 </script> 60 </script>
OLDNEW
« no previous file with comments | « LayoutTests/fast/css/xml-stylesheet-alternate-no-title.xhtml ('k') | LayoutTests/fast/css/zoom-media-queries-resolution.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698