@@ -247,7 +247,7 @@ callback ResizeObserverCallback = undefined (sequence<ResizeObserverEntry> en
247
247
</pre>
248
248
249
249
This callback delivers {{ResizeObserver}} 's notifications. It is invoked by a
250
- <a>broadcast active observations</a> algorithm.
250
+ <a>broadcast active resize observations</a> algorithm.
251
251
252
252
<h3 id="resize-observer-entry-interface">ResizeObserverEntry</h3>
253
253
@@ -396,9 +396,9 @@ Content rect for the <a>SVGGraphicsElement</a>s without CSS layout boxes is a re
396
396
397
397
<h3 id="algorithms">Algorithms</h3>
398
398
399
- <h4 id="gather-active-observations-h">Gather active observations at depth</h4>
399
+ <h4 id="gather-active-observations-h">Gather active resize observations at depth</h4>
400
400
401
- It computes all active observations for a |document|. To <dfn>gather active observations at depth</dfn> , run these steps:
401
+ It computes all active resize observations for a |document|. To <dfn>gather active resize observations at depth</dfn> , run these steps:
402
402
403
403
1. Let |depth| be the depth passed in.
404
404
@@ -416,19 +416,19 @@ It computes all active observations for a |document|. To <dfn>gather active obse
416
416
417
417
3. Else add |observation| to {{ResizeObserver/[[skippedTargets]]}} .
418
418
419
- <h4 id="has-active-observations-h">Has active observations</h4>
419
+ <h4 id="has-active-observations-h">Has active resize observations</h4>
420
420
421
- To determine if {{Document}} <dfn>has active observations</dfn> run these steps:
421
+ To determine if {{Document}} <dfn>has active resize observations</dfn> run these steps:
422
422
423
423
1. For each |observer| in {{Document/[[resizeObservers]]}} run this step:
424
424
425
425
1. If |observer|.{{ResizeObserver/[[activeTargets]]}} is not empty, return true.
426
426
427
427
2. return false.
428
428
429
- <h4 id="has-skipped-observations-h">Has skipped observations</h4>
429
+ <h4 id="has-skipped-observations-h">Has skipped resize observations</h4>
430
430
431
- To determine if {{Document}} <dfn>has skipped observations</dfn> run these steps:
431
+ To determine if {{Document}} <dfn>has skipped resize observations</dfn> run these steps:
432
432
433
433
1. For each |observer| in {{Document/[[resizeObservers]]}} run this step:
434
434
@@ -466,13 +466,13 @@ run these steps:
466
466
467
467
1. Set |this|.|contentRect|.top and |this|.contentRect.left to 0.
468
468
469
- <h4 id="broadcast-resize-notifications-h">Broadcast active observations</h4>
469
+ <h4 id="broadcast-resize-notifications-h">Broadcast active resize observations</h4>
470
470
471
- <dfn>broadcast active observations</dfn> delivers all active observations
472
- in a document, and returns the depth of the shallowest broadcast target depth.
471
+ <dfn>broadcast active resize observations</dfn> delivers all active resize
472
+ observations in a document, and returns the depth of the shallowest broadcast
473
+ target depth.
473
474
474
- To broadcast active observations for a |document|,
475
- run these steps:
475
+ To broadcast active resize observations for a |document|, run these steps:
476
476
477
477
1. Let |shallowestTargetDepth| be ∞
478
478
@@ -635,18 +635,18 @@ For each fully active Document in docs, run the following steps for that Documen
635
635
636
636
3. Set |depth| to 0
637
637
638
- 4. <a>Gather active observations at depth</a> |depth| for {{Document}}
638
+ 4. <a>Gather active resize observations at depth</a> |depth| for {{Document}}
639
639
640
- 5. Repeat while document <a>has active observations</a>
640
+ 5. Repeat while document <a>has active resize observations</a>
641
641
642
- 2. Set |depth| to <a>broadcast active observations</a> .
642
+ 2. Set |depth| to <a>broadcast active resize observations</a> .
643
643
644
644
3. Recalc styles
645
645
646
646
4. Update layout
647
647
648
- 5. <a>Gather active observations at depth</a> |depth| for {{Document}}
648
+ 5. <a>Gather active resize observations at depth</a> |depth| for {{Document}}
649
649
650
- 6. If {{Document}} <a>has skipped observations</a> then <a>deliver resize loop error notification</a>
650
+ 6. If {{Document}} <a>has skipped resize observations</a> then <a>deliver resize loop error notification</a>
651
651
652
652
7. Update the rendering or user interface of {{Document}} and its browsing context to reflect the current state.
0 commit comments