| Index: LayoutTests/editing/caret/caret-is-hidden-when-no-focus.html
|
| diff --git a/LayoutTests/editing/caret/caret-is-hidden-when-no-focus.html b/LayoutTests/editing/caret/caret-is-hidden-when-no-focus.html
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..adb2a86b5b70c4504053326a3128e6d387089d36
|
| --- /dev/null
|
| +++ b/LayoutTests/editing/caret/caret-is-hidden-when-no-focus.html
|
| @@ -0,0 +1,18 @@
|
| +<p>Caret should be hidden when no focus</p>
|
| +Manual steps:
|
| +<ol>
|
| +<li>Click middle of "edit me!" to show caret.</li>
|
| +<li>Click checkbox.</li>
|
| +<li>Caret should be hidden.</li>
|
| +</ol>
|
| +<div contenteditable="true">edit me!</div>
|
| +<input type="checkbox">
|
| +<script>
|
| +document.querySelector('div[contenteditable="true"]').focus();
|
| +if (window.eventSender) {
|
| + var checkbox = document.querySelector('input');
|
| + eventSender.mouseMoveTo(checkbox.offsetLeft + 5, checkbox.offsetTop + 5);
|
| + eventSender.mouseDown();
|
| + eventSender.mouseUp();
|
| +}
|
| +</script>
|
|
|