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

Side by Side Diff: LayoutTests/fast/shapes/parsing/parsing-shape-lengths.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 <head> 3 <head>
4 <style> 4 <style>
5 * { font-size: 16px; } 5 * { font-size: 16px; }
6 div { font-size: 8px; } 6 div { font-size: 8px; }
7 </style> 7 </style>
8 <script src="../../js/resources/js-test-pre.js"></script> 8 <script src="../../../resources/js-test.js"></script>
9 </head> 9 </head>
10 <body> 10 <body>
11 <script src="parsing-test-utils.js"></script> 11 <script src="parsing-test-utils.js"></script>
12 <script> 12 <script>
13 description('Test that basic shapes accept different length units'); 13 description('Test that basic shapes accept different length units');
14 14
15 // The test functions and globals used here are defined parsing-test-utils.js. 15 // The test functions and globals used here are defined parsing-test-utils.js.
16 16
17 function getStyleValue(property, value) { 17 function getStyleValue(property, value) {
18 var div = document.createElement("div"); 18 var div = document.createElement("div");
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after
98 testInvalidValue("shape-inside", "rectangle(1cm, 1mm, 1in, -1px, 1pt, 1pc)"); 98 testInvalidValue("shape-inside", "rectangle(1cm, 1mm, 1in, -1px, 1pt, 1pc)");
99 99
100 // reject negative top, right, bottom, and left 100 // reject negative top, right, bottom, and left
101 testInvalidValue("shape-inside", "inset-rectangle(-1cm, 1mm, 1in, 1px, 1pt, 1pc) "); 101 testInvalidValue("shape-inside", "inset-rectangle(-1cm, 1mm, 1in, 1px, 1pt, 1pc) ");
102 testInvalidValue("shape-inside", "inset-rectangle(1cm, -1mm, 1in, 1px, 1pt, 1pc) "); 102 testInvalidValue("shape-inside", "inset-rectangle(1cm, -1mm, 1in, 1px, 1pt, 1pc) ");
103 testInvalidValue("shape-inside", "inset-rectangle(1cm, 1mm, -1in, 1px, 1pt, 1pc) "); 103 testInvalidValue("shape-inside", "inset-rectangle(1cm, 1mm, -1in, 1px, 1pt, 1pc) ");
104 testInvalidValue("shape-inside", "inset-rectangle(1cm, 1mm, 1in, -1px, 1pt, 1pc) "); 104 testInvalidValue("shape-inside", "inset-rectangle(1cm, 1mm, 1in, -1px, 1pt, 1pc) ");
105 </script> 105 </script>
106 </body> 106 </body>
107 </html> 107 </html>
OLDNEW
« no previous file with comments | « LayoutTests/fast/shapes/parsing/parsing-shape-inside.html ('k') | LayoutTests/fast/shapes/parsing/parsing-shape-padding.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698