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

Unified Diff: third_party/WebKit/LayoutTests/editing/caret/caret-color-010.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-010.html
diff --git a/third_party/WebKit/LayoutTests/editing/caret/caret-color-010.html b/third_party/WebKit/LayoutTests/editing/caret/caret-color-010.html
index 21494ee90726253380e105d495dbfc276483089d..a734f8a2b7d2b95d840a6ae53653dae8647b9d47 100644
--- a/third_party/WebKit/LayoutTests/editing/caret/caret-color-010.html
+++ b/third_party/WebKit/LayoutTests/editing/caret/caret-color-010.html
@@ -19,5 +19,10 @@
<body>
<p>Test passes if, when the input field 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>
- <input autofocus></input>
+ <input id="test"></input>
+ <script>
+ window.onload = function() {
+ document.getElementById("test").focus();
+ }
+ </script>
</body>

Powered by Google App Engine
This is Rietveld 408576698