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

Side by Side Diff: LayoutTests/printing/page-rule-selection.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 id="html_element"> 2 <html id="html_element">
3 <head id="head_element"> 3 <head id="head_element">
4 <script src="../fast/js/resources/js-test-pre.js"></script> 4 <script src="../resources/js-test.js"></script>
5 </head> 5 </head>
6 <body> 6 <body>
7 <p id="description"></p> 7 <p id="description"></p>
8 <div id="console"></div> 8 <div id="console"></div>
9 <script> 9 <script>
10 description("This tests page style selection."); 10 description("This tests page style selection.");
11 11
12 function appendStyle(styleString) 12 function appendStyle(styleString)
13 { 13 {
14 var styleElement = document.createElement("style"); 14 var styleElement = document.createElement("style");
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after
91 shouldBeEqualToString("internals.pageProperty('size', 0)", "150 250"); 91 shouldBeEqualToString("internals.pageProperty('size', 0)", "150 250");
92 appendStyle("@media screen { @page { size:300px 500px; } }"); 92 appendStyle("@media screen { @page { size:300px 500px; } }");
93 shouldBeEqualToString("internals.pageProperty('size', 0)", "150 250"); 93 shouldBeEqualToString("internals.pageProperty('size', 0)", "150 250");
94 94
95 } else { 95 } else {
96 testFailed("This test can be run only with window.testRunner"); 96 testFailed("This test can be run only with window.testRunner");
97 } 97 }
98 </script> 98 </script>
99 </body> 99 </body>
100 </html> 100 </html>
OLDNEW
« no previous file with comments | « LayoutTests/printing/page-format-data.html ('k') | LayoutTests/printing/pageNumerForElementById.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698