Skip to content

Commit 149f6f5

Browse files
committed
[css-anchor-position] Explicitly specify that fallback styles are applied as part of a new origin, to make it clearer they win over element-attached styles. w3c#9149
1 parent 1bbd577 commit 149f6f5

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

css-anchor-position-1/Overview.bs

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1367,14 +1367,17 @@ These modified styles are applied to the element via [=interleaving=],
13671367
so they affect [=computed values=]
13681368
(and can trigger transitions/etc)
13691369
even tho they depend on layout and [=used values=].
1370-
They are applied as part of the [=author origin=],
1371-
as part of a theoretical UA-controlled final cascade layer.
1370+
1371+
They are applied as <dfn export>position fallback origin</dfn>,
1372+
a new [=cascade origin=] positioned between the [=author origin=]
1373+
and the [=animation origin=].
13721374

13731375
<div algorithm>
13741376
To <dfn>apply a position option</dfn> to an element |el|,
13751377
given a [=position option=] |new styles|:
13761378

1377-
1. With |new styles| inserted into the cascade at the very end of the [=author origin=],
1379+
1. With |new styles| inserted into the cascade
1380+
in the [=position fallback origin=],
13781381
resolve the cascade,
13791382
and perform enough layout to determine |el|'s [=used value|used styles=].
13801383

0 commit comments

Comments
 (0)