Skip to content

Commit 965a5af

Browse files
committed
[css-align-3] Better definition of how baseline self-alignment and content-alignment interact. #6389
1 parent 14f90cd commit 965a5af

File tree

1 file changed

+10
-3
lines changed

1 file changed

+10
-3
lines changed

css-align-3/Overview.bs

+10-3
Original file line numberDiff line numberDiff line change
@@ -647,9 +647,16 @@ Baseline Alignment: the ''baseline'' keyword and ''first''/''last'' modifiers</h
647647
which may affect the sizing of its container.
648648
See [[#baseline-align-self]].
649649

650-
If both <a>baseline content-alignment</a> <em>and</em> <a>baseline self-alignment</a> are specified in the same axis on the same box,
651-
only <a>baseline self-alignment</a> is honored in that axis;
652-
the content-alignment in that axis must be treated as ''start''.
650+
When [=baseline self-alignment=] is specified on a box,
651+
[=content distribution=] is performed first,
652+
then the resulting box and its contents
653+
are [=baseline self-alignment|self-aligned=]
654+
However, if the box also has [=baseline content-alignment=] in the same axis
655+
or if its [=content-distribution property=] in the same axis is ''normal'',
656+
its [=used value|used=] [=content-distribution property=] in that axis
657+
is ''align-content/start'' or ''safe end''
658+
for a [=baseline-alignment preference=] of its [=baseline self-alignment=]
659+
of “first” or “last”, respectively.
653660

654661
<p class='issue'>Add example images here.
655662

0 commit comments

Comments
 (0)