Index: third_party/WebKit/LayoutTests/intersection-observer/observer-attributes.html |
diff --git a/third_party/WebKit/LayoutTests/intersection-observer/observer-attributes.html b/third_party/WebKit/LayoutTests/intersection-observer/observer-attributes.html |
index 95b9494b3b145f05b4172d402f8097545e8562c8..322497f8265bdf93368839c318b5a1d1ce5673ea 100644 |
--- a/third_party/WebKit/LayoutTests/intersection-observer/observer-attributes.html |
+++ b/third_party/WebKit/LayoutTests/intersection-observer/observer-attributes.html |
@@ -7,6 +7,7 @@ |
var observer = new IntersectionObserver(function(e) {}, {}); |
shouldBeNull("observer.root"); |
+ shouldBe("observer.thresholds", "[0]"); |
shouldBeEqualToString("observer.rootMargin", "0px 0px 0px 0px"); |
observer = new IntersectionObserver(function(e) {}, { |
@@ -15,5 +16,6 @@ |
rootMargin: "10% 20px" |
}); |
shouldBe("observer.root", "rootDiv"); |
+ shouldBe("observer.thresholds", "[0, 0.25, 0.5, 1.0]"); |
shouldBeEqualToString("observer.rootMargin", "10% 20px 10% 20px"); |
</script> |