Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(159)

Unified Diff: third_party/WebKit/LayoutTests/paint/text/selection-no-clip-text.html

Issue 2546473003: Simplify computation of text selection top/bottom. (Closed)
Patch Set: Add new baselines. Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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>

Powered by Google App Engine
This is Rietveld 408576698