Skip to content

Commit b6c01a4

Browse files
committed
[css-flexbox-1] Make space-* fallback to safe alignment w3c#10154
1 parent 40daad4 commit b6c01a4

File tree

1 file changed

+10
-5
lines changed

1 file changed

+10
-5
lines changed

css-flexbox-1/Overview.bs

+10-5
Original file line numberDiff line numberDiff line change
@@ -1980,7 +1980,7 @@ Axis Alignment: the 'justify-content' property</h3>
19801980
<a>Flex items</a> are evenly distributed in the line.
19811981
If the leftover free-space is negative
19821982
or there is only a single <a>flex item</a> on the line,
1983-
this value is identical to <a value for=justify-content>flex-start</a>.
1983+
this value falls back to <a value for=justify-content>safe flex-start</a>.
19841984
Otherwise,
19851985
the <a>main-start</a> margin edge of the first <a>flex item</a> on the line
19861986
is placed flush with the <a>main-start</a> edge of the line,
@@ -1995,7 +1995,7 @@ Axis Alignment: the 'justify-content' property</h3>
19951995
with half-size spaces on either end.
19961996
If the leftover free-space is negative or
19971997
there is only a single <a>flex item</a> on the line,
1998-
this value is identical to <a value for=justify-content>center</a>.
1998+
this value falls back to <a value for=justify-content>safe center</a>.
19991999
Otherwise, the <a>flex items</a> on the line are distributed
20002000
such that the spacing between any two adjacent <a>flex items</a> on the line is the same,
20012001
and the spacing between the first/last <a>flex items</a> and the <a>flex container</a> edges
@@ -2209,7 +2209,7 @@ Packing Flex Lines: the 'align-content' property</h3>
22092209
Lines are evenly distributed in the flex container.
22102210
If the leftover free-space is negative
22112211
or there is only a single <a>flex line</a> in the flex container,
2212-
this value is identical to <a value for=align-content>flex-start</a>.
2212+
this value falls back to <a value for=align-content>safe flex-start</a>.
22132213
Otherwise,
22142214
the <a>cross-start</a> edge of the first line in the flex container
22152215
is placed flush with the <a>cross-start</a> content edge of the flex container,
@@ -2223,7 +2223,7 @@ Packing Flex Lines: the 'align-content' property</h3>
22232223
Lines are evenly distributed in the flex container,
22242224
with half-size spaces on either end.
22252225
If the leftover free-space is negative
2226-
this value is identical to <a value for=align-content>center</a>.
2226+
this value falls back to <a value for=align-content>safe center</a>.
22272227
Otherwise, the lines in the flex container are distributed
22282228
such that the spacing between any two adjacent lines is the same,
22292229
and the spacing between the first/last lines and the <a>flex container</a> edges
@@ -2233,7 +2233,7 @@ Packing Flex Lines: the 'align-content' property</h3>
22332233
<dd>
22342234
Lines stretch to take up the remaining space.
22352235
If the leftover free-space is negative,
2236-
this value is identical to <a value for=align-content>flex-start</a>.
2236+
this value falls back to <a value for=align-content>safe flex-start</a>.
22372237
Otherwise,
22382238
the free-space is split equally between all of the lines,
22392239
increasing their cross size.
@@ -3842,6 +3842,11 @@ Changes since the <a href="https://www.w3.org/TR/2018/CR-css-flexbox-1-20181119/
38423842
and thus the provisions in [[css-sizing-3#intrinsic-contribution]] apply.
38433843
</blockquote>
38443844

3845+
<li id="change-2018-safe-fallback">
3846+
Made the fallback alignment (in case of negative free space)
3847+
for the ''space-*'' keywords apply ''overflow-position/safe''.
3848+
(<a href="https://github.com/w3c/csswg-drafts/issues/10154">Issue 10154</a>)
3849+
38453850
<li id="change-2018-content-based-editorial">
38463851
Redrafted the definition of [=content-based minimum size=]
38473852
for easier reading. (Editorial)

0 commit comments

Comments
 (0)