@@ -218,7 +218,7 @@ use-cases. Per-{{observe()}} options could be provided in the future if the need
218218interface IntersectionObserver {
219219 constructor(IntersectionObserverCallback callback, optional IntersectionObserverInit options = {});
220220 readonly attribute (Element or Document)? root;
221- attribute DOMString rootMargin;
221+ readonly attribute DOMString rootMargin;
222222 attribute FrozenArray<double> thresholds;
223223 undefined observe(Element target);
224224 undefined unobserve(Element target);
@@ -279,14 +279,7 @@ interface IntersectionObserver {
279279 this is not guaranteed to be identical to the |options|.{{IntersectionObserverInit/rootMargin}}
280280 passed to the {{IntersectionObserver}} constructor. If no
281281 {{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".
290283 : <dfn>thresholds</dfn>
291284 ::
292285 On getting, returns {{[[thresholds]]}} , which is a list of thresholds,
0 commit comments