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

Side by Side 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 unified diff | Download patch
OLDNEW
(Empty)
1
2
3
4
5 Ensure hit test cache works in correct scenarios of scrolling, dom and style cha nges.
6
7 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
8
9
10 PASS successfullyParsed is true
11
12 TEST COMPLETE
13 PASS successfullyParsed is true
14
15 TEST COMPLETE
16 Hit test main div
17 ---------------------
18 PASS document.elementFromPoint(60,60) is internals.clearHitTestCache(document); internals.elementFromPoint(document, 60, 60, false, false)
19 PASS hitTestCountDelta() is 2
20 PASS hitTestCacheHitsDelta() is 0
21 PASS document.elementFromPoint(60,60) is internals.clearHitTestCache(document); internals.elementFromPoint(document, 60, 60, false, false)
22 PASS hitTestCountDelta() is 2
23 PASS hitTestCacheHitsDelta() is 1
24
25 Hit test fixed div after scroll
26 ---------------------
27 PASS document.elementFromPoint(12,12) is internals.clearHitTestCache(document); internals.elementFromPoint(document, 12, 12, false, false)
28 PASS hitTestCountDelta() is 2
29 PASS hitTestCacheHitsDelta() is 0
30 PASS document.elementFromPoint(10,60) is internals.clearHitTestCache(document); internals.elementFromPoint(document, 10, 60, false, false)
31 PASS hitTestCountDelta() is 2
32 PASS hitTestCacheHitsDelta() is 0
33 PASS document.elementFromPoint(12,12) is internals.clearHitTestCache(document); internals.elementFromPoint(document, 12, 12, false, false)
34 PASS hitTestCountDelta() is 2
35 PASS hitTestCacheHitsDelta() is 0
36
37 Hit test after style change
38 ---------------------
39 PASS document.elementFromPoint(12,12) is internals.clearHitTestCache(document); internals.elementFromPoint(document, 12, 12, false, false)
40 PASS hitTestCountDelta() is 2
41 PASS hitTestCacheHitsDelta() is 0
42 PASS document.elementFromPoint(12,12) is internals.clearHitTestCache(document); internals.elementFromPoint(document, 12, 12, false, false)
43 PASS hitTestCountDelta() is 2
44 PASS hitTestCacheHitsDelta() is 0
45
46 Hit test after dom manipulation
47 ---------------------
48 PASS document.elementFromPoint(12,12) is internals.clearHitTestCache(document); internals.elementFromPoint(document, 12, 12, false, false)
49 PASS hitTestCountDelta() is 2
50 PASS hitTestCacheHitsDelta() is 0
51 PASS document.elementFromPoint(12,12) is internals.clearHitTestCache(document); internals.elementFromPoint(document, 12, 12, false, false)
52 PASS hitTestCountDelta() is 2
53 PASS hitTestCacheHitsDelta() is 0
54
55 Hit test iframe; ensuring child co-ordinates are not in parent cache
56 ---------------------
57 PASS internals.elementFromPoint(document, 25, 80, false, true) is internals.clea rHitTestCache(document); internals.elementFromPoint(document, 25, 80, false, tru e)
58 PASS internals.elementFromPoint(document, 15, 40, false, true) is internals.clea rHitTestCache(document); internals.elementFromPoint(document, 15, 40, false, tru e)
59 PASS successfullyParsed is true
60
61 TEST COMPLETE
62
OLDNEW
« 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