| Index: third_party/WebKit/LayoutTests/paint/selection/text-selection-newline-clipped-by-overflow.html
|
| diff --git a/third_party/WebKit/LayoutTests/paint/selection/text-selection-newline-clipped-by-overflow.html b/third_party/WebKit/LayoutTests/paint/selection/text-selection-newline-clipped-by-overflow.html
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..516cfb57ab314c2c8612375e842267971d263d41
|
| --- /dev/null
|
| +++ b/third_party/WebKit/LayoutTests/paint/selection/text-selection-newline-clipped-by-overflow.html
|
| @@ -0,0 +1,16 @@
|
| +<!doctype HTML>
|
| +<script src="resources/selection.js"></script>
|
| +<script>
|
| +// Selects two lines and expects a newline to be represented, but clipped by the containing div.
|
| +function run() {
|
| + selectNode(container);
|
| +};
|
| +window.onload = run;
|
| +</script>
|
| +
|
| +<div id="container">
|
| + <div>
|
| + <div style="overflow:hidden; display: inline-block">test1</div>
|
| + </div>
|
| + test2
|
| +</div>
|
|
|