blob: 59258530ba5c8a272ed0476bf5f5c89ba080ad28 [file] [log] [blame]
<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; text-align:right; direction:ltr">The caret should be at the end of this line.</div>
<script>window.getSelection().setPosition(document.getElementById("edit"), 1)</script>