Skip to content

Commit 1b53f08

Browse files
committed
[css3-sizing] Added issue to fill-available about stopping the calculation at formatting roots.
1 parent ccf3797 commit 1b53f08

2 files changed

Lines changed: 45 additions & 16 deletions

File tree

css3-sizing/Overview.html

Lines changed: 40 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,23 @@
11
<!DOCTYPE html>
22

33
<html lang=en>
4-
<head profile="http://dublincore.org/documents/2008/08/04/dc-html/ ">
4+
<head>
55
<meta content="text/html; charset=utf-8" http-equiv=Content-Type>
66
<title>CSS Intrinsic &amp; Extrinsic Sizing Module Level 3 (CSS3 TMPL)</title>
7+
<!--
8+
<link href="http://purl.org/dc/terms/" rel="schema.dcterms">
9+
<link href="http://www.w3.org/Consortium/Legal/ipr-notice#Copyright" rel="dcterms.rights">
10+
-->
711

8-
<link href="http://purl.org/dc/terms/" rel=schema.DC>
912
<meta
1013
content="CSS Intrinsic &amp; Extrinsic Sizing Module Level 3 (CSS3 TMPL)"
11-
name=DC.title>
12-
<meta content=text name=DC.type>
13-
<meta content=2012-08-31 name=DC.issued>
14-
<meta content="http://dev.w3.org/csswg/css3-sizing/" name=DC.creator>
15-
<meta content=W3C name=DC.publisher>
16-
<meta content="http://www.w3.org/TR/2012/ED-css3-sizing-20120831/"
17-
name=DC.identifier>
18-
<link href="http://www.w3.org/Consortium/Legal/ipr-notice#Copyright"
19-
rel=DC.rights>
14+
name=dcterms.title>
15+
<meta content=text name=dcterms.type>
16+
<meta content=2012-10-09 name=dcterms.issued>
17+
<meta content="http://dev.w3.org/csswg/css3-sizing/" name=dcterms.creator>
18+
<meta content=W3C name=dcterms.publisher>
19+
<meta content="http://www.w3.org/TR/2012/ED-css3-sizing-20121009/"
20+
name=dcterms.identifier>
2021
<link href="#contents" rel=contents>
2122
<link href="#index" rel=index>
2223
<link href="../default.css" rel=stylesheet type="text/css">
@@ -30,11 +31,11 @@
3031

3132
<h1>CSS Intrinsic &amp; Extrinsic Sizing Module Level 3</h1>
3233

33-
<h2 class="no-num no-toc" id=longstatus-date>Editor's Draft 31 August 2012</h2>
34+
<h2 class="no-num no-toc" id=longstatus-date>Editor's Draft 9 October 2012</h2>
3435

3536
<dl><!--
3637
<dt>This version:
37-
<dd><a href="http://www.w3.org/TR/2012/ED-css3-sizing-20120831/">http://www.w3.org/TR/2012/ED-css3-sizing-20120831/</a>
38+
<dd><a href="http://www.w3.org/TR/2012/ED-css3-sizing-20121009/">http://www.w3.org/TR/2012/ED-css3-sizing-20121009/</a>
3839
-->
3940

4041
<dt>Latest version:
@@ -785,6 +786,10 @@ <h3 id=multicol-intrinsic><span class=secno>4.5. </span> Intrinsic Sizes in
785786
explanation</a>
786787
<!-- http://lists.w3.org/Archives/Public/www-style/2011May/0468.html -->
787788
<!--
789+
790+
<p class="issue">
791+
This section is VERY experimental. Feedback is encouraged. Shipping implementations is not.
792+
788793
<p>For multi-column elements laid out with infinite available measure (see
789794
<a href="#orthogonal-multicol">Multi-column Layout in Orthogonal Flows</a>),
790795
the <i>min-content</i> extent is the extent that would result
@@ -815,11 +820,25 @@ <h3 id=multicol-intrinsic><span class=secno>4.5. </span> Intrinsic Sizes in
815820
of its contents.
816821
817822
<p>
818-
The <i>max-content measure</i> of a multi-column element is calculated by:
823+
The <i>max-content measure</i> of a multi-column element
824+
with restrained-height columns (i.e. a specified <i>extent<i> or <i>max-extent</i>)
825+
is the <i>measure</i> that would exactly include all of its columns.
826+
It may be approximated by:
819827
<ul>
820828
<li>Laying out the element with column-spanning elements given 'display: none',
821829
and taking a measure that includes all the columns.
822-
<li>Laying out the element, including column-spanning elements, into that resulting measure.
830+
<li>Laying out all of the column-spanning elements into that resulting measure,
831+
and taking the resulting extent.
832+
<li>Subtracting that resulting extent from the specified restraint,
833+
laying out the element without column-spanning elements again into this adjusted extent,
834+
and taking the measure of all its columns as its <i>max-content measure</i>.
835+
<p>
836+
or by some more accurate method.
837+
838+
<p class="note">
839+
This approximation can result in some slack, but avoids overflow in the most common cases,
840+
where the balanced height of the columns above spanning elements are approximately equal.
841+
823842
-->
824843

825844
<h2 id=extrinsic-sizing><span class=secno>5. </span> Extrinsic Size
@@ -852,7 +871,12 @@ <h2 id=extrinsic-sizing><span class=secno>5. </span> Extrinsic Size
852871
<p> …less the box's inline-axis margins, borders, and padding.
853872

854873
<p> The <a href="#fill-available-extent"><i>fill-available extent</i></a>
855-
of a box is defined analogously, but in the other dimension. <!--
874+
of a box is defined analogously, but in the other dimension.
875+
876+
<p class=issue> This definition might end up skipping further up the
877+
ancestor chain than we'd like in some cases. <a
878+
href="http://lists.w3.org/Archives/Public/www-style/2012Oct/0204.html">Example.</a>
879+
Maybe it should stop at each formatting root, or something similar? <!--
856880
dddddddd
857881
TTTTTTTTTTTTTTTTTTTTTTThhhhhhh EEEEEEEEEEEEEEEEEEEEEE d::::::d
858882
T:::::::::::::::::::::Th:::::h E::::::::::::::::::::E d::::::d

css3-sizing/Overview.src.html

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -611,6 +611,11 @@ <h2 id='extrinsic-sizing'>
611611
The <i>fill-available extent</i> of a box is defined analogously,
612612
but in the other dimension.
613613

614+
<p class='issue'>
615+
This definition might end up skipping further up the ancestor chain than we'd like in some cases.
616+
<a href="http://lists.w3.org/Archives/Public/www-style/2012Oct/0204.html">Example.</a>
617+
Maybe it should stop at each formatting root, or something similar?
618+
614619

615620

616621
<!--

0 commit comments

Comments
 (0)