File tree Expand file tree Collapse file tree 1 file changed +14
-5
lines changed Expand file tree Collapse file tree 1 file changed +14
-5
lines changed Original file line number Diff line number Diff line change @@ -1561,11 +1561,20 @@ laying out later elements cannot change this decision.
1561
1561
Layout does not "go backward", in other words.
1562
1562
</div>
1563
1563
1564
- At the time that {{ResizeObserver}} events are determined and delivered,
1565
- if an element has a [=last successful position option=]
1566
- but is not an [=absolutely positioned=] element,
1567
- remove its [=last successful position option=] .
1568
- (This is intentionally identical to the treatment of [=last remembered sizes=] .)
1564
+ <div algorithm="forget the last rememberd @position-try option">
1565
+ At the time that {{ResizeObserver}} events are determined and delivered,
1566
+ if an element |el| has a [=last successful position option=]
1567
+ and if any of the following are true of it,
1568
+ remove its [=last successful position option=] :
1569
+
1570
+ * |el| is not an [=absolutely positioned=] element
1571
+ * |el|'s computed value for ' position-try-options' has changed
1572
+ * Any of the ''@position-try'' rules referenced by |el|'s ' position-try-options'
1573
+ have been added, removed, or mutated.
1574
+
1575
+ Note: The timing of this removal
1576
+ is intentionally identical to the treatment of [=last remembered sizes=] .
1577
+ </div>
1569
1578
1570
1579
Issue: Make sure the snapshotted scroll offset stuff is correct now,
1571
1580
given interleaving.
You can’t perform that action at this time.
0 commit comments