Index: third_party/WebKit/LayoutTests/intersection-observer/root-margin-expected.txt |
diff --git a/third_party/WebKit/LayoutTests/intersection-observer/root-margin-expected.txt b/third_party/WebKit/LayoutTests/intersection-observer/root-margin-expected.txt |
new file mode 100644 |
index 0000000000000000000000000000000000000000..355d4142fc002e95e58d4ec7b9854d7b7c5819bb |
--- /dev/null |
+++ b/third_party/WebKit/LayoutTests/intersection-observer/root-margin-expected.txt |
@@ -0,0 +1,52 @@ |
+CONSOLE MESSAGE: line 19: boundingClientRect=[912, 1012, 708, 808] |
+intersectionRect=[912, 942, 708, 808] |
+visibleRatio=0.3 |
+rootBounds=[-30, 942, -10, 819] |
+target=[object HTMLDivElement] |
+time=1449875.015 |
+CONSOLE MESSAGE: line 19: boundingClientRect=[912, 1012, -192, -92] |
+intersectionRect=[0, 0, 0, 0] |
+visibleRatio=0 |
+rootBounds=[-30, 942, -10, 819] |
+target=[object HTMLDivElement] |
+time=1449875.015 |
+Intersection observer test with root margin and implicit root. |
+ |
+On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE". |
+ |
+ |
+PASS entries.length is 0 |
+PASS entries.length is 1 |
+PASS entries[0].boundingClientRect.left is 912 |
+PASS entries[0].boundingClientRect.right is 1012 |
+PASS entries[0].boundingClientRect.top is 708 |
+PASS entries[0].boundingClientRect.bottom is 808 |
+PASS entries[0].intersectionRect.left is 912 |
+PASS entries[0].intersectionRect.right is 942 |
+PASS entries[0].intersectionRect.top is 708 |
+PASS entries[0].intersectionRect.bottom is 808 |
+PASS entries[0].rootBounds.left is -30 |
+PASS entries[0].rootBounds.right is 942 |
+PASS entries[0].rootBounds.top is -10 |
+PASS entries[0].rootBounds.bottom is 819 |
+PASS entries[0].target is [object Object] |
+PASS entries.length is 1 |
+PASS entries.length is 2 |
+PASS entries[1].boundingClientRect.left is 912 |
+PASS entries[1].boundingClientRect.right is 1012 |
+PASS entries[1].boundingClientRect.top is -192 |
+PASS entries[1].boundingClientRect.bottom is -92 |
+PASS entries[1].intersectionRect.left is 0 |
+PASS entries[1].intersectionRect.right is 0 |
+PASS entries[1].intersectionRect.top is 0 |
+PASS entries[1].intersectionRect.bottom is 0 |
+PASS entries[1].rootBounds.left is -30 |
+PASS entries[1].rootBounds.right is 942 |
+PASS entries[1].rootBounds.top is -10 |
+PASS entries[1].rootBounds.bottom is 819 |
+PASS entries[1].target is [object Object] |
+PASS successfullyParsed is true |
+ |
+TEST COMPLETE |
+ |
+ |