Skip to content

Commit c38cac4

Browse files
committed
[css-align] Defer fallback alignments for <content-distribution> to L4. #1002
1 parent 4a2cd1f commit c38cac4

File tree

1 file changed

+9
-13
lines changed

1 file changed

+9
-13
lines changed

css-align/Overview.bs

+9-13
Original file line numberDiff line numberDiff line change
@@ -420,8 +420,8 @@ Distributed Alignment: the ''<content-distribution>/stretch'', ''space-between''
420420

421421
When space cannot be distributed in this way,
422422
these values behave as their <a>fallback alignment</a>.
423-
Each distribution value has a default <a>fallback alignment</a>,
424-
but one can alternatively be specified explicitly in the property.
423+
Each distribution value an associated default <a>fallback alignment</a>.
424+
(A future level of this module may allow the <a>fallback alignment</a> to be specified explicitly.)
425425

426426
<dl dfn-type="value" dfn-for="align-content, justify-content, <content-distribution>">
427427
<dt><dfn>space-between</dfn>
@@ -614,7 +614,7 @@ Content Distribution: the 'align-content' and 'justify-content' properties and '
614614

615615
<pre class="propdef">
616616
Name: align-content
617-
Value: normal | <<baseline-position>> | <<content-distribution>> || [ <<overflow-position>>? && <<content-position>> ]
617+
Value: normal | <<baseline-position>> | <<content-distribution>> | [ <<overflow-position>>? && <<content-position>> ]
618618
Initial: normal
619619
Applies to: block containers, flex containers, and grid containers
620620
Inherited: no
@@ -626,7 +626,7 @@ Content Distribution: the 'align-content' and 'justify-content' properties and '
626626

627627
<pre class="propdef">
628628
Name: justify-content
629-
Value: normal | <<content-distribution>> || [ <<overflow-position>>? && <<content-position>> ]
629+
Value: normal | <<content-distribution>> | [ <<overflow-position>>? && <<content-position>> ]
630630
Initial: normal
631631
Applies to: block containers, flex containers, and grid containers
632632
Inherited: no
@@ -638,8 +638,6 @@ Content Distribution: the 'align-content' and 'justify-content' properties and '
638638

639639
Aligns the contents of the box as a whole.
640640
Values other than <dfn value for="justify-content, align-content">normal</dfn> are defined in [[#alignment-values]], above.
641-
If both a <<content-distribution>> and <<content-position>> are given,
642-
the <<content-position>> provides an explicit <a>fallback alignment</a>.
643641

644642
<pre class="propdef">
645643
Name: place-content
@@ -679,7 +677,7 @@ Details per Layout Mode {#distribution-details}
679677
<td>
680678
The <a>block axis</a>.
681679
If a <<content-distribution>> is specified
682-
the <a>fallback alignment</a> is used instead.
680+
its <a>fallback alignment</a> is used instead.
683681
<tr>
684682
<th>'justify-content' Axis
685683
<td>
@@ -715,7 +713,7 @@ Details per Layout Mode {#distribution-details}
715713
<td>
716714
The <a>block axis</a>.
717715
If a <<content-distribution>> is specified
718-
the <a>fallback alignment</a> is used instead.
716+
its <a>fallback alignment</a> is used instead.
719717
<tr>
720718
<th>'justify-content' Axis
721719
<td>
@@ -758,8 +756,7 @@ Details per Layout Mode {#distribution-details}
758756
<td>
759757
The 'justify-content' property applies along the <a>main axis</a>,
760758
but since stretching in the <a>main axis</a> is controlled by 'flex',
761-
''<content-distribution>/stretch'' behaves as ''flex-start''
762-
(ignoring the specified <a>fallback alignment</a>, if any).
759+
''<content-distribution>/stretch'' behaves as ''flex-start''.
763760
<tr>
764761
<th>''justify-content/normal'' Behavior
765762
<td>
@@ -943,9 +940,6 @@ Inline/Main-Axis Alignment: the 'justify-self' property</h3>
943940
while still respecting the constraints imposed by 'min-height'/'min-width'/'max-height'/'max-width'.
944941
Unless otherwise specified, this value falls back to ''flex-start''.
945942

946-
Issue: Should ''justify-self/stretch'' allow a fallback alignment,
947-
like it does on 'align-content' and 'justify-content'?
948-
949943
Note: The ''justify-self/stretch'' keyword can cause elements to shrink,
950944
to fit their container.
951945

@@ -1707,6 +1701,8 @@ Changes</h2>
17071701
(<a href="https://github.com/w3c/csswg-drafts/issues/1167">Issue 1167</a>)
17081702
<li>Dropped <<baseline-position>> value of 'justify-content' since it can't do anything anyway.
17091703
(<a href="https://github.com/w3c/csswg-drafts/issues/1184">Issue 1184</a>)
1704+
<li>Deferred ability to specify fallback alignments to Level 4.
1705+
(<a href="https://github.com/w3c/csswg-drafts/issues/1002#issuecomment-295143297">Issue 1002</a>)
17101706
</ul>
17111707

17121708
<h2 id="privacy-security">

0 commit comments

Comments
 (0)