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

Side by Side Diff: LayoutTests/fast/css/outline-currentcolor.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/fast/css/nested-at-rules.html ('k') | LayoutTests/fast/css/overflow-property.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 <style> 1 <style>
2 #test3 { color: blue; } 2 #test3 { color: blue; }
3 </style> 3 </style>
4 <div id="test-container"> 4 <div id="test-container">
5 <div id="test1" id="one" style="color:green; outline: solid 1em currentColor"> </div> 5 <div id="test1" id="one" style="color:green; outline: solid 1em currentColor"> </div>
6 <div id="test2" id="two" style="color:red; outline: solid 1em currentColor"></ div> 6 <div id="test2" id="two" style="color:red; outline: solid 1em currentColor"></ div>
7 <div style="color:green"> 7 <div style="color:green">
8 <div id="test3" style="color:currentColor; outline: solid 1em currentColor"> </div> 8 <div id="test3" style="color:currentColor; outline: solid 1em currentColor"> </div>
9 </div> 9 </div>
10 </div> 10 </div>
11 <script src="../../fast/js/resources/js-test-pre.js"></script> 11 <script src="../../resources/js-test.js"></script>
12 <script> 12 <script>
13 description('Test that outline-color is non-inherit and currentColor is handled correctly.'); 13 description('Test that outline-color is non-inherit and currentColor is handled correctly.');
14 var test1 = document.getElementById("test1"); 14 var test1 = document.getElementById("test1");
15 var test2 = document.getElementById("test2"); 15 var test2 = document.getElementById("test2");
16 var test3 = document.getElementById("test3"); 16 var test3 = document.getElementById("test3");
17 test2.style.color = "green"; 17 test2.style.color = "green";
18 shouldBeEqualToString('getComputedStyle(test1).outlineColor', 'rgb(0, 128, 0)'); 18 shouldBeEqualToString('getComputedStyle(test1).outlineColor', 'rgb(0, 128, 0)');
19 shouldBeEqualToString('getComputedStyle(test2).outlineColor', 'rgb(0, 128, 0)'); 19 shouldBeEqualToString('getComputedStyle(test2).outlineColor', 'rgb(0, 128, 0)');
20 shouldBeEqualToString('getComputedStyle(test3).outlineColor', 'rgb(0, 128, 0)'); 20 shouldBeEqualToString('getComputedStyle(test3).outlineColor', 'rgb(0, 128, 0)');
21 </script> 21 </script>
OLDNEW
« no previous file with comments | « LayoutTests/fast/css/nested-at-rules.html ('k') | LayoutTests/fast/css/overflow-property.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698