| Index: third_party/WebKit/LayoutTests/editing/caret/caret-color-004.html
|
| diff --git a/third_party/WebKit/LayoutTests/editing/caret/caret-color-004.html b/third_party/WebKit/LayoutTests/editing/caret/caret-color-004.html
|
| index 1ec3a4a7e4e451f517789a4203ed626562dde622..75bdacd98f0d429b5056f5e5c5216fc2efe42070 100644
|
| --- a/third_party/WebKit/LayoutTests/editing/caret/caret-color-004.html
|
| +++ b/third_party/WebKit/LayoutTests/editing/caret/caret-color-004.html
|
| @@ -1,4 +1,4 @@
|
| -<!DOCTYPE html>
|
| +<!DOCTYPE html>
|
| <meta charset="utf-8">
|
| <title>CSS Basic User Interface Test: caret-color auto, black on white</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 black
|
| 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>
|
|
|