| Index: third_party/WebKit/LayoutTests/editing/selection/move-cursor-over-uneditable-in-contenteditable.html
|
| diff --git a/third_party/WebKit/LayoutTests/editing/selection/move-cursor-over-uneditable-in-contenteditable.html b/third_party/WebKit/LayoutTests/editing/selection/move-cursor-over-uneditable-in-contenteditable.html
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..29a4982e194182c59c210672612bf073a19c3908
|
| --- /dev/null
|
| +++ b/third_party/WebKit/LayoutTests/editing/selection/move-cursor-over-uneditable-in-contenteditable.html
|
| @@ -0,0 +1,15 @@
|
| +<!doctype HTML>
|
| +<script src="../../resources/testharness.js"></script>
|
| +<script src="../../resources/testharnessreport.js"></script>
|
| +<script src="../assert_selection.js"></script>
|
| +<script>
|
| +test(() => assert_selection('<div contenteditable>editable1| <i contenteditable="false">readonly1</i></div><div contenteditable>editable2 <i contenteditable="false">readonly2</i></div><div>readonly3</div',
|
| + selection => {
|
| + if (window.eventSender) {
|
| + for (i = 0; i < 13; i++)
|
| + eventSender.keyDown('ArrowRight');
|
| + }
|
| + },
|
| + '<div contenteditable>editable1 <i contenteditable="false">readonly1</i></div><div contenteditable>editable2 |<i contenteditable="false">readonly2</i></div><div>readonly3</div>'),
|
| + 'contenteditable should not lose selection near inline non-editable element');
|
| +</script>
|
|
|