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

Unified Diff: third_party/WebKit/LayoutTests/fast/text/selection-rect-line-height-too-big.html

Issue 2967973002: Select exact nodes in fast/text/selection-*.html (Closed)
Patch Set: Created 3 years, 5 months 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/fast/text/selection-rect-line-height-too-big.html
diff --git a/third_party/WebKit/LayoutTests/fast/text/selection-rect-line-height-too-big.html b/third_party/WebKit/LayoutTests/fast/text/selection-rect-line-height-too-big.html
index 47b6d27473255e790437e2c6d39e0a147157dbc6..c024911ce29f7906cfc18df958f57934056df3e1 100644
--- a/third_party/WebKit/LayoutTests/fast/text/selection-rect-line-height-too-big.html
+++ b/third_party/WebKit/LayoutTests/fast/text/selection-rect-line-height-too-big.html
@@ -5,5 +5,6 @@
The House
</div>
<script>
- getSelection().setBaseAndExtent(target, 0, target, 1);
+ // Select |The House|.
+ getSelection().setBaseAndExtent(target.firstChild, 2, target.firstChild, 12);
</script>

Powered by Google App Engine
This is Rietveld 408576698