Skip to content

Commit 0c3a097

Browse files
committed
[css-position-3] Clarify alignment mapping for abspos insets. w3c#6607
1 parent 46ccca9 commit 0c3a097

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

css-position-3/Overview.bs

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -718,9 +718,7 @@ Absolute (and Fixed) Positioning</h3>
718718
If only one [=inset property=] in a given axis is ''top/auto'',
719719
it is set to zero.
720720
If both [=inset properties=] in a given axis are ''top/auto'', then,
721-
depending on the box’s [=self-alignment property=] in the relevant axis
722-
(treating ''align-self/normal'' as ''align-self/start''
723-
and any [=distributed alignment|distributed=], [=baseline alignment|baseline=], or ''align-self/stretch'' alignment value as its fallback alignment):
721+
depending on the box’s [=self-alignment property=] in the relevant axis:
724722

725723
<dl class=switch>
726724
<dt>for ''align-self/self-start'' alignment or its equivalent
@@ -751,6 +749,12 @@ Absolute (and Fixed) Positioning</h3>
751749
(<var>containing block size</var> - 2 &times; |<var>end distance</var>|).
752750
</dl>
753751

752+
For the rules above,
753+
ignore [=overflow alignment=],
754+
and treat ''align-self/normal'' as ''align-self/start''
755+
and any [=baseline alignment|baseline=] or ''align-self/stretch'' alignment value
756+
as its fallback alignment.
757+
754758
If these adjustments result in
755759
an effective [=containing block=] size in any axis less than zero,
756760
then the [=weaker inset=] in the affected axis

0 commit comments

Comments
 (0)