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

Side by Side Diff: LayoutTests/css3/font-weight.html

Issue 48903019: Delete js-test-post.js. (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
« no previous file with comments | « LayoutTests/css3/font-feature-settings-parsing.html ('k') | LayoutTests/css3/supports.html » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 <html> 1 <html>
2 <head> 2 <head>
3 <style> 3 <style>
4 #bolder { font-weight: bolder; } 4 #bolder { font-weight: bolder; }
5 #lighter { font-weight: lighter; } 5 #lighter { font-weight: lighter; }
6 </style> 6 </style>
7 <script src="../fast/js/resources/js-test-pre.js"></script> 7 <script src="../fast/js/resources/js-test-pre.js"></script>
8 </head> 8 </head>
9 <body> 9 <body>
10 <div id="outer"> 10 <div id="outer">
(...skipping 21 matching lines...) Expand all
32 var outer = document.getElementById("outer"); 32 var outer = document.getElementById("outer");
33 var bolder = document.getElementById("bolder"); 33 var bolder = document.getElementById("bolder");
34 var lighter = document.getElementById("lighter"); 34 var lighter = document.getElementById("lighter");
35 for(var i=0; i<table.length; i++) { 35 for(var i=0; i<table.length; i++) {
36 outer.style.fontWeight = table[i][0]; 36 outer.style.fontWeight = table[i][0];
37 shouldBeEqualToString('getComputedStyle(outer).fontWeight', table[i][1]); 37 shouldBeEqualToString('getComputedStyle(outer).fontWeight', table[i][1]);
38 shouldBeEqualToString('getComputedStyle(bolder).fontWeight', table[i][2]); 38 shouldBeEqualToString('getComputedStyle(bolder).fontWeight', table[i][2]);
39 shouldBeEqualToString('getComputedStyle(lighter).fontWeight', table[i][3]); 39 shouldBeEqualToString('getComputedStyle(lighter).fontWeight', table[i][3]);
40 } 40 }
41 </script> 41 </script>
42 <script src="../fast/js/resources/js-test-post.js"></script>
43 </body> 42 </body>
44 </html> 43 </html>
OLDNEW
« no previous file with comments | « LayoutTests/css3/font-feature-settings-parsing.html ('k') | LayoutTests/css3/supports.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698