Skip to content

Commit

Permalink
Merge pull request #107 from WICG/no-missing-root-exceptions
Browse files Browse the repository at this point in the history
Don't specify behavior of observer with invalid root.
  • Loading branch information
szager-chromium committed Feb 25, 2016
2 parents e2d355f + 0e8bde7 commit 0c10deb
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 8 deletions.
5 changes: 0 additions & 5 deletions index.bs
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,6 @@ urlPrefix: https://heycam.github.io/webidl/
urlPrefix: #dfn-; type:dfn; text: throw
urlPrefix: #idl-; type:interface; text: double
url: #hierarchyrequesterror; type: exception; text: HierarchyRequestError
url: #invalidstateerror; type: exception; text: InvalidStateError
urlPrefix: https://drafts.csswg.org/css-box/
url: #viewport; type: dfn; text: viewport
url: #containing-block; type: dfn; text: containing block
Expand Down Expand Up @@ -638,10 +637,6 @@ An {{IntersectionObserver}} will continue observing a target until any of the fo
<li>The observer's <a>intersection root</a> is deleted.
</ul>

If an {{IntersectionObserver}}'s <a>intersection root</a> is deleted
while there are still JavaScript references to the observer,
calling any API method on the observer will <a>throw</a> an {{InvalidStateError}}.

<h3 id='external-spec-integrations'>
External Spec Integrations</h3>

Expand Down
3 changes: 0 additions & 3 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -1923,9 +1923,6 @@ <h3 class="heading settled" data-level="3.3" id="lifetime"><span class="secno">3
<li>The target <code class="idl"><a data-link-type="idl" href="https://dom.spec.whatwg.org/#element">Element</a></code> is deleted.
<li>The observer’s <a data-link-type="dfn" href="#intersectionobserver-intersection-root">intersection root</a> is deleted.
</ul>
<p>If an <code class="idl"><a data-link-type="idl" href="#intersectionobserver">IntersectionObserver</a></code>'s <a data-link-type="dfn" href="#intersectionobserver-intersection-root">intersection root</a> is deleted
while there are still JavaScript references to the observer,
calling any API method on the observer will <a data-link-type="dfn" href="https://heycam.github.io/webidl/#dfn-throw">throw</a> an <code class="idl"><a data-link-type="idl" href="https://heycam.github.io/webidl/#invalidstateerror">InvalidStateError</a></code>.</p>
<h3 class="heading settled" data-level="3.4" id="external-spec-integrations"><span class="secno">3.4. </span><span class="content"> External Spec Integrations</span><a class="self-link" href="#external-spec-integrations"></a></h3>
<h4 class="heading settled" data-level="3.4.1" id="event-loop"><span class="secno">3.4.1. </span><span class="content"> HTML Processing Model: Event Loop</span><a class="self-link" href="#event-loop"></a></h4>
<p>An <a data-link-type="dfn" href="#intersection-observer">Intersection Observer</a> processing step should take place
Expand Down

0 comments on commit 0c10deb

Please sign in to comment.