| Index: third_party/WebKit/LayoutTests/editing/selection/continuations-margin-across-relative-block-without-move-caret-to-boundary.html
|
| diff --git a/third_party/WebKit/LayoutTests/editing/selection/continuations-margin-across-relative-block-without-move-caret-to-boundary.html b/third_party/WebKit/LayoutTests/editing/selection/continuations-margin-across-relative-block-without-move-caret-to-boundary.html
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..c51106d19f13c671070239bcab78fcc8ddc22bde
|
| --- /dev/null
|
| +++ b/third_party/WebKit/LayoutTests/editing/selection/continuations-margin-across-relative-block-without-move-caret-to-boundary.html
|
| @@ -0,0 +1,21 @@
|
| +<!DOCTYPE HTML>
|
| +This test passes if, below, the first three lines are selected and a little of the fourth.<br><br>
|
| +<font id='font' color="blue">
|
| +AAAAAAAAAA
|
| +<p id='firstP'>BBBBBBBBBB</p>
|
| +<div style='position: relative; margin-top: 50px;'>BLOCKBLOCKBLOCK</div>
|
| +<p id='secondP'>CCCCCCCCCC</p>
|
| +</font>
|
| +<script>
|
| +if (window.testRunner && window.eventSender && window.internals) {
|
| + // Win does not support 'moveCaretToBoundary' editing behavior.
|
| + internals.settings.setEditingBehavior('win');
|
| +
|
| + var topLeft = {x: font.offsetLeft, y: font.offsetTop};
|
| + var betweenBlockAndSecondP = {x: (secondP.offsetLeft + 50), y: (secondP.offsetTop - 5)};
|
| + eventSender.mouseMoveTo(topLeft.x, topLeft.y);
|
| + eventSender.mouseDown();
|
| + eventSender.mouseMoveTo(betweenBlockAndSecondP.x, betweenBlockAndSecondP.y);
|
| + eventSender.mouseUp();
|
| +}
|
| +</script>
|
|
|