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

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

Issue 2593703002: Import csswg-test@ef46f74490d193ac5dc15b71759735331e74517e (Closed)
Patch Set: 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
« no previous file with comments | « third_party/WebKit/LayoutTests/imported/csswg-test/css-display-3/support/util.js ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/LayoutTests/imported/csswg-test/css-ui-3/caret-color-009.html
diff --git a/third_party/WebKit/LayoutTests/imported/csswg-test/css-ui-3/caret-color-009.html b/third_party/WebKit/LayoutTests/imported/csswg-test/css-ui-3/caret-color-009.html
index 6a0cbd8ce8fdd67416b75f5df6cce2a89370ab2a..99bc47ee5fd2f1380e8edbb9fd8e66dc2cc882f4 100644
--- a/third_party/WebKit/LayoutTests/imported/csswg-test/css-ui-3/caret-color-009.html
+++ b/third_party/WebKit/LayoutTests/imported/csswg-test/css-ui-3/caret-color-009.html
@@ -1,46 +1,46 @@
-<!DOCTYPE html>
-<meta charset="utf-8">
-<title>CSS Basic User Interface Test: caret-color computed values</title>
-<link rel="author" title="Florian Rivoal" href="mailto:florian@rivoal.net">
-<link rel="help" href="http://www.w3.org/TR/css3-ui/#caret-color">
-<link rel="help" href="https://drafts.csswg.org/css-color-4/#currentcolor-color">
-<meta name="flags" content="dom">
-<meta name="assert" content="Test checks that auto and currentcolor compute to themselves for caret-color and that initial computes to auto">
-<script src="/resources/testharness.js"></script>
-<script src="/resources/testharnessreport.js"></script>
-<style>
-#d1 {
- caret-color: auto;
-}
-#d2 {
- caret-color: currentcolor;
-}
-#d3 {
- caret-color: initial;
-}
-</style>
-<body>
- <div id=d1></div>
- <div id=d2></div>
- <div id=d3></div>
- <div id=log></div>
-
-<script>
-test(
- function(){
- var d1 = document.getElementById("d1");
- assert_equals(window.getComputedStyle(d1)["caret-color"], "auto");
- }, "The computed value of auto should be auto");
-test(
- function(){
- var d2 = document.getElementById("d2");
- assert_equals(window.getComputedStyle(d2)["caret-color"], "currentcolor");
- }, "The computed value of currentcolor should be currentcolor");
-test(
- function(){
- var d3 = document.getElementById("d3");
- assert_equals(window.getComputedStyle(d3)["caret-color"], "auto");
- }, "The computed value of initial should be auto");
-</script>
-</body>
-</html>
+<!DOCTYPE html>
+<meta charset="utf-8">
+<title>CSS Basic User Interface Test: caret-color computed values</title>
+<link rel="author" title="Florian Rivoal" href="mailto:florian@rivoal.net">
+<link rel="help" href="http://www.w3.org/TR/css3-ui/#caret-color">
+<link rel="help" href="https://drafts.csswg.org/css-color-4/#currentcolor-color">
+<meta name="flags" content="dom">
+<meta name="assert" content="Test checks that auto and currentcolor compute to themselves for caret-color and that initial computes to auto">
+<script src="/resources/testharness.js"></script>
+<script src="/resources/testharnessreport.js"></script>
+<style>
+#d1 {
+ caret-color: auto;
+}
+#d2 {
+ caret-color: currentcolor;
+}
+#d3 {
+ caret-color: initial;
+}
+</style>
+<body>
+ <div id=d1></div>
+ <div id=d2></div>
+ <div id=d3></div>
+ <div id=log></div>
+
+<script>
+test(
+ function(){
+ var d1 = document.getElementById("d1");
+ assert_equals(window.getComputedStyle(d1)["caret-color"], "auto");
+ }, "The computed value of auto should be auto");
+test(
+ function(){
+ var d2 = document.getElementById("d2");
+ assert_equals(window.getComputedStyle(d2)["caret-color"], "currentcolor");
+ }, "The computed value of currentcolor should be currentcolor");
+test(
+ function(){
+ var d3 = document.getElementById("d3");
+ assert_equals(window.getComputedStyle(d3)["caret-color"], "auto");
+ }, "The computed value of initial should be auto");
+</script>
+</body>
+</html>
« no previous file with comments | « third_party/WebKit/LayoutTests/imported/csswg-test/css-display-3/support/util.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698