Skip to content

Commit cc4d964

Browse files
Merge pull request #336 from dbaron/cleanup-integration
Clean up integration with HTML now that HTML references IntersectionObserver
2 parents 12a3efc + 8adce2b commit cc4d964

File tree

1 file changed

+6
-13
lines changed

1 file changed

+6
-13
lines changed

index.bs

+6-13
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,8 @@ urlPrefix: https://html.spec.whatwg.org/multipage/
3939
type: dfn; text: queue a task
4040
type: dfn; text: run the fullscreen rendering steps
4141
type: dfn; text: run the animation frame callbacks
42+
url: #processing-model-8; type: dfn; text: HTML Event Loops Processing Model
4243
type: dfn; text: relevant settings object
43-
url: #event-loop-processing-model; type: dfn; text: HTML Processing Model
4444
url: #concept-environment-top-level-origin; type: dfn; text: top-level origin
4545
urlPrefix: infrastructure.html;
4646
url: #dfn-callback-this-value; type: dfn; text: callback this value
@@ -645,8 +645,8 @@ run these steps:
645645
<h4 id='update-intersection-observations-algo'>
646646
Run the Update Intersection Observations Steps</h4>
647647

648-
To <dfn>run the update intersection observations steps</dfn> for a
649-
{{document}} |document| given a timestamp |time|, run these steps:
648+
To <dfn export>run the update intersection observations steps</dfn> for a
649+
<a>Document</a> |document| given a timestamp |time|, run these steps:
650650

651651
1. Let |observer list| be a list of all {{IntersectionObserver}}s
652652
whose {{IntersectionObserver/root}} is in the DOM tree of |document|.
@@ -711,16 +711,9 @@ External Spec Integrations</h3>
711711
<h4 id='event-loop'>
712712
HTML Processing Model: Event Loop</h4>
713713

714-
An <a>Intersection Observer</a> processing step should take place
715-
during the "<i>Update the rendering</i>" steps,
716-
after step 12, <a>run the animation frame callbacks</a>,
717-
in the in the <a>HTML Processing Model</a>.
718-
719-
This step is:
720-
721-
<ol start="13">
722-
<li>For each <a>fully active</a> {{document}} in |docs|, <a>Run the update intersection observations steps</a> for that {{document}}, passing in |now| as the timestamp.</li>
723-
</ol>
714+
An Intersection Observer processing step exists as a substep
715+
within the "<i>Update the rendering</i>" step,
716+
in the <a>HTML Event Loops Processing Model</a>.
724717

725718
<h4 id='pending-initial-observation'>Pending initial IntersectionObserver targets</h4>
726719
A {{document}} is said to have <dfn>pending initial IntersectionObserver targets</dfn>

0 commit comments

Comments
 (0)