Skip to content

Commit 6baeba8

Browse files
committed
[css-align] Clarify what justify-self:auto does on a root element.
1 parent bebbd59 commit 6baeba8

2 files changed

Lines changed: 8 additions & 4 deletions

File tree

css-align/Overview.bs

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -624,7 +624,8 @@ Inline/Main-Axis Alignment: the 'justify-self' property</h3>
624624
The <dfn value for="justify-self">auto</dfn> keyword computes to
625625
itself on absolutely-positioned elements,
626626
and to the computed value of 'justify-items' on the parent
627-
(minus any ''legacy'' keywords) on all other boxes.
627+
(minus any ''legacy'' keywords) on all other boxes,
628+
or ''start'' if the box has no parent.
628629

629630
<hr>
630631

@@ -724,7 +725,8 @@ Block/Cross-Axis Alignment: the 'align-self' property</h3>
724725
The <dfn value for="align-self">auto</dfn> keyword computes to
725726
itself on absolutely-positioned elements,
726727
and to the computed value of 'align-items' on the parent
727-
(minus any ''legacy'' keywords) on all other boxes.
728+
(minus any ''legacy'' keywords) on all other boxes,
729+
or ''start'' if the box has no parent.
728730

729731
<hr>
730732

css-align/Overview.html

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1274,7 +1274,8 @@ <h3 class="heading settled" data-level="5.1" id="justify-self-property"><span cl
12741274
<p>The <dfn class="css" data-dfn-for="justify-self" data-dfn-type="value" data-export="" id="valdef-justify-self-auto">auto<a class="self-link" href="#valdef-justify-self-auto"></a></dfn> keyword computes to
12751275
itself on absolutely-positioned elements,
12761276
and to the computed value of <a class="property" data-link-type="propdesc" href="#propdef-justify-items">justify-items</a> on the parent
1277-
(minus any <a class="css" data-link-type="maybe" href="#valdef-justify-items-legacy">legacy</a> keywords) on all other boxes.</p>
1277+
(minus any <a class="css" data-link-type="maybe" href="#valdef-justify-items-legacy">legacy</a> keywords) on all other boxes,
1278+
or <a class="css" data-link-type="maybe" href="#valdef-item-position-content-position-start">start</a> if the box has no parent.</p>
12781279

12791280

12801281

@@ -1447,7 +1448,8 @@ <h3 class="heading settled" data-level="5.2" id="align-self-property"><span clas
14471448
<p>The <dfn class="css" data-dfn-for="align-self" data-dfn-type="value" data-export="" id="valdef-align-self-auto">auto<a class="self-link" href="#valdef-align-self-auto"></a></dfn> keyword computes to
14481449
itself on absolutely-positioned elements,
14491450
and to the computed value of <a class="property" data-link-type="propdesc" href="#propdef-align-items">align-items</a> on the parent
1450-
(minus any <a class="css" data-link-type="maybe" href="#valdef-justify-items-legacy">legacy</a> keywords) on all other boxes.</p>
1451+
(minus any <a class="css" data-link-type="maybe" href="#valdef-justify-items-legacy">legacy</a> keywords) on all other boxes,
1452+
or <a class="css" data-link-type="maybe" href="#valdef-item-position-content-position-start">start</a> if the box has no parent.</p>
14511453

14521454

14531455

0 commit comments

Comments
 (0)