| Index: third_party/WebKit/LayoutTests/fast/inline/25277.html
|
| diff --git a/third_party/WebKit/LayoutTests/fast/inline/25277.html b/third_party/WebKit/LayoutTests/fast/inline/25277.html
|
| index 205c8195c9840ce6afcae1687be34b4d4c936aeb..fcd01e4a3c44cf1a704283935eb789ef14b93c79 100644
|
| --- a/third_party/WebKit/LayoutTests/fast/inline/25277.html
|
| +++ b/third_party/WebKit/LayoutTests/fast/inline/25277.html
|
| @@ -1,3 +1,7 @@
|
| <div id="description">This tests for a bug (https://bugs.webkit.org/show_bug.cgi?id=25277) where a caret at the end of a non-wrapping line that extends outside of the containing block would paint over part of the focus halo.</div>
|
| <div id="edit" contentEditable="true" style="width: 50px; white-space: nowrap;">The caret should be at the end of this line.</div>
|
| -<script>window.getSelection().collapse(document.getElementById("edit"), 1)</script>
|
| +<script>
|
| +var edit = document.getElementById("edit");
|
| +edit.focus();
|
| +window.getSelection().collapse(edit, 1)
|
| +</script>
|
|
|