Skip to content

Commit 172ed3c

Browse files
committed
[css-anchor-position-1] Move the 'use scrollable CB instead of local' to the presence of a default anchor, rather than the use of position-area or anchor-center, per WG resolution. #12552
1 parent 213e93c commit 172ed3c

1 file changed

Lines changed: 7 additions & 8 deletions

File tree

css-anchor-position-1/Overview.bs

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -573,6 +573,12 @@ is the box's <dfn>default anchor box</dfn>.
573573
</pre>
574574
</div>
575575

576+
If an element has a [=default anchor element=],
577+
then the [=scrollable containing block=] is used in place of the [=local containing block=]
578+
when the [=absolute-position containing block=] is generated by a [=scroll container=],
579+
so that the entire [=scrollable overflow area=] (typically) is available
580+
for positioning.
581+
576582
### Implicit Anchor Elements ### {#implicit}
577583

578584
Some specifications can define that,
@@ -687,10 +693,6 @@ what area of this [=position-area grid=] to lay out the positioned box in.
687693

688694
Values other than ''position-area/none'' have the following additional effects:
689695

690-
* The [=scrollable containing block=] is used in place of the [=local containing block=]
691-
when the [=absolute-position containing block=] is generated by a [=scroll container=],
692-
so that the entire [=scrollable overflow area=] (typically) is available
693-
for positioning.
694696
* The [=used value=] of any ''top/auto'' [=inset properties=]
695697
and ''margin/auto'' [=margin properties=]
696698
resolves to ''0''.
@@ -1366,10 +1368,7 @@ then it is centered (insofar as possible)
13661368
over the [=default anchor box=]
13671369
in the relevant axis.
13681370
Additionally:
1369-
* The [=scrollable containing block=] is used in place of the [=local containing block=]
1370-
where applicable,
1371-
so that the entire [=scrollable overflow area=] (typically) is available
1372-
for positioning.
1371+
13731372
* The [=used value=] of any ''top/auto'' [=inset properties=]
13741373
and ''margin/auto'' [=margin properties=]
13751374
resolves to ''0''.

0 commit comments

Comments
 (0)