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

Unified Diff: third_party/WebKit/LayoutTests/editing/caret/caret-color-007.html

Issue 2632963002: [css-ui] Update caret-color tests (Closed)
Patch Set: Created 3 years, 11 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
Index: third_party/WebKit/LayoutTests/editing/caret/caret-color-007.html
diff --git a/third_party/WebKit/LayoutTests/editing/caret/caret-color-007.html b/third_party/WebKit/LayoutTests/editing/caret/caret-color-007.html
index 869fab13ea43b99f3b860426355cfacb2c494c0f..ddd7e03c39664cd7f1ed66e932f1cf9d8a884df6 100644
--- a/third_party/WebKit/LayoutTests/editing/caret/caret-color-007.html
+++ b/third_party/WebKit/LayoutTests/editing/caret/caret-color-007.html
@@ -1,4 +1,4 @@
-<!DOCTYPE html>
+<!DOCTYPE html>
<meta charset="utf-8">
<title>CSS Basic User Interface Test: caret-color: currentColor</title>
<link rel="author" title="Chris Lilley" href="mailto:chris@w3.org">
@@ -26,6 +26,11 @@
<p>Test passes if, when the text area below is focused for editing, the text insertion caret is green</p>
<p>The shape of the caret, and whether it flashes, are not part of the test.</p>
<div>
- <textarea autofocus></textarea>
+ <textarea id="test"></textarea>
</div>
+ <script>
+ window.onload = function() {
+ document.getElementById("test").focus();
+ }
+ </script>
</body>

Powered by Google App Engine
This is Rietveld 408576698