Skip to content

Commit 81a15d2

Browse files
committed
[css-align] Linking tweaks, moved an issue, added an issue about semi-unsafe overflow.
1 parent 892cc4b commit 81a15d2

1 file changed

Lines changed: 12 additions & 6 deletions

File tree

css-align/Overview.bs

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -333,7 +333,7 @@ Distributed Alignment: the ''<content-distribution>/stretch'', ''space-between''
333333

334334
<pre class='prod'> <dfn>&lt;content-distribution></dfn> = space-between | space-around | space-evenly | stretch</pre>
335335

336-
<dl dfn-type="value" dfn-for="<content-distribution>">
336+
<dl dfn-type="value" dfn-for="align-content, justify-content, <content-distribution>">
337337
<dt><dfn>space-between</dfn>
338338
<dd>
339339
The <a>alignment subjects</a> are evenly distributed in the <a>alignment container</a>.
@@ -366,16 +366,14 @@ Distributed Alignment: the ''<content-distribution>/stretch'', ''space-between''
366366
<dt><dfn>stretch</dfn>
367367
<dd>
368368
If the combined size of the <a>alignment subjects</a> is less than the size of the <a>alignment container</a>,
369-
any ''width/auto''-sized <a>alignment subjects</a> have their size increased equally (not proportionally),
370-
while still respecting the constraints imposed by 'max-height'/'max-width',
369+
any <css>auto</css>-sized <a>alignment subjects</a> have their size increased equally (not proportionally),
370+
while still respecting the constraints imposed by 'max-height'/'max-width'
371+
(or equivalent functionality),
371372
so that the combined size exactly fills the <a>alignment container</a>.
372373

373374
Unless otherwise specified,
374375
this value falls back to ''flex-start''.
375376
<span class='note'>(For layout modes other than flex layout, ''flex-start'' is identical to ''start''.)</span>
376-
377-
Issue: Should this value allow a fallback alignment on 'align-self' and 'justify-self',
378-
like it does on 'align-content' and 'justify-content'?
379377
</dl>
380378

381379
<p class='issue'>
@@ -414,6 +412,11 @@ Overflow Alignment: the ''safe'' and ''unsafe'' keywords</h3>
414412
the given alignment value is honored.
415413
</dl>
416414

415+
Issue: Should we add a third (default) value that overflows up until the point that it would overflow into an unscrollable region?
416+
This is probably what's actually needed;
417+
we can't default to "safe" because of Flexbox,
418+
but this slight tweak to "unsafe" is probably safe compat-wise,
419+
and would help users on small screens.
417420

418421
<div class='example'>
419422
The figure below illustrates the difference in "safe" versus "unsafe" centering,
@@ -694,6 +697,9 @@ Inline/Main-Axis Alignment: the 'justify-self' property</h3>
694697
while still respecting the constraints imposed by 'min-height'/'min-width'/'max-height'/'max-width'.
695698
Unless otherwise specified, this value falls back to ''flex-start''.
696699

700+
Issue: Should ''justify-self/stretch'' allow a fallback alignment,
701+
like it does on 'align-content' and 'justify-content'?
702+
697703
Note: The ''justify-self/stretch'' keyword can cause elements to shrink,
698704
to fit their container.
699705

0 commit comments

Comments
 (0)