@@ -218,7 +218,7 @@ use-cases. Per-{{observe()}} options could be provided in the future if the need
218
218
interface IntersectionObserver {
219
219
constructor(IntersectionObserverCallback callback, optional IntersectionObserverInit options = {});
220
220
readonly attribute (Element or Document)? root;
221
- attribute DOMString rootMargin;
221
+ readonly attribute DOMString rootMargin;
222
222
attribute FrozenArray<double> thresholds;
223
223
undefined observe(Element target);
224
224
undefined unobserve(Element target);
@@ -279,14 +279,7 @@ interface IntersectionObserver {
279
279
this is not guaranteed to be identical to the |options|.{{IntersectionObserverInit/rootMargin}}
280
280
passed to the {{IntersectionObserver}} constructor. If no
281
281
{{IntersectionObserverInit/rootMargin}} was passed to the {{IntersectionObserver}}
282
- constructor, and the {{IntersectionObserver/rootMargin}} setter has not been invoked,
283
- the value of this attribute is "0px 0px 0px 0px".
284
-
285
- On setting, attempt to <a>parse a root margin</a>
286
- from the given value.
287
- If a list is returned,
288
- set |this|'s internal {{[[rootMargin]]}} slot to that.
289
- Otherwise, <a>throw</a> a {{SyntaxError}} exception.
282
+ constructor, the value of this attribute is "0px 0px 0px 0px".
290
283
: <dfn>thresholds</dfn>
291
284
::
292
285
On getting, returns {{[[thresholds]]}} , which is a list of thresholds,
0 commit comments