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

Unified Diff: LayoutTests/editing/selection/hit-test-on-text-with-line-height.html

Issue 331303004: Fix selection rect calculation for inline elements with padding (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Patch for landing Created 6 years, 6 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
« no previous file with comments | « LayoutTests/TestExpectations ('k') | LayoutTests/fast/text/selection-with-inline-padding.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/editing/selection/hit-test-on-text-with-line-height.html
diff --git a/LayoutTests/editing/selection/hit-test-on-text-with-line-height.html b/LayoutTests/editing/selection/hit-test-on-text-with-line-height.html
index 064c765bee797195b211e7ae2d20c117620324e7..58016526baacef75b2004c3066d1670d72e03858 100644
--- a/LayoutTests/editing/selection/hit-test-on-text-with-line-height.html
+++ b/LayoutTests/editing/selection/hit-test-on-text-with-line-height.html
@@ -65,7 +65,7 @@ else if (window.testRunner) {
debug('');
debug('Click below black box');
- clickBetweenEachLetterAndVerify(span.offsetTop + span.offsetHeight - 1);
+ clickBetweenEachLetterAndVerify(span.offsetTop + span.offsetHeight - 5);
test.style.display = 'none';
}
« no previous file with comments | « LayoutTests/TestExpectations ('k') | LayoutTests/fast/text/selection-with-inline-padding.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698