Skip to content

Commit b98c1d5

Browse files
committed
[css3-sizing] Add prelim version of width:repudiate-floats;
1 parent 8ff1b5a commit b98c1d5

2 files changed

Lines changed: 29 additions & 0 deletions

File tree

css3-sizing/Overview.html

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -494,6 +494,17 @@ <h3 id=width-height-keywords><span class=secno>3.1. </span> New Keywords
494494
<dd> Use the <a href="#fit-content-measure"><i>fit-content measure</i></a>
495495
or <a href="#fit-content-extent"><i>fit-content extent</i></a>, as
496496
appropriate to the writing mode.
497+
498+
<dt><dfn id=repudiate-floats><code
499+
class=css>repudiate-floats</code></dfn>
500+
501+
<dd> In the inline axis, use the larger of the min-content measure, and
502+
the fill-available measure minus the size of any non-descendant floats in
503+
the same formatting context. (This is similar to the behavior of a box
504+
that establishes a formatting context next to a float.) In the block
505+
axis, this is identical to ‘<code class=css>auto</code>’.
506+
<p class=issue> Does this value work? Is it needed? Also: less stupid
507+
name?
497508
</dl>
498509

499510
<p class=issue> Right now all of these except ‘<a
@@ -1217,6 +1228,10 @@ <h2 class=no-num id=index> Index</h2>
12171228
<li>renderer, <a href="#renderer" title=renderer><strong>6.2.</strong></a>
12181229

12191230

1231+
<li><a href="#repudiate-floats"><code
1232+
class=css>repudiate-floats</code></a>’, <a href="#repudiate-floats"
1233+
title="''repudiate-floats''"><strong>3.1.</strong></a>
1234+
12201235
<li>size, <a href="#size" title=size><strong>2.</strong></a>
12211236

12221237
<li>style sheet

css3-sizing/Overview.src.html

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -278,6 +278,20 @@ <h3 id='width-height-keywords'>
278278
<dd>
279279
Use the <i>fit-content measure</i> or <i>fit-content extent</i>,
280280
as appropriate to the writing mode.
281+
282+
<dt><dfn>''repudiate-floats''</dfn>
283+
<dd>
284+
In the inline axis,
285+
use the larger of the min-content measure,
286+
and the fill-available measure minus the size of any non-descendant floats in the same formatting context.
287+
(This is similar to the behavior of a box that establishes a formatting context next to a float.)
288+
In the block axis,
289+
this is identical to ''auto''.
290+
291+
<p class='issue'>
292+
Does this value work?
293+
Is it needed?
294+
Also: less stupid name?
281295
</dl>
282296

283297
<p class="issue">

0 commit comments

Comments
 (0)