Skip to content

Commit ccc5a6f

Browse files
committed
[css-sizing] Add note about what fill means as requested in #317.
1 parent bd07d3d commit ccc5a6f

2 files changed

Lines changed: 10 additions & 0 deletions

File tree

css-sizing-3/Overview.bs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -258,6 +258,11 @@ New Keywords for 'width' and 'height'</h3>
258258
Use the <a>fill-available inline size</a> or <a>fill-available block size</a>,
259259
as appropriate to the writing mode.
260260

261+
NOTE: This is the formula used to calculate ''width/auto'' widths
262+
for non-replaced blocks in normal flow, see <a href="https://www.w3.org/TR/CSS21/visudet.html#blockwidth">CSS2.1§10.3.3</a>.
263+
It allows re-using this formula for boxes that are otherwise shrink-wrapped,
264+
like tables.
265+
261266
<dt><dfn>max-content</dfn>
262267
<dd>
263268
Use the <a>max-content inline size</a> or <a>max-content block size</a>,

css-sizing/Overview.bs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -259,6 +259,11 @@ New Keywords for 'width' and 'height'</h3>
259259
Use the <a>fill-available inline size</a> or <a>fill-available block size</a>,
260260
as appropriate to the writing mode.
261261

262+
NOTE: This is the formula used to calculate ''width/auto'' widths
263+
for non-replaced blocks in normal flow, see <a href="https://www.w3.org/TR/CSS21/visudet.html#blockwidth">CSS2.1§10.3.3</a>.
264+
It allows re-using this formula for boxes that are otherwise shrink-wrapped,
265+
like tables.
266+
262267
<dt><dfn>max-content</dfn>
263268
<dd>
264269
Use the <a>max-content inline size</a> or <a>max-content block size</a>,

0 commit comments

Comments
 (0)