You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
3. Set |this| internal {{ResizeObservation/observedBox}} slot to |observedBox|
345
356
346
-
4. Set |this| internal {{ResizeObservation/lastReportedSize}} slot to (0,0)
357
+
4. Set |this| internal {{ResizeObservation/lastReportedSizes}} slot to [(0,0)]
347
358
348
359
: <dfn method lt="isActive()">isActive()</dfn>
349
360
::
350
361
351
362
1. Set |currentSize| by <a>calculate box size</a> given |target| and |observedBox|.
352
363
353
-
2. Return true if |currentSize| is not equal to this.{{ResizeObservation/lastReportedSize}}.
364
+
2. Return true if |currentSize| is not equal to the first entry in this.{{ResizeObservation/lastReportedSizes}}.
354
365
355
366
3. Return false.
356
367
@@ -467,13 +478,13 @@ run these steps:
467
478
468
479
2. Add |entry| to |entries|.
469
480
470
-
3. Set |observation|.{{lastReportedSize}} to matching |entry| size.
481
+
3. Set |observation|.{{lastReportedSizes}} to matching |entry| sizes.
471
482
472
-
1. Matching size is |entry|.{{ResizeObserverEntry/borderBoxSize}} if |observation|.{{ResizeObservation/observedBox}} is "border-box"
483
+
1. Matching sizes are |entry|.{{ResizeObserverEntry/borderBoxSize}} if |observation|.{{ResizeObservation/observedBox}} is "border-box"
473
484
474
-
2. Matching size is |entry|.{{ResizeObserverEntry/contentBoxSize}} if |observation|.{{ResizeObservation/observedBox}} is "content-box"
485
+
2. Matching sizes are |entry|.{{ResizeObserverEntry/contentBoxSize}} if |observation|.{{ResizeObservation/observedBox}} is "content-box"
475
486
476
-
3. Matching size is |entry|.{{ResizeObserverEntry/devicePixelContentBoxSize}} if |observation|.{{ResizeObservation/observedBox}} is "device-pixel-content-box"
487
+
3. Matching sizes are |entry|.{{ResizeObserverEntry/devicePixelContentBoxSize}} if |observation|.{{ResizeObservation/observedBox}} is "device-pixel-content-box"
477
488
478
489
4. Set |targetDepth| to the result of <a>calculate depth for node</a> for |observation|.{{ResizeObservation/target}}.
0 commit comments