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

Side by Side Diff: LayoutTests/css3/calc/color-hsl.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/css1/units/rounding.html ('k') | LayoutTests/css3/calc/color-rgb.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 <!DOCTYPE HTML> 1 <!DOCTYPE HTML>
2 <script src="../../fast/js/resources/js-test-pre.js"></script> 2 <script src="../../fast/js/resources/js-test-pre.js"></script>
3 <style> 3 <style>
4 #controlsimple { color: hsl(120,75%,50%); } 4 #controlsimple { color: hsl(120,75%,50%); }
5 #simple { color: hsl(calc(120),calc(75%),calc(50%)); } 5 #simple { color: hsl(calc(120),calc(75%),calc(50%)); }
6 6
7 #controlalpha { color: hsla(120,75%,50%,0.7); } 7 #controlalpha { color: hsla(120,75%,50%,0.7); }
8 #alpha { color: hsla(calc(120),calc(75%),calc(50%), calc(0.7)); } 8 #alpha { color: hsla(calc(120),calc(75%),calc(50%), calc(0.7)); }
9 </style> 9 </style>
10 <div id="test-container"> 10 <div id="test-container">
(...skipping 10 matching lines...) Expand all
21 tests = ["simple", "alpha"]; 21 tests = ["simple", "alpha"];
22 22
23 for (i = 0; i < tests.length; i++) { 23 for (i = 0; i < tests.length; i++) {
24 var test = tests[i]; 24 var test = tests[i];
25 shouldBeEqualToString('getComputedStyle(document.getElementById("' + tes t + '"), null).color', getComputedStyle(document.getElementById("control" + test ), null).color); 25 shouldBeEqualToString('getComputedStyle(document.getElementById("' + tes t + '"), null).color', getComputedStyle(document.getElementById("control" + test ), null).color);
26 } 26 }
27 27
28 if (window.testRunner) 28 if (window.testRunner)
29 document.body.removeChild(document.getElementById("test-container")); 29 document.body.removeChild(document.getElementById("test-container"));
30 </script> 30 </script>
31 <script src="../../fast/js/resources/js-test-post.js"></script>
32 31
OLDNEW
« no previous file with comments | « LayoutTests/css1/units/rounding.html ('k') | LayoutTests/css3/calc/color-rgb.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698