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

Unified Diff: third_party/WebKit/LayoutTests/intersection-observer/unclipped-root-expected.txt

Issue 1814553003: IntersectionObserver: use border box rect for unclipped root. (Closed) Base URL: https://chromium.googlesource.com/chromium/src@intersection-observer-idle-callback
Patch Set: rebase Created 4 years, 8 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: third_party/WebKit/LayoutTests/intersection-observer/unclipped-root-expected.txt
diff --git a/third_party/WebKit/LayoutTests/intersection-observer/unclipped-root-expected.txt b/third_party/WebKit/LayoutTests/intersection-observer/unclipped-root-expected.txt
new file mode 100644
index 0000000000000000000000000000000000000000..71764f4aba8d79da162121b824c6c85a77e9432c
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/intersection-observer/unclipped-root-expected.txt
@@ -0,0 +1,25 @@
+Test that border bounding box is used to calculate intersection with a non-scrolling root.
+
+On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
+
+
+PASS entries.length is 0
+PASS entries.length is 0
+PASS entries.length is 1
+PASS entries[0].boundingClientRect.left is 15
+PASS entries[0].boundingClientRect.right is 115
+PASS entries[0].boundingClientRect.top is 210
+PASS entries[0].boundingClientRect.bottom is 310
+PASS entries[0].intersectionRect.left is 15
+PASS entries[0].intersectionRect.right is 115
+PASS entries[0].intersectionRect.top is 210
+PASS entries[0].intersectionRect.bottom is 222
+PASS entries[0].rootBounds.left is 8
+PASS entries[0].rootBounds.right is 222
+PASS entries[0].rootBounds.top is 8
+PASS entries[0].rootBounds.bottom is 222
+PASS entries[0].target is [object HTMLDivElement]
+PASS successfullyParsed is true
+
+TEST COMPLETE
+

Powered by Google App Engine
This is Rietveld 408576698