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/editing/caret/caret-color-003.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-003.html
diff --git a/third_party/WebKit/LayoutTests/editing/caret/caret-color-003.html b/third_party/WebKit/LayoutTests/editing/caret/caret-color-003.html
index ca2217969e5792d2a3d602a4f915b57c36b75cd7..c7348bd88e2e13e01ca1fd290ee6b356d94b8ce8 100644
--- a/third_party/WebKit/LayoutTests/editing/caret/caret-color-003.html
+++ b/third_party/WebKit/LayoutTests/editing/caret/caret-color-003.html
@@ -22,5 +22,10 @@
<p>Test passes if, when the text area below is focused for editing, the text insertion caret is green,
like the text in that textarea.</p>
<p>The shape of the caret, and whether it flashes, are not part of the test.</p>
- <textarea autofocus></textarea>
+ <textarea id="test"></textarea>
+ <script>
+ window.onload = function() {
+ document.getElementById("test").focus();
+ }
+ </script>
</body>

Powered by Google App Engine
This is Rietveld 408576698