- From: Elika Etemad via cvs-syncmail <cvsmail@w3.org>
- Date: Tue, 03 May 2011 01:53:18 +0000
- To: public-css-commits@w3.org
Update of /sources/public/csswg/css3-writing-modes In directory hutz:/tmp/cvs-serv31786 Modified Files: Overview.html Overview.src.html Log Message: Tighten up intrinsic sizing Index: Overview.html =================================================================== RCS file: /sources/public/csswg/css3-writing-modes/Overview.html,v retrieving revision 1.100 retrieving revision 1.101 diff -u -d -r1.100 -r1.101 --- Overview.html 2 May 2011 07:13:25 -0000 1.100 +++ Overview.html 3 May 2011 01:53:16 -0000 1.101 @@ -20,7 +20,7 @@ .figure object, dd object { max-width: 100%; display: block; margin: 1em auto; } </style> - <link href="http://www.w3.org/StyleSheets/TR/W3C-WD.css" rel=stylesheet + <link href="http://www.w3.org/StyleSheets/TR/W3C-ED.css" rel=stylesheet type="text/css"> <body> @@ -30,16 +30,16 @@ <h1>CSS Writing Modes Module Level 3</h1> - <h2 class="no-num no-toc" id=longstatus-date>W3C Working Draft 2 May 2011</h2> + <h2 class="no-num no-toc" id=longstatus-date>Editor's Draft 3 May 2011</h2> <dl> - <dt>This version:</dt> - <!-- - <dd><a href="http://dev.w3.org/csswg/css3-writing-modes/">http://dev.w3.org/csswg/css3-writing-modes/</a> ---> + <dt>This version: <dd><a - href="http://www.w3.org/TR/2011/WD-css3-writing-modes-20110502">http://www.w3.org/TR/2011/WD-css3-writing-modes-20110502</a> + href="http://dev.w3.org/csswg/css3-writing-modes/">http://dev.w3.org/csswg/css3-writing-modes/</a> + <!-- + <dd><a href="http://www.w3.org/TR/2011/WD-css3-writing-modes-20110503">http://www.w3.org/TR/2011/ED-css3-writing-modes-20110503</a> +--> <dt>Latest version: @@ -106,42 +106,36 @@ <h2 class="no-num no-toc" id=status>Status of this document</h2> <!--begin-status--> - <p><em>This section describes the status of this document at the time of - its publication. Other documents may supersede this document. A list of - current W3C publications and the latest revision of this technical report - can be found in the <a href="http://www.w3.org/TR/">W3C technical reports - index at http://www.w3.org/TR/.</a></em> - - <p>Publication as a Working Draft does not imply endorsement by the W3C - Membership. This is a draft document and may be updated, replaced or - obsoleted by other documents at any time. It is inappropriate to cite this - document as other than work in progress. + <p>This is a public copy of the editors' draft. It is provided for + discussion only and may change at any moment. Its publication here does + not imply endorsement of its contents by W3C. Don't cite this document + other than as work in progress. <p>The (<a href="http://lists.w3.org/Archives/Public/www-style/">archived</a>) public - mailing list <a href="mailto:www-style@w3.org">www-style@w3.org</a> (see - <a href="http://www.w3.org/Mail/Request">instructions</a>) is preferred - for discussion of this specification. When sending e-mail, please put the - text “css3-writing-modes” in the subject, preferably like - this: “[<!---->css3-writing-modes<!---->] <em>…summary of + mailing list <a + href="mailto:www-style@w3.org?Subject=%5Bcss3-writing-modes%5D%20PUT%20SUBJECT%20HERE"> + www-style@w3.org</a> (see <a + href="http://www.w3.org/Mail/Request">instructions</a>) is preferred for + discussion of this specification. When sending e-mail, please put the text + “css3-writing-modes” in the subject, preferably like this: + “[<!---->css3-writing-modes<!---->] <em>…summary of comment…</em>” - <p>This document was produced by the <a - href="http://www.w3.org/Style/CSS/members">CSS Working Group</a> (part of - the <a href="http://www.w3.org/Style/">Style Activity</a>). + <p>This document was produced by the <a href="/Style/CSS/members">CSS + Working Group</a> (part of the <a href="/Style/">Style Activity</a>). <p>This document was produced by a group operating under the <a - href="http://www.w3.org/Consortium/Patent-Policy-20040205/">5 February - 2004 W3C Patent Policy</a>. W3C maintains a <a - href="http://www.w3.org/2004/01/pp-impl/32061/status" + href="/Consortium/Patent-Policy-20040205/">5 February 2004 W3C Patent + Policy</a>. W3C maintains a <a href="/2004/01/pp-impl/32061/status" rel=disclosure>public list of any patent disclosures</a> made in connection with the deliverables of the group; that page also includes instructions for disclosing a patent. An individual who has actual knowledge of a patent which the individual believes contains <a - href="http://www.w3.org/Consortium/Patent-Policy-20040205/#def-essential">Essential + href="/Consortium/Patent-Policy-20040205/#def-essential">Essential Claim(s)</a> must disclose the information in accordance with <a - href="http://www.w3.org/Consortium/Patent-Policy-20040205/#sec-Disclosure">section - 6 of the W3C Patent Policy</a>.</p> + href="/Consortium/Patent-Policy-20040205/#sec-Disclosure">section 6 of the + W3C Patent Policy</a>.</p> <!--end-status--> <h2 class="no-num no-toc" id=Contents>Table of Contents</h2> @@ -279,17 +273,18 @@ <li class=no-num><a href="#script-orientations">Appendix A: Script Orientations</a> - <li class=no-num><a href="#appendix-b-intrinsic-sizing">Appendix B: - Intrinsic Sizing</a> + <li class=no-num><a href="#intrinsic-sizing">Appendix B: Intrinsic + Sizing</a> - <li class=no-num><a href="#appendix-c-references">Appendix C: - References</a> + <li class=no-num><a href="#references">References</a> <ul class=toc> <li class=no-num><a href="#normative-references">Normative references</a> <li class=no-num><a href="#other-references">Other references</a> </ul> + + <li class=no-num><a href="#property-index">Property Index</a> </ul> <!--end-toc--> @@ -2283,8 +2278,9 @@ <p>If the UA supports CSS Multi-column Layout <a href="#CSS3COL" rel=biblioentry>[CSS3COL]<!--{{!CSS3COL}}--></a>, then for the case where - the available extent is defined but the available measure is infinite and - the element's measure is unconstrained (is not fixed and has no maximum): + the element's extent or available extent is defined but the available + measure is infinite and the element's measure is ‘<a + href="#auto"><code class=css>auto</code></a>’: <ol> <li>If ‘<code class=property>column-count</code>’ and @@ -2298,21 +2294,20 @@ width is calculated as if the element's containing block were the initial containing block. - <li>If the column's extent is not defined, the available extent is used to - calculate the column extent by subtracting out the element's margins, - borders, and padding in the block dimension and flooring the result at - zero. + <li>If the column's extent is not fixed, the <a + href="#fill-available"><i>fill-available</i></a> extent of the element is + used. <li>The used column-count then follows from filling the resulting columns with the element's content. </ol> <p>The used measure of the element is then the <a - href="#max-content"><i>max-content</i></a> measure of the resulting - multi-column element. (If the content neither wraps nor paginates within + href="#max-content0"><i>max-content</i></a> measure of the resulting + multi-column element: if the content neither wraps nor paginates within the multi-column element, then this will be the intrinsic measure of the content; else it will be calculated from the used column width, column - count, and column gap.) + count, and column gap. <p>The used extent of the element is either the used column extent (if multiple columns were used) or the intrinsic extent of the content. @@ -2795,8 +2790,9 @@ value of 'text-orientation'. --> - <h2 class=no-num id=appendix-b-intrinsic-sizing>Appendix B: Intrinsic - Sizing</h2> + <h2 class=no-num id=intrinsic-sizing>Appendix B: Intrinsic Sizing</h2> + + <p><em>This section is normative.</em> <p>CSS layout has several different concepts of automatic sizing that are used in various layout calculations. This section defines some more @@ -2835,14 +2831,18 @@ <dt><dfn id=fill-available>fill-available</dfn> <dd>Called the <i>available width</i> in <a - href="http://www.w3.org/TR/CSS21/visudet.html#float-width">CSS2.1§10.3.5</a>, + href="http://www.w3.org/TR/CSS21/visudet.html#float-width">CSS2.1§10.3.5</a> + and computed by the rules in <a + href="http://www.w3.org/TR/CSS21/visudet.html#blockwidth">CSS2.1§10.3.3</a>, the <dfn id=fill-available-measure>fill-available measure</dfn> is - calculated by the rules in <a - href="http://www.w3.org/TR/CSS21/visudet.html#blockwidth">CSS2.1§10.3.3</a> - using the <i>available measure</i> as the containing block width. If the + calculated by subtracting out the element's margins, borders, and padding + from the <i>available measure</i> and flooring the result at zero. If the available measure is infinite, then a <dfn id=fallback-measure>fallback - measure</dfn> is used in its place. (In the case of orthogonal flows, - this is the measure of the initial containing block.) + measure</dfn> is used in place of the <i>available measure</i> in this + calculation. (In the case of orthogonal flows, this is the measure of the + initial containing block.) The <dfn + id=fill-available-extent>fill-available extent</dfn> is similarly + calculated by using the corresponding values from the block dimension. <dt><dfn id=fit-content>fit-content</dfn> @@ -2852,24 +2852,37 @@ Multi-column Layout § 3.4</a>, the <dfn id=fit-content-measure>fit-content measure</dfn> is defined as max(<a href="#min-content"><i>min-content</i></a>, min(<a - href="#max-content"><i>max-content</i></a>, <a + href="#max-content0"><i>max-content</i></a>, <a href="#fill-available"><i>fill-available</i></a>)) if the available measure is finite, and as the <a - href="#max-content"><i>max-content</i></a> measure otherwise. + href="#max-content0"><i>max-content</i></a> measure otherwise. The <dfn + id=fit-content-extent>fit-content extent</dfn> is calculated from the + same expression applied to the block dimension. </dl> <p>Because they are derived from the content of the element, the <a href="#min-content"><i>min-content</i></a> and <a - href="#max-content"><i>max-content</i></a> measures are considered to be + href="#max-content0"><i>max-content</i></a> measures are considered to be types of <dfn id=intrinsic-measure>intrinsic measure</dfn>. - <p>So far in CSS, there is only one type <dfn id=intrinsic-extent>intrinsic - extent</dfn> for non-replaced elements: the extent derived from the - content height as defined in <a + <p>For the layout models in CSS2.1, there is only one type <dfn + id=intrinsic-extent>intrinsic extent</dfn> for non-replaced elements: the + extent derived from the content extent as defined (for horizontal writing + modes) in <a href="http://www.w3.org/TR/CSS21/visudet.html#normal-block">CSS2.1§10.6.3</a>. - + This measurement is considered to be both the <dfn + id=min-content-extent>min-content extent</dfn> and <dfn + id=max-content0>max-content</dfn> extent. - <h2 class=no-num id=appendix-c-references>Appendix C: References</h2> + <p>For multi-column elements laid out with infinite available measure (see + <a href="#orthogonal-multicol">Multi-column Layout in Orthogonal + Flows</a>), however, the <a href="#min-content"><i>min-content</i></a> + extent is the extent that would result from taking every permissible + pagination break as a column break, and the <a + href="#max-content0"><i>max-content</i></a> extent is the extent that + would result from taking only the forced breaks. + + <h2 class=no-num id=references>References</h2> <h3 class=no-num id=normative-references>Normative references</h3> <!--begin-normative--> @@ -3008,4 +3021,104 @@ </dl> <!--end-informative--> - <p> <!-- Add property index and alphabetic index? --> + <h2 class=no-num id=property-index>Property Index</h2> + <!--begin-properties--> + + <table class=proptable> + <thead> + <tr> + <th>Property + + <th>Values + + <th>Initial + + <th>Applies to + + <th>Inh. + + <th>Percentages + + <th>Media + + <tbody> + <tr valign=baseline> + <td><a class=property href="#direction0">direction</a> + + <td>ltr | rtl + + <td>ltr + + <td>all elements + + <td>yes + + <td>N/A + + <td>visual + + <tr valign=baseline> + <td><a class=property href="#text-combine0">text-combine</a> + + <td>none | [ horizontal <number>? ] + + <td>none + + <td>non-replaced inline elements + + <td>no + + <td>N/A + + <td>visual + + <tr valign=baseline> + <td><a class=property href="#text-orientation0">text-orientation</a> + + <td>vertical-right | upright | rotate-right | rotate-left | + rotate-normal | auto + + <td>vertical-right + + <td>all elements except table row groups, rows, column groups, and + columns + + <td>yes + + <td>N/A + + <td>visual + + <tr valign=baseline> + <td><a class=property href="#unicode-bidi0">unicode-bidi</a> + + <td>normal | [ [ embed | isolate ] || [ plaintext | bidi-override ] ] + + <td>normal + + <td>all elements, but see prose + + <td>no + + <td>N/A + + <td>visual + + <tr valign=baseline> + <td><a class=property href="#writing-mode1">writing-mode</a> + + <td>horizontal-tb | vertical-rl | vertical-lr + + <td>horizontal-tb + + <td>All elements except table row groups, table column groups, table + rows, and table columns + + <td>yes + + <td>N/A + + <td>visual + </table> + <!--end-properties--> + <!-- Add alphabetic index? --> Index: Overview.src.html =================================================================== RCS file: /sources/public/csswg/css3-writing-modes/Overview.src.html,v retrieving revision 1.104 retrieving revision 1.105 diff -u -d -r1.104 -r1.105 --- Overview.src.html 2 May 2011 07:13:25 -0000 1.104 +++ Overview.src.html 3 May 2011 01:53:16 -0000 1.105 @@ -32,10 +32,11 @@ <h2 class="no-num no-toc">[LONGSTATUS] [DATE]</h2> <dl> <dt>This version:</dt> -<!-- + <dd><a href="http://dev.w3.org/csswg/css3-writing-modes/">http://dev.w3.org/csswg/css3-writing-modes/</a> ---> +<!-- <dd><a href="http://www.w3.org/TR/[YEAR]/WD-[SHORTNAME]-[CDATE]">[VERSION]</a> +--> <dt>Latest version:</dt> <dd><a href="http://www.w3.org/TR/css3-writing-modes/">http://www.w3.org/TR/css3-writing-modes/</a></dd> @@ -1670,9 +1671,9 @@ Multi-column Layout in Orthogonal Flows</h4> <p>If the UA supports CSS Multi-column Layout [[!CSS3COL]], then - for the case where the available extent is defined but the - available measure is infinite and the element's measure is - unconstrained (is not fixed and has no maximum): + for the case where the element's extent or available extent is + defined but the available measure is infinite and the element's + measure is ''auto'': <ol> <li>If 'column-count' and 'column-width' are both ''auto'', then @@ -1681,20 +1682,18 @@ <li>If the 'column-width' is ''auto'', the column width is calculated as if the element's containing block were the initial containing block. - <li>If the column's extent is not defined, the available extent is - used to calculate the column extent by subtracting out the element's - margins, borders, and padding in the block dimension and flooring - the result at zero. + <li>If the column's extent is not fixed, the <i>fill-available</i> + extent of the element is used. <li>The used column-count then follows from filling the resulting columns with the element's content. </ol> <p>The used measure of the element is then the <i>max-content</i> measure - of the resulting multi-column element. - (If the content neither wraps nor paginates within the multi-column + of the resulting multi-column element: + if the content neither wraps nor paginates within the multi-column element, then this will be the intrinsic measure of the content; else it will be calculated from the used column width, column count, - and column gap.) + and column gap. <p>The used extent of the element is either the used column extent (if multiple columns were used) or the intrinsic extent of the content. @@ -2084,8 +2083,10 @@ value of 'text-orientation'. --> -<h2 class="no-num">Appendix B: +<h2 id="intrinsic-sizing" class="no-num">Appendix B: Intrinsic Sizing</h2> + + <p><em>This section is normative.</em></p> <p>CSS layout has several different concepts of automatic sizing that are used in various layout calculations. This section defines some @@ -2117,13 +2118,18 @@ of the optional line break opportunities within the box were taken. <dt><dfn>fill-available</dfn></dt> <dd>Called the <i>available width</i> in - <a href="http://www.w3.org/TR/CSS21/visudet.html#float-width">CSS2.1§10.3.5</a>, - the <dfn>fill-available measure</dfn> is calculated by the rules in - <a href="http://www.w3.org/TR/CSS21/visudet.html#blockwidth">CSS2.1§10.3.3</a> - using the <i>available measure</i> as the containing block width. + <a href="http://www.w3.org/TR/CSS21/visudet.html#float-width">CSS2.1§10.3.5</a> + and computed by the rules in + <a href="http://www.w3.org/TR/CSS21/visudet.html#blockwidth">CSS2.1§10.3.3</a>, + the <dfn>fill-available measure</dfn> is calculated by subtracting out + the element's margins, borders, and padding from the <i>available measure</i> + and flooring the result at zero. If the available measure is infinite, then a <dfn>fallback measure</dfn> - is used in its place. (In the case of orthogonal flows, this is the - measure of the initial containing block.) + is used in place of the <i>available measure</i> in this calculation. + (In the case of orthogonal flows, this is the measure of the initial + containing block.) + The <dfn>fill-available extent</dfn> is similarly calculated by + using the corresponding values from the block dimension. <dt><dfn>fit-content</dfn></dt> <dd>Called the <i>shrink-to-fit</i> width in <a href="http://www.w3.org/TR/CSS21/visudet.html#float-width">CSS2.1§10.3.5</a>, @@ -2132,18 +2138,29 @@ the <dfn>fit-content measure</dfn> is defined as max(<i>min-content</i>, min(<i>max-content</i>, <i>fill-available</i>)) if the available measure is finite, and as the <i>max-content</i> - measure otherwise. + measure otherwise. The <dfn>fit-content extent</dfn> is calculated + from the same expression applied to the block dimension. </dl> <p>Because they are derived from the content of the element, the <i>min-content</i> and <i>max-content</i> measures are considered to be types of <dfn>intrinsic measure</dfn>. - <p>So far in CSS, there is only one type <dfn>intrinsic extent</dfn> - for non-replaced elements: the extent derived from the content height - as defined in <a href="http://www.w3.org/TR/CSS21/visudet.html#normal-block">CSS2.1§10.6.3</a>. + <p>For the layout models in CSS2.1, there is only one type + <dfn>intrinsic extent</dfn> for non-replaced elements: the extent derived + from the content extent as defined (for horizontal writing modes) in + <a href="http://www.w3.org/TR/CSS21/visudet.html#normal-block">CSS2.1§10.6.3</a>. + This measurement is considered to be both the <dfn>min-content extent</dfn> + and <dfn>max-content</dfn> extent. -<h2 class="no-num">Appendix C: References</h2> + <p>For multi-column elements laid out with infinite available measure (see + <a href="#orthogonal-multicol">Multi-column Layout in Orthogonal Flows</a>), + however, the <i>min-content</i> extent is the extent that would result + from taking every permissible pagination break as a column break, and the + <i>max-content</i> extent is the extent that would result from taking + only the forced breaks. + +<h2 class="no-num">References</h2> <h3 class="no-num">Normative references</h3> <!--normative--> @@ -2152,8 +2169,8 @@ <!--informative--> -<p> - -<!-- Add property index and alphabetic index? --> +<h2 class="no-num">Property Index</h2> +<!-- properties --> +<!-- Add alphabetic index? --> </body> </html>
Received on Tuesday, 3 May 2011 01:53:20 UTC