| Index: third_party/WebKit/LayoutTests/paint/invalidation/selection/invalidation-rect-with-br-includes-newline.html
|
| diff --git a/third_party/WebKit/LayoutTests/paint/invalidation/selection/invalidation-rect-with-br-includes-newline.html b/third_party/WebKit/LayoutTests/paint/invalidation/selection/invalidation-rect-with-br-includes-newline.html
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..11593f3c3cd7abb30ed6dd575f5c104bb1b1efb2
|
| --- /dev/null
|
| +++ b/third_party/WebKit/LayoutTests/paint/invalidation/selection/invalidation-rect-with-br-includes-newline.html
|
| @@ -0,0 +1,21 @@
|
| +<!DOCTYPE html>
|
| +<script src="../../../resources/ahem.js"></script>
|
| +<script src="../resources/text-based-repaint.js"></script>
|
| +<script src="../../../resources/run-after-layout-and-paint.js"></script>
|
| +<script src="../../../paint/selection/resources/selection.js"></script>
|
| +<script>
|
| +// Selects two lines with top one ending in a line break and expects a newline
|
| +// to be represented.
|
| +function repaintTest() {
|
| + selectRange(container, 0, container, 3);
|
| +};
|
| +window.onload = runRepaintAndPixelTest;
|
| +</script>
|
| +<style>
|
| +div {
|
| + font-family: Ahem;
|
| +}
|
| +</style>
|
| +<div id="container">
|
| + a<br>b
|
| +</div>
|
|
|