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

Unified Diff: third_party/WebKit/LayoutTests/fast/css/outline-currentcolor.html

Issue 2081633002: Reject invert for outline-color at parse time. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: New attempt. Created 4 years, 6 months 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/fast/css/outline-currentcolor-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/LayoutTests/fast/css/outline-currentcolor.html
diff --git a/third_party/WebKit/LayoutTests/fast/css/outline-currentcolor.html b/third_party/WebKit/LayoutTests/fast/css/outline-currentcolor.html
index 914a183b1d500ee9ae5f95014102345d440b1378..468994c2192a31969024e08094c4fb4394efedc3 100644
--- a/third_party/WebKit/LayoutTests/fast/css/outline-currentcolor.html
+++ b/third_party/WebKit/LayoutTests/fast/css/outline-currentcolor.html
@@ -7,6 +7,7 @@
<div style="color:green">
<div id="test3" style="color:currentColor; outline: solid 1em currentColor"></div>
</div>
+ <div id="test4" id="four" style="color:green"></div>
</div>
<script src="../../resources/js-test.js"></script>
<script>
@@ -14,8 +15,10 @@ description('Test that outline-color is non-inherit and currentColor is handled
var test1 = document.getElementById("test1");
var test2 = document.getElementById("test2");
var test3 = document.getElementById("test3");
+var test3 = document.getElementById("test4");
test2.style.color = "green";
shouldBeEqualToString('getComputedStyle(test1).outlineColor', 'rgb(0, 128, 0)');
shouldBeEqualToString('getComputedStyle(test2).outlineColor', 'rgb(0, 128, 0)');
shouldBeEqualToString('getComputedStyle(test3).outlineColor', 'rgb(0, 128, 0)');
+shouldBeEqualToString('getComputedStyle(test4).outlineColor', 'rgb(0, 128, 0)');
</script>
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/fast/css/outline-currentcolor-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698