Skip to content

Commit 51e8805

Browse files
committed
[css-sizing-3] Replace section consisting of two notes with non-normative section.
1 parent 584fbed commit 51e8805

1 file changed

Lines changed: 14 additions & 14 deletions

File tree

css-sizing-3/Overview.bs

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -358,20 +358,20 @@ New Keywords for 'width' and 'height'</h3>
358358
these should be interpreted as meaning <a>behaves as auto</a>,
359359
and reported to the CSSWG for updating.
360360

361-
<h3 id='the-contain-floats-value'>
362-
Containing or Excluding Floats</h3>
363-
364-
Note: To ensure that a container sizes itself to contain any descendant floats,
365-
make sure it's a <a>formatting context</a> root.
366-
For some layout modes, such as Grid and Flexbox,
367-
this is true automatically.
368-
For Block layout, this means using ''display: flow-root;''.
369-
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;''.
361+
<h4 id='the-contain-floats-value'>
362+
Containing or Excluding Floats</h4>
363+
364+
<em>This section is non-normative.</em>
365+
366+
Although <a>block box</a> boundaries are typically pervious to floats,
367+
sometimes an author needs them to contain their own (descendant) floats
368+
or to exclude floats from outside.
369+
For Block layout,
370+
specifying ''display: flow-root''
371+
will make the box a <a>formatting context</a> root,
372+
which has this behavior.
373+
374+
Note: Boxes participating in Flex, Grid, or Table layout will automatically have this behavior.
375375

376376
<h3 id='column-sizing'>
377377
Column Sizing Keywords</h3>

0 commit comments

Comments
 (0)