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

Unified Diff: third_party/WebKit/LayoutTests/editing/caret/caret-color-012.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-012.html
diff --git a/third_party/WebKit/LayoutTests/editing/caret/caret-color-012.html b/third_party/WebKit/LayoutTests/editing/caret/caret-color-012.html
index 4688feffa7bae067d1d424eef44c0b4a0e4096f2..1c8439167f4fa135918cc1ebd91453b1100b526e 100644
--- a/third_party/WebKit/LayoutTests/editing/caret/caret-color-012.html
+++ b/third_party/WebKit/LayoutTests/editing/caret/caret-color-012.html
@@ -24,6 +24,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