|
1 | 1 | <!DOCTYPE html> |
2 | 2 |
|
3 | 3 | <html lang=en> |
4 | | - <head profile="http://dublincore.org/documents/2008/08/04/dc-html/ "> |
| 4 | + <head> |
5 | 5 | <meta content="text/html; charset=utf-8" http-equiv=Content-Type> |
6 | 6 | <title>CSS Intrinsic & 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 | + --> |
7 | 11 |
|
8 | | - <link href="http://purl.org/dc/terms/" rel=schema.DC> |
9 | 12 | <meta |
10 | 13 | content="CSS Intrinsic & 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> |
20 | 21 | <link href="#contents" rel=contents> |
21 | 22 | <link href="#index" rel=index> |
22 | 23 | <link href="../default.css" rel=stylesheet type="text/css"> |
|
30 | 31 |
|
31 | 32 | <h1>CSS Intrinsic & Extrinsic Sizing Module Level 3</h1> |
32 | 33 |
|
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> |
34 | 35 |
|
35 | 36 | <dl><!-- |
36 | 37 | <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> |
38 | 39 | --> |
39 | 40 |
|
40 | 41 | <dt>Latest version: |
@@ -785,6 +786,10 @@ <h3 id=multicol-intrinsic><span class=secno>4.5. </span> Intrinsic Sizes in |
785 | 786 | explanation</a> |
786 | 787 | <!-- http://lists.w3.org/Archives/Public/www-style/2011May/0468.html --> |
787 | 788 | <!-- |
| 789 | +
|
| 790 | + <p class="issue"> |
| 791 | + This section is VERY experimental. Feedback is encouraged. Shipping implementations is not. |
| 792 | +
|
788 | 793 | <p>For multi-column elements laid out with infinite available measure (see |
789 | 794 | <a href="#orthogonal-multicol">Multi-column Layout in Orthogonal Flows</a>), |
790 | 795 | 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 |
815 | 820 | of its contents. |
816 | 821 |
|
817 | 822 | <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: |
819 | 827 | <ul> |
820 | 828 | <li>Laying out the element with column-spanning elements given 'display: none', |
821 | 829 | 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 | +
|
823 | 842 | --> |
824 | 843 |
|
825 | 844 | <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 |
852 | 871 | <p> …less the box's inline-axis margins, borders, and padding. |
853 | 872 |
|
854 | 873 | <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? <!-- |
856 | 880 | dddddddd |
857 | 881 | TTTTTTTTTTTTTTTTTTTTTTThhhhhhh EEEEEEEEEEEEEEEEEEEEEE d::::::d |
858 | 882 | T:::::::::::::::::::::Th:::::h E::::::::::::::::::::E d::::::d |
|
0 commit comments