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

Unified Diff: third_party/WebKit/LayoutTests/editing/caret/caret-color-005.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-005.html
diff --git a/third_party/WebKit/LayoutTests/editing/caret/caret-color-005.html b/third_party/WebKit/LayoutTests/editing/caret/caret-color-005.html
index 4968ab2515e2a4e2fbccece610becbf0b1b9cf30..30808cbde7c393af1de42717dd7b18de3aa491cd 100644
--- a/third_party/WebKit/LayoutTests/editing/caret/caret-color-005.html
+++ b/third_party/WebKit/LayoutTests/editing/caret/caret-color-005.html
@@ -1,4 +1,4 @@
-<!DOCTYPE html>
+<!DOCTYPE html>
<meta charset="utf-8">
<title>CSS Basic User Interface Test: caret-color auto, white on black</title>
<link rel="author" title="Florian Rivoal" href="mailto:florian@rivoal.net">
@@ -21,5 +21,10 @@
<p>Test passes if, when the text area below is focused for editing, the text insertion caret is either white
or some other color that contrasts well with the background.</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