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

Unified Diff: LayoutTests/fast/events/hit-test-cache-expected.txt

Issue 1142283004: Implement a Hit Test Cache. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Remove validity rect as per Elliott's request Created 5 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/fast/events/hit-test-cache.html ('k') | LayoutTests/fast/events/hit-test-counts.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/fast/events/hit-test-cache-expected.txt
diff --git a/LayoutTests/fast/events/hit-test-cache-expected.txt b/LayoutTests/fast/events/hit-test-cache-expected.txt
new file mode 100644
index 0000000000000000000000000000000000000000..196b798f5bdfcaf9c100e7aad56470b51c0d28d1
--- /dev/null
+++ b/LayoutTests/fast/events/hit-test-cache-expected.txt
@@ -0,0 +1,62 @@
+
+
+
+
+Ensure hit test cache works in correct scenarios of scrolling, dom and style changes.
+
+On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
+
+
+PASS successfullyParsed is true
+
+TEST COMPLETE
+PASS successfullyParsed is true
+
+TEST COMPLETE
+Hit test main div
+---------------------
+PASS document.elementFromPoint(60,60) is internals.clearHitTestCache(document); internals.elementFromPoint(document, 60, 60, false, false)
+PASS hitTestCountDelta() is 2
+PASS hitTestCacheHitsDelta() is 0
+PASS document.elementFromPoint(60,60) is internals.clearHitTestCache(document); internals.elementFromPoint(document, 60, 60, false, false)
+PASS hitTestCountDelta() is 2
+PASS hitTestCacheHitsDelta() is 1
+
+Hit test fixed div after scroll
+---------------------
+PASS document.elementFromPoint(12,12) is internals.clearHitTestCache(document); internals.elementFromPoint(document, 12, 12, false, false)
+PASS hitTestCountDelta() is 2
+PASS hitTestCacheHitsDelta() is 0
+PASS document.elementFromPoint(10,60) is internals.clearHitTestCache(document); internals.elementFromPoint(document, 10, 60, false, false)
+PASS hitTestCountDelta() is 2
+PASS hitTestCacheHitsDelta() is 0
+PASS document.elementFromPoint(12,12) is internals.clearHitTestCache(document); internals.elementFromPoint(document, 12, 12, false, false)
+PASS hitTestCountDelta() is 2
+PASS hitTestCacheHitsDelta() is 0
+
+Hit test after style change
+---------------------
+PASS document.elementFromPoint(12,12) is internals.clearHitTestCache(document); internals.elementFromPoint(document, 12, 12, false, false)
+PASS hitTestCountDelta() is 2
+PASS hitTestCacheHitsDelta() is 0
+PASS document.elementFromPoint(12,12) is internals.clearHitTestCache(document); internals.elementFromPoint(document, 12, 12, false, false)
+PASS hitTestCountDelta() is 2
+PASS hitTestCacheHitsDelta() is 0
+
+Hit test after dom manipulation
+---------------------
+PASS document.elementFromPoint(12,12) is internals.clearHitTestCache(document); internals.elementFromPoint(document, 12, 12, false, false)
+PASS hitTestCountDelta() is 2
+PASS hitTestCacheHitsDelta() is 0
+PASS document.elementFromPoint(12,12) is internals.clearHitTestCache(document); internals.elementFromPoint(document, 12, 12, false, false)
+PASS hitTestCountDelta() is 2
+PASS hitTestCacheHitsDelta() is 0
+
+Hit test iframe; ensuring child co-ordinates are not in parent cache
+---------------------
+PASS internals.elementFromPoint(document, 25, 80, false, true) is internals.clearHitTestCache(document); internals.elementFromPoint(document, 25, 80, false, true)
+PASS internals.elementFromPoint(document, 15, 40, false, true) is internals.clearHitTestCache(document); internals.elementFromPoint(document, 15, 40, false, true)
+PASS successfullyParsed is true
+
+TEST COMPLETE
+
« no previous file with comments | « LayoutTests/fast/events/hit-test-cache.html ('k') | LayoutTests/fast/events/hit-test-counts.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698