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

Unified Diff: third_party/WebKit/LayoutTests/imported/csswg-test/css-ui-3/caret-color-013.html

Issue 2577633002: [css-ui] Update resolved value of caret-color property (Closed)
Patch Set: Fix tests Created 4 years 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
Index: third_party/WebKit/LayoutTests/imported/csswg-test/css-ui-3/caret-color-013.html
diff --git a/third_party/WebKit/LayoutTests/imported/csswg-test/css-ui-3/caret-color-013.html b/third_party/WebKit/LayoutTests/imported/csswg-test/css-ui-3/caret-color-013.html
index 47a778edb6e7581fb2656f5405819faffdf49aab..8b307fb6e8c557848bc683202a9cd5c26379ca94 100644
--- a/third_party/WebKit/LayoutTests/imported/csswg-test/css-ui-3/caret-color-013.html
+++ b/third_party/WebKit/LayoutTests/imported/csswg-test/css-ui-3/caret-color-013.html
@@ -32,19 +32,19 @@
}
var textarea = document.getElementById("textarea");
- setAndCheckCaretColor(textarea, "", "", "auto", "Test default caret-color");
- setAndCheckCaretColor(textarea, "initial", "initial", "auto", "Test caret-color: initial");
- setAndCheckCaretColor(textarea, "inherit", "inherit", "auto", "Test caret-color: inherit");
- setAndCheckCaretColor(textarea, "auto", "auto", "auto", "Test caret-color: auto");
- setAndCheckCaretColor(textarea, "currentcolor", "currentcolor", "currentcolor", "Test caret-color: currentcolor");
+ setAndCheckCaretColor(textarea, "", "", "rgb(0, 0, 0)", "Test default caret-color");
+ setAndCheckCaretColor(textarea, "initial", "initial", "rgb(0, 0, 0)", "Test caret-color: initial");
+ setAndCheckCaretColor(textarea, "inherit", "inherit", "rgb(0, 0, 0)", "Test caret-color: inherit");
+ setAndCheckCaretColor(textarea, "auto", "auto", "rgb(0, 0, 0)", "Test caret-color: auto");
+ setAndCheckCaretColor(textarea, "currentcolor", "currentcolor", "rgb(0, 0, 0)", "Test caret-color: currentcolor");
setAndCheckCaretColor(textarea, "lime", "lime", "rgb(0, 255, 0)", "Test caret-color: lime");
- setAndCheckCaretColor(textarea, "initial", "initial", "auto", "Reset caret-color: initial");
+ setAndCheckCaretColor(textarea, "initial", "initial", "rgb(0, 0, 0)", "Reset caret-color: initial");
setAndCheckCaretColor(textarea, "rgb(0, 100, 100)", "rgb(0, 100, 100)", "rgb(0, 100, 100)", "Test caret-color: rgb(0, 100, 100)");
var wrapper = document.getElementById("wrapper");
wrapper.style.caretColor = "green";
- setAndCheckCaretColor(textarea, "initial", "initial", "auto", "Test caret-color: initial (inherited)");
+ setAndCheckCaretColor(textarea, "initial", "initial", "rgb(0, 0, 0)", "Test caret-color: initial (inherited)");
setAndCheckCaretColor(textarea, "inherit", "inherit", "rgb(0, 128, 0)", "Test caret-color: inherit (inherited)");
setAndCheckCaretColor(textarea, "blue", "blue", "rgb(0, 0, 255)", "Test caret-color: blue (inherited)");
</script>

Powered by Google App Engine
This is Rietveld 408576698