Skip to content

Commit 960d1ff

Browse files
committed
[css-position-4][editorial] Invoke the removal algorithm rather than duplicating some text. whatwg/html#11246 (comment)
1 parent 7d8e16b commit 960d1ff

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

css-position-4/Overview.bs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -619,8 +619,7 @@ Top Layer Manipulation {#top-manip}
619619
1. For each element |el| in |doc|'s [=pending top layer removals=]:
620620
if |el|'s computed value of 'overlay' is ''none'',
621621
or |el| is [=not rendered=],
622-
[=set/remove=] |el| from |doc|'s [=Document/top layer=]
623-
and [=pending top layer removals=].
622+
[=remove from the top layer immediately=] |el|.
624623

625624
Note: This is intended to be called during the "Update the Rendering" step
626625
of HTML's rendering algorithm.
@@ -720,4 +719,4 @@ remove a running [=transition=] on 'overlay'.
720719
The conditions for this are intentionally undefined.
721720
<span class=note>(This is to prevent potential abuse scenarios
722721
where a ''transition: overlay 1e9s;'' or similar
723-
attempts to keep an element in the [=Document/top layer=] permanently.)</span>
722+
attempts to keep an element in the [=Document/top layer=] permanently.)</span>

0 commit comments

Comments
 (0)