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

Side by Side Diff: LayoutTests/css3/calc/color-rgb.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
« no previous file with comments | « LayoutTests/css3/calc/color-hsl.html ('k') | LayoutTests/css3/calc/font-size-fractional.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="../../resources/js-test.js"></script>
3 <style> 3 <style>
4 #controlsimple { color: rgb(10,180,30); } 4 #controlsimple { color: rgb(10,180,30); }
5 #simple { color: rgb(calc(10),calc(18 * 10),calc(30)); } 5 #simple { color: rgb(calc(10),calc(18 * 10),calc(30)); }
6 #controlpercentsimple { color: rgb(10%,95%,30%); } 6 #controlpercentsimple { color: rgb(10%,95%,30%); }
7 #percentsimple { color: rgb(calc(2% + 8%),calc(95%),calc(3% * 10)); } 7 #percentsimple { color: rgb(calc(2% + 8%),calc(95%),calc(3% * 10)); }
8 #controlpercentnumber { color: rgb(26,240,80); } 8 #controlpercentnumber { color: rgb(26,240,80); }
9 #percentnumber { color: rgb(calc(2% + 8% + 1),calc(95% - 3),calc(3% * 10 + 4)); } 9 #percentnumber { color: rgb(calc(2% + 8% + 1),calc(95% - 3),calc(3% * 10 + 4)); }
10 10
11 #controlalpha { color: rgba(10,180,30,0.7); } 11 #controlalpha { color: rgba(10,180,30,0.7); }
12 #alpha { color: rgba(calc(10),calc(180),calc(30), calc(0.35 * 2)); } 12 #alpha { color: rgba(calc(10),calc(180),calc(30), calc(0.35 * 2)); }
(...skipping 28 matching lines...) Expand all
41 tests = ["simple", "percentsimple", "percentnumber", "alpha", "percentalpha" , "percentnumberalpha"]; 41 tests = ["simple", "percentsimple", "percentnumber", "alpha", "percentalpha" , "percentnumberalpha"];
42 42
43 for (i = 0; i < tests.length; i++) { 43 for (i = 0; i < tests.length; i++) {
44 var test = tests[i]; 44 var test = tests[i];
45 shouldBeEqualToString('getComputedStyle(document.getElementById("' + tes t + '"), null).color', getComputedStyle(document.getElementById("control" + test ), null).color); 45 shouldBeEqualToString('getComputedStyle(document.getElementById("' + tes t + '"), null).color', getComputedStyle(document.getElementById("control" + test ), null).color);
46 } 46 }
47 47
48 if (window.testRunner) 48 if (window.testRunner)
49 document.body.removeChild(document.getElementById("test-container")); 49 document.body.removeChild(document.getElementById("test-container"));
50 </script> 50 </script>
OLDNEW
« no previous file with comments | « LayoutTests/css3/calc/color-hsl.html ('k') | LayoutTests/css3/calc/font-size-fractional.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698