Skip to content

Commit e64b3e9

Browse files
committed
[css-align-3] Block containers default to safe alignment #8992
1 parent 183be92 commit e64b3e9

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

css-align-3/Overview.bs

+7-1
Original file line numberDiff line numberDiff line change
@@ -877,7 +877,8 @@ Overflow Alignment: the ''safe'' and ''unsafe'' keywords and scroll safety limit
877877
(though we hope so, and believe it to be likely),
878878
so UAs should pass any feedback on this point to the WG.
879879
UAs that have not implemented the “smart” default behavior
880-
must behave as ''unsafe''.
880+
must behave as ''safe'' for 'align-content' on [=block containers=]
881+
and ''unsafe'' otherwise.
881882
</dl>
882883

883884

@@ -954,6 +955,9 @@ The 'justify-content' and 'align-content' Properties</h3>
954955
The <a>block axis</a>.
955956
If a <<content-distribution>> is specified
956957
its <a>fallback alignment</a> is used instead.
958+
If no <<overflow-position>> is specified,
959+
and the [=block container=] is not a [=scroll container=],
960+
then alignment is ''align-content/safe''.
957961
<tr>
958962
<th>'justify-content' Axis
959963
<td>
@@ -2457,6 +2461,8 @@ Changes</h2>
24572461
<li>Only apply the special margin-edge baseline rule for [=scroll container=] [=block containers=]
24582462
when 'baseline-source' is its [=initial value=].
24592463
(<a href="https://github.com/w3c/csswg-drafts/issues/8214">Issue 8214</a>)
2464+
<li>Made [=block containers=] default to ''safe'' alignment.
2465+
(<a href="https://github.com/w3c/csswg-drafts/issues/8992">Issue 8992</a>)
24602466
</ul>
24612467

24622468
Changes since the <a href="https://www.w3.org/TR/2021/WD-css-align-3-20211224/">24 December 2021 Working Draft</a> include:

0 commit comments

Comments
 (0)