| 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>
|
|
|