Skip to content

Commit 5326ee9

Browse files
committed
[css-anchor-position-1] Clarify when last successful position is cleared. #12577
1 parent 4ee2ed1 commit 5326ee9

1 file changed

Lines changed: 9 additions & 6 deletions

File tree

css-anchor-position-1/Overview.bs

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2141,12 +2141,15 @@ laying out later boxes cannot change this decision.
21412141
that it's currently using.
21422142

21432143
* Otherwise, if |el| has a [=last successful position option=]
2144-
and if any of the following are true of it,
2145-
remove its [=last successful position option=]:
2146-
2147-
* |el| is not [=absolutely positioned=]
2148-
* |el|'s computed value for 'position-try-fallbacks' has changed
2149-
* Any of the ''@position-try'' rules referenced by |el|'s 'position-try-fallbacks'
2144+
remove its [=last successful position option=]
2145+
if any of the following are true:
2146+
2147+
* its computed 'position' value has changed,
2148+
its [=containing block=] has changed,
2149+
or it no longer generates a box
2150+
* its computed value for any [=longhand property|longhand=] of 'position-try' has changed
2151+
* its computed value for any [=@position-try property=] has changed
2152+
* Any of the ''@position-try'' rules referenced by it
21502153
have been added, removed, or mutated.
21512154

21522155
Then, [=determine position fallback styles=] for |el|

0 commit comments

Comments
 (0)