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

Side by Side Diff: LayoutTests/fast/css/css3-ch-unit.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 type="text/css" title="teste"> 4 <style type="text/css" title="teste">
5 .box { 5 .box {
6 margin: 0px; 6 margin: 0px;
7 padding: 0px; 7 padding: 0px;
8 overflow: hidden; 8 overflow: hidden;
9 } 9 }
10 .border { border:1px solid black; } 10 .border { border:1px solid black; }
(...skipping 26 matching lines...) Expand all
37 #pseudo{ 37 #pseudo{
38 font-size:2ch; 38 font-size:2ch;
39 } 39 }
40 #pseudo:first-line { 40 #pseudo:first-line {
41 font-size:3ch; 41 font-size:3ch;
42 } 42 }
43 #pseudo span:last-child { 43 #pseudo span:last-child {
44 font-size:1ch; 44 font-size:1ch;
45 } 45 }
46 </style> 46 </style>
47 <script src="../js/resources/js-test-pre.js"></script> 47 <script src="../../resources/js-test.js"></script>
48 <script type="text/javascript"> 48 <script type="text/javascript">
49 </script> 49 </script>
50 </head> 50 </head>
51 <body id="body"> 51 <body id="body">
52 <p>This is a test to make sure ch units work as intended. You should not see <b>anything</b> red on this page.</p> 52 <p>This is a test to make sure ch units work as intended. You should not see <b>anything</b> red on this page.</p>
53 Only 'PASS' should be visible: 53 Only 'PASS' should be visible:
54 <div id="box_mono_zero" class="box mono zero"></div> 54 <div id="box_mono_zero" class="box mono zero"></div>
55 <script type="text/javascript"> 55 <script type="text/javascript">
56 description("This is a test to make sure ch units work as intended.") 56 description("This is a test to make sure ch units work as intended.")
57 shouldEvaluateTo('document.getElementById("box_mono_zero").clientWidth', "0"); 57 shouldEvaluateTo('document.getElementById("box_mono_zero").clientWidth', "0");
(...skipping 116 matching lines...) Expand 10 before | Expand all | Expand 10 after
174 var CSSRules = 'rules'; 174 var CSSRules = 'rules';
175 for (var i = 0; i < document.styleSheets[0][CSSRules].length; ++i) 175 for (var i = 0; i < document.styleSheets[0][CSSRules].length; ++i)
176 if (document.styleSheets[0][CSSRules][i].selectorText === ".fail ") { 176 if (document.styleSheets[0][CSSRules][i].selectorText === ".fail ") {
177 document.styleSheets[0][CSSRules][i].style['display'] = 'non e'; 177 document.styleSheets[0][CSSRules][i].style['display'] = 'non e';
178 break; 178 break;
179 } 179 }
180 } 180 }
181 </script> 181 </script>
182 </body> 182 </body>
183 </html> 183 </html>
OLDNEW
« no previous file with comments | « LayoutTests/fast/css/css-set-selector-text.html ('k') | LayoutTests/fast/css/css3-nth-space.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698