Skip to content

Commit 36cf562

Browse files
committed
[css3-sizing] Add note clarifying that percentages resolved against intrinsic sizes compute to auto.
1 parent 0376244 commit 36cf562

2 files changed

Lines changed: 16 additions & 0 deletions

File tree

css3-sizing/Overview.html

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -524,6 +524,16 @@ <h3 id=width-height-keywords><span class=secno>3.1. </span> New Keywords
524524
<p class=issue> If the measure is ‘<code class=css>auto</code>’, we
525525
could have min-content extent imply a max-content measure, and vice versa.
526526

527+
<p class=note> Note that percentages resolved against the intrinsic sizes
528+
(‘<a href="#max-content"><code class=css>max-content</code></a>’,
529+
<a href="#min-content"><code class=css>min-content</code></a>’, ‘<a
530+
href="#fit-content"><code class=css>fit-content</code></a>’, ‘<a
531+
href="#repudiate-floats"><code class=css>repudiate-floats</code></a>’)
532+
will compute to ‘<code class=css>auto</code>’, <a
533+
href="http://www.w3.org/TR/CSS21/visudet.html#the-height-property">as
534+
defined by CSS 2.1</a>. <a href="#CSS21"
535+
rel=biblioentry>[CSS21]<!--{{!CSS21}}--></a>
536+
527537
<h3 id=the-contain-floats-value><span class=secno>3.2. </span> Containing
528538
Floats</h3>
529539

css3-sizing/Overview.src.html

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -305,6 +305,12 @@ <h3 id='width-height-keywords'>
305305
we could have min-content extent imply a max-content measure,
306306
and vice versa.
307307

308+
<p class='note'>
309+
Note that percentages resolved against the intrinsic sizes
310+
(''max-content'', ''min-content'', ''fit-content'', ''repudiate-floats'')
311+
will compute to ''auto'',
312+
<a href="http://www.w3.org/TR/CSS21/visudet.html#the-height-property">as defined by CSS 2.1</a>. [[!CSS21]]
313+
308314
<h3 id='the-contain-floats-value'>
309315
Containing Floats</h3>
310316

0 commit comments

Comments
 (0)