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

Unified Diff: third_party/WebKit/LayoutTests/http/tests/intersection-observer/iframe-cross-origin-expected.txt

Issue 1615573002: Set rootBounds to null for cross-origin observations. (Closed) Base URL: https://chromium.googlesource.com/chromium/src@master
Patch Set: Get rid of js-test.js monkey patching Created 4 years, 11 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/http/tests/intersection-observer/iframe-cross-origin-expected.txt
diff --git a/third_party/WebKit/LayoutTests/http/tests/intersection-observer/iframe-cross-origin-expected.txt b/third_party/WebKit/LayoutTests/http/tests/intersection-observer/iframe-cross-origin-expected.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ecc0a10c47c6fdeae201e1ea4ce1488dc5366343
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/http/tests/intersection-observer/iframe-cross-origin-expected.txt
@@ -0,0 +1,42 @@
+Simple intersection observer test with no explicit root and target in a cross-origin iframe.
+
+On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
+
+
+PASS actual.length is 0
+PASS actual.length is 0
+PASS actual.length is 1
+PASS actual.boundingClientRect.left is 18
+PASS actual.boundingClientRect.top is 468
+PASS actual.boundingClientRect.right is 118
+PASS actual.boundingClientRect.bottom is 568
+PASS actual.boundingClientRect.width is 100
+PASS actual.boundingClientRect.height is 100
+PASS actual.intersectionRect.left is 18
+PASS actual.intersectionRect.top is 510
+PASS actual.intersectionRect.right is 118
+PASS actual.intersectionRect.bottom is 568
+PASS actual.intersectionRect.width is 100
+PASS actual.intersectionRect.height is 58
+PASS actual.rootBounds is null
+PASS actual.target is "target"
+PASS actual.length is 1
+PASS actual.boundingClientRect.left is 18
+PASS actual.boundingClientRect.top is 568
+PASS actual.boundingClientRect.right is 118
+PASS actual.boundingClientRect.bottom is 668
+PASS actual.boundingClientRect.width is 100
+PASS actual.boundingClientRect.height is 100
+PASS actual.intersectionRect.left is 0
+PASS actual.intersectionRect.top is 0
+PASS actual.intersectionRect.right is 0
+PASS actual.intersectionRect.bottom is 0
+PASS actual.intersectionRect.width is 0
+PASS actual.intersectionRect.height is 0
+PASS actual.rootBounds is null
+PASS actual.target is "target"
+PASS successfullyParsed is true
+
+TEST COMPLETE
+
+

Powered by Google App Engine
This is Rietveld 408576698