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

Unified Diff: LayoutTests/fast/dom/nodesFromRect/nodesFromRect-links-and-text.html

Issue 685963002: We need to account for culled inline parents of the hit-tested nodes.(Reland) (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 1 month 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: LayoutTests/fast/dom/nodesFromRect/nodesFromRect-links-and-text.html
diff --git a/LayoutTests/fast/dom/nodesFromRect/nodesFromRect-links-and-text.html b/LayoutTests/fast/dom/nodesFromRect/nodesFromRect-links-and-text.html
index 501d235aaa613455ba5e6b17ed14abd14e0b531f..c49df07450172bc2e41396fefd038a6a46e8ce3d 100644
--- a/LayoutTests/fast/dom/nodesFromRect/nodesFromRect-links-and-text.html
+++ b/LayoutTests/fast/dom/nodesFromRect/nodesFromRect-links-and-text.html
@@ -29,10 +29,10 @@
check(centerA1.x, centerA1.y, 0, 0, 0, 0, [e.a1.firstChild]);
check(centerA1.x, centerA1.y, topA1.y - topP1.y, 0, 0, 0, [e.a1.firstChild, e.a1, e.p1]);
- check(centerA1.x, centerA1.y, 0, 0, centerA3.y - centerA1.y, 0, [e.a3.firstChild, e.a3, e.p1, e.a1.firstChild, e.a1]);
+ check(centerA1.x, centerA1.y, 0, 0, centerA3.y - centerA1.y, 0, [e.a3.firstChild, e.a3, e.a1, e.p1, e.a1.firstChild]);
check(centerA1.x, centerA1.y, 0, centerText.x - centerA1.x, 0, 0, [e.p1.childNodes[2], e.a1.firstChild, e.a1, e.p1]);
check(centerA1.x, centerA1.y, 0, centerA2.x - centerA1.x, 0, 0, [e.a2.firstChild, e.a2, e.p1.childNodes[2], e.a1.firstChild, e.a1, e.p1]);
- check(centerA1.x, centerA1.y, 0, centerA2.x - centerA1.x, centerA3.y - centerA1.y, 0, [e.a3.firstChild, e.a3, e.p1, e.a2.firstChild, e.a2, e.p1.childNodes[2], e.a1.firstChild, e.a1]);
+ check(centerA1.x, centerA1.y, 0, centerA2.x - centerA1.x, centerA3.y - centerA1.y, 0, [e.a3.firstChild, e.a3, e.a2, e.a1, e.p1, e.a2.firstChild, e.p1.childNodes[2], e.a1.firstChild]);
}
window.onload = runTest;

Powered by Google App Engine
This is Rietveld 408576698