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

Side by Side Diff: third_party/WebKit/LayoutTests/intersection-observer/display-none-expected.txt

Issue 2149033003: IntersectionObserver: send notifications when objects disappear. (Closed) Base URL: https://chromium.googlesource.com/chromium/src@master
Patch Set: Created 4 years, 5 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
1 Test that notifications are sent correctly when root and/or target are removed f rom the DOM tree. 1 Test that setting display:none will send a not-intersecting notification.
2 2
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ". 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
4 4
5 5
6 PASS entries.length is 0 6 PASS entries.length is 0
7 PASS entries.length is 0
8 PASS entries.length is 0
7 PASS entries.length is 1 9 PASS entries.length is 1
8 PASS entries[0].boundingClientRect.left is 11 10 PASS entries[0].boundingClientRect.left is 11
9 PASS entries[0].boundingClientRect.right is 111 11 PASS entries[0].boundingClientRect.right is 111
10 PASS entries[0].boundingClientRect.top is 161 12 PASS entries[0].boundingClientRect.top is 261
11 PASS entries[0].boundingClientRect.bottom is 261 13 PASS entries[0].boundingClientRect.bottom is 361
12 PASS entries[0].intersectionRect.left is 11 14 PASS entries[0].intersectionRect.left is 11
13 PASS entries[0].intersectionRect.right is 111 15 PASS entries[0].intersectionRect.right is 111
14 PASS entries[0].intersectionRect.top is 161 16 PASS entries[0].intersectionRect.top is 261
15 PASS entries[0].intersectionRect.bottom is 211 17 PASS entries[0].intersectionRect.bottom is 311
16 PASS entries[0].rootBounds.left is 11 18 PASS entries[0].rootBounds.left is 11
17 PASS entries[0].rootBounds.right is 111 19 PASS entries[0].rootBounds.right is 111
18 PASS entries[0].rootBounds.top is 11 20 PASS entries[0].rootBounds.top is 111
19 PASS entries[0].rootBounds.bottom is 211 21 PASS entries[0].rootBounds.bottom is 311
20 PASS entries[0].target is [object HTMLDivElement] 22 PASS entries[0].target is [object HTMLDivElement]
21 PASS entries.length is 2 23 PASS entries.length is 2
22 PASS entries[1].boundingClientRect.left is 0 24 PASS entries[1].boundingClientRect.left is 0
23 PASS entries[1].boundingClientRect.right is 0 25 PASS entries[1].boundingClientRect.right is 0
24 PASS entries[1].boundingClientRect.top is 0 26 PASS entries[1].boundingClientRect.top is 0
25 PASS entries[1].boundingClientRect.bottom is 0 27 PASS entries[1].boundingClientRect.bottom is 0
26 PASS entries[1].intersectionRect.left is 0 28 PASS entries[1].intersectionRect.left is 0
27 PASS entries[1].intersectionRect.right is 0 29 PASS entries[1].intersectionRect.right is 0
28 PASS entries[1].intersectionRect.top is 0 30 PASS entries[1].intersectionRect.top is 0
29 PASS entries[1].intersectionRect.bottom is 0 31 PASS entries[1].intersectionRect.bottom is 0
30 PASS entries[1].rootBounds.left is 0 32 PASS entries[1].rootBounds.left is 0
31 PASS entries[1].rootBounds.right is 0 33 PASS entries[1].rootBounds.right is 0
32 PASS entries[1].rootBounds.top is 0 34 PASS entries[1].rootBounds.top is 0
33 PASS entries[1].rootBounds.bottom is 0 35 PASS entries[1].rootBounds.bottom is 0
34 PASS entries[1].target is [object HTMLDivElement] 36 PASS entries[1].target is [object HTMLDivElement]
35 PASS entries.length is 2
36 PASS entries.length is 3 37 PASS entries.length is 3
37 PASS entries[2].boundingClientRect.left is 11 38 PASS entries[2].boundingClientRect.left is 11
38 PASS entries[2].boundingClientRect.right is 111 39 PASS entries[2].boundingClientRect.right is 111
39 PASS entries[2].boundingClientRect.top is 161 40 PASS entries[2].boundingClientRect.top is 261
40 PASS entries[2].boundingClientRect.bottom is 261 41 PASS entries[2].boundingClientRect.bottom is 361
41 PASS entries[2].intersectionRect.left is 11 42 PASS entries[2].intersectionRect.left is 11
42 PASS entries[2].intersectionRect.right is 111 43 PASS entries[2].intersectionRect.right is 111
43 PASS entries[2].intersectionRect.top is 161 44 PASS entries[2].intersectionRect.top is 261
44 PASS entries[2].intersectionRect.bottom is 211 45 PASS entries[2].intersectionRect.bottom is 311
45 PASS entries[2].rootBounds.left is 11 46 PASS entries[2].rootBounds.left is 11
46 PASS entries[2].rootBounds.right is 111 47 PASS entries[2].rootBounds.right is 111
47 PASS entries[2].rootBounds.top is 11 48 PASS entries[2].rootBounds.top is 111
48 PASS entries[2].rootBounds.bottom is 211 49 PASS entries[2].rootBounds.bottom is 311
49 PASS entries[2].target is [object HTMLDivElement] 50 PASS entries[2].target is [object HTMLDivElement]
50 PASS successfullyParsed is true 51 PASS successfullyParsed is true
51 52
52 TEST COMPLETE 53 TEST COMPLETE
53 54
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698