Skip to content

Commit 584fbed

Browse files
committed
[css-sizing-3] Add note about flex-basis so implementers don't forget. Move note out of the way so we don't have so many notes all in a row.
1 parent e2cb3e8 commit 584fbed

1 file changed

Lines changed: 12 additions & 6 deletions

File tree

css-sizing-3/Overview.bs

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,9 @@ Introduction</h2>
4444
and some new keywords for the 'width' and 'height' properties
4545
to allow authors to assign elements the dimensions resulting from these size calculations.
4646

47+
48+
Issue: This spec needs illustrations! See
49+
4750
<h3 id="placement">
4851
Module interactions</h3>
4952

@@ -327,11 +330,8 @@ New Keywords for 'width' and 'height'</h3>
327330
to better work out the implications in situations with
328331
<a>indefinite</a> <a>available space</a>.
329332

330-
Note: To size an element such that it avoids overlapping sibling floats,
331-
make sure it's a <a>formatting context</a> root.
332-
For some layout modes, such as Grid and Flexbox,
333-
this is true automatically.
334-
For Block layout, this means using ''display: flow-root;''.
333+
Note: The 'flex-basis' property hereby also gains these new keywords,
334+
as its values are defined by reference to <'width'>.
335335

336336
<h4 id="behave-auto">
337337
“Behaving as ''width/auto''”</h4>
@@ -359,14 +359,20 @@ New Keywords for 'width' and 'height'</h3>
359359
and reported to the CSSWG for updating.
360360

361361
<h3 id='the-contain-floats-value'>
362-
Containing Floats</h3>
362+
Containing or Excluding Floats</h3>
363363

364364
Note: To ensure that a container sizes itself to contain any descendant floats,
365365
make sure it's a <a>formatting context</a> root.
366366
For some layout modes, such as Grid and Flexbox,
367367
this is true automatically.
368368
For Block layout, this means using ''display: flow-root;''.
369369

370+
Note: To size an element such that it avoids overlapping sibling floats,
371+
make sure it's a <a>formatting context</a> root.
372+
For some layout modes, such as Grid and Flexbox,
373+
this is true automatically.
374+
For Block layout, this means using ''display: flow-root;''.
375+
370376
<h3 id='column-sizing'>
371377
Column Sizing Keywords</h3>
372378

0 commit comments

Comments
 (0)