Index: third_party/WebKit/LayoutTests/paint/text/selection-no-clip-text.html |
diff --git a/third_party/WebKit/LayoutTests/paint/text/selection-no-clip-text.html b/third_party/WebKit/LayoutTests/paint/text/selection-no-clip-text.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..477fbd3e3f94811464fcb085f14809343b3e5ff8 |
--- /dev/null |
+++ b/third_party/WebKit/LayoutTests/paint/text/selection-no-clip-text.html |
@@ -0,0 +1,8 @@ |
+<!DOCTYPE html> |
+Passes if top of all text in second row is visible when fully selected. |
+<div style="line-height: 0.7">X<br>YYYY</div> |
+<script> |
+var range = document.createRange(); |
+range.selectNode(document.body); |
+document.getSelection().addRange(range); |
+</script> |