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

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: Fix comments from tdresser 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
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..a83da6a5f855c5083a86f18789481f332665b3e1
--- /dev/null
+++ b/LayoutTests/fast/events/hit-test-cache-expected.txt
@@ -0,0 +1,53 @@
+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.elementFromPointNoCache(document, 60, 60)
+PASS hitTestCountDelta() is 2
+PASS hitTestCacheHitsDelta() is 0
+PASS document.elementFromPoint(60,60) is internals.elementFromPointNoCache(document, 60, 60)
+PASS hitTestCountDelta() is 2
+PASS hitTestCacheHitsDelta() is 1
+
+Hit test fixed div after scroll
+---------------------
+PASS document.elementFromPoint(12,12) is internals.elementFromPointNoCache(document, 12, 12)
+PASS hitTestCountDelta() is 2
+PASS hitTestCacheHitsDelta() is 0
+PASS document.elementFromPoint(10,60) is internals.elementFromPointNoCache(document, 10, 60)
+PASS hitTestCountDelta() is 2
+PASS hitTestCacheHitsDelta() is 0
+PASS document.elementFromPoint(12,12) is internals.elementFromPointNoCache(document, 12, 12)
+PASS hitTestCountDelta() is 2
+PASS hitTestCacheHitsDelta() is 0
+
+Hit test after style change
+---------------------
+PASS document.elementFromPoint(12,12) is internals.elementFromPointNoCache(document, 12, 12)
+PASS hitTestCountDelta() is 2
+PASS hitTestCacheHitsDelta() is 0
+PASS document.elementFromPoint(12,12) is internals.elementFromPointNoCache(document, 12, 12)
+PASS hitTestCountDelta() is 2
+PASS hitTestCacheHitsDelta() is 0
+
+Hit test after dom manipulation
+---------------------
+PASS document.elementFromPoint(12,12) is internals.elementFromPointNoCache(document, 12, 12)
+PASS hitTestCountDelta() is 2
+PASS hitTestCacheHitsDelta() is 0
+PASS document.elementFromPoint(12,12) is internals.elementFromPointNoCache(document, 12, 12)
+PASS hitTestCountDelta() is 2
+PASS hitTestCacheHitsDelta() is 0
+PASS successfullyParsed is true
+
+TEST COMPLETE
+

Powered by Google App Engine
This is Rietveld 408576698