- From: Elika Etemad via cvs-syncmail <cvsmail@w3.org>
- Date: Sat, 14 May 2011 01:12:06 +0000
- To: public-css-commits@w3.org
Update of /sources/public/csswg/css3-writing-modes In directory hutz:/tmp/cvs-serv24834 Modified Files: Overview.html Overview.src.html Log Message: Add width and height keywords per <http://lists.w3.org/Archives/Public/www-style/2011May/0234.html> Index: Overview.html =================================================================== RCS file: /sources/public/csswg/css3-writing-modes/Overview.html,v retrieving revision 1.115 retrieving revision 1.116 diff -u -d -r1.115 -r1.116 --- Overview.html 11 May 2011 02:10:30 -0000 1.115 +++ Overview.html 14 May 2011 01:12:04 -0000 1.116 @@ -30,7 +30,7 @@ <h1>CSS Writing Modes Module Level 3</h1> - <h2 class="no-num no-toc" id=longstatus-date>Editor's Draft 11 May 2011</h2> + <h2 class="no-num no-toc" id=longstatus-date>Editor's Draft 14 May 2011</h2> <dl> <dt>This version: @@ -38,7 +38,7 @@ <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/2011/WD-css3-writing-modes-20110511">http://www.w3.org/TR/2011/ED-css3-writing-modes-20110511/</a> + <dd><a href="http://www.w3.org/TR/2011/WD-css3-writing-modes-20110514">http://www.w3.org/TR/2011/ED-css3-writing-modes-20110514/</a> --> @@ -2387,7 +2387,7 @@ </ol> <p>The used measure of the element is then the <a - href="#max-content0"><i>max-content</i></a> measure of the resulting + href="#max-content"><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 @@ -2959,9 +2959,66 @@ <p>CSS layout has several different concepts of automatic sizing that are used in various layout calculations. This section defines some more precise terminology to help connect the layout behaviors of this spec to - the calculations used in other modules. + the calculations used in other modules, and some new keywords for the + width and height properties to allow authors to assign elements the + dimensions resulting from these size calculations. - <p>There are four types of automatically-determined measures in CSS: + <table class=propdef> + <tbody> + <tr> + <th>Properties: + + <td>‘<code class=property>width</code>’, ‘<code + class=property>min-width</code>’, ‘<code + class=property>max-width</code>’, ‘<code + class=property>height</code>’, ‘<code + class=property>min-height</code>’, ‘<code + class=property>max-height</code>’ + + <tr> + <th>New Values: + + <td>‘<a href="#min-content"><code + class=css>min-content</code></a>’, ‘<a + href="#max-content"><code class=css>max-content</code></a>’, + ‘<a href="#fit-content"><code + class=css>fit-content</code></a>’, ‘<a + href="#fill-available"><code class=css>fill-available</code></a>’ + + <tr> + <th>Initial: + + <td>same as CSS2.1 + + <tr> + <th>Applies to: + + <td>same as CSS2.1 + + <tr> + <th>Inherited: + + <td>same as CSS2.1 + + <tr> + <th>Percentages: + + <td>same as CSS2.1 + + <tr> + <th>Media: + + <td>same as CSS2.1 + + <tr> + <th>Computed value: + + <td>specified value if keyword specified, else same as CSS2.1 + </table> + + <p>There are four types of automatically-determined sizes in CSS (which are + represented in the width and height properties by the keywords defined + above): <!-- XXX Make these anchors dated once CSS2.1 hits REC, since we might decide to fix these gross editorial inconsistencies at some point in the errata. --> @@ -3014,35 +3071,44 @@ 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-content0"><i>max-content</i></a>, <a + href="#max-content"><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-content0"><i>max-content</i></a> measure otherwise. The <dfn + href="#max-content"><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-content0"><i>max-content</i></a> measures are considered to be - types of <dfn id=intrinsic-measure>intrinsic measure</dfn>. - - <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 + <p>For the layout models in CSS2.1, both the <dfn id=min-content-extent>min-content extent</dfn> and <dfn - id=max-content0>max-content</dfn> extent. + id=max-content-extent>max-content extent</dfn> of non-replaced elements + are defined as 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> + and <a + href="http://www.w3.org/TR/CSS21/tables.html#height-layout">CSS2.1§17.5.3</a> + for elements with ‘<code class=css>height: auto</code>’. <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. + Flows</a>), 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-content"><i>max-content</i></a> extent is the extent that would + result from taking only the forced breaks. For all other multi-column + elements it is, like CSS2.1 block-level boxes, the extent that would be + calculated for an ‘<a href="#auto"><code + class=css>auto</code></a>’ extent per [[CSS3MULTICOL]]. + + <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> sizes are considered to be + types of <dfn id=intrinsic>intrinsic</dfn> sizes. For replaced elements, + the <a href="#min-content"><i>min-content</i></a> and <a + href="#max-content"><i>max-content</i></a> sizes are the same and + correspond to the <a + href="http://www.w3.org/TR/css3-images/#intrinsic-dimensions">intrinsic + dimensions</a> of the replaced element. <h2 class=no-num id=references> References</h2> @@ -3239,6 +3305,27 @@ <td>visual <tr valign=baseline> + <td><span class=property>‘width’</span>, <span + class=property>‘min-width’</span>, <span + class=property>‘max-width’</span>, <span + class=property>‘height’</span>, <span + class=property>‘min-height’</span>, <span + class=property>‘max-height’</span> + + <td>‘min-content’, ‘max-content’, + ‘fit-content’, ‘fill-available’ + + <td>same as CSS2.1 + + <td>same as CSS2.1 + + <td>same as CSS2.1 + + <td>same as CSS2.1 + + <td>same as CSS2.1 + + <tr valign=baseline> <td><a class=property href="#text-combine0">text-combine</a> <td>none | [ horizontal <number>? ] Index: Overview.src.html =================================================================== RCS file: /sources/public/csswg/css3-writing-modes/Overview.src.html,v retrieving revision 1.120 retrieving revision 1.121 diff -u -d -r1.120 -r1.121 --- Overview.src.html 11 May 2011 02:10:30 -0000 1.120 +++ Overview.src.html 14 May 2011 01:12:04 -0000 1.121 @@ -2190,16 +2190,57 @@ <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 - more precise terminology to help connect the layout behaviors of this - spec to the calculations used in other modules. - - <p>There are four types of automatically-determined measures in CSS: - + are used in various layout calculations. This section defines some + more precise terminology to help connect the layout behaviors of this + spec to the calculations used in other modules, and some new keywords + for the width and height properties to allow authors to assign elements + the dimensions resulting from these size calculations. + + <table class="propdef"> + <tbody> + <tr> + <th>Properties:</th> + <td>'width', 'min-width', 'max-width', 'height', 'min-height', 'max-height'</td> + </tr> + <tr> + <th>New Values:</th> + <td>''min-content'', ''max-content'', ''fit-content'', ''fill-available''</td> + </tr> + <tr> + <th>Initial:</th> + <td>same as CSS2.1</td> + </tr> + <tr> + <th>Applies to:</th> + <td>same as CSS2.1</td> + </tr> + <tr> + <th>Inherited:</th> + <td>same as CSS2.1</td> + </tr> + <tr> + <th>Percentages:</th> + <td>same as CSS2.1</td> + </tr> + <tr> + <th>Media:</th> + <td>same as CSS2.1</td> + </tr> + <tr> + <th>Computed value:</th> + <td>specified value if keyword specified, else same as CSS2.1</td> + </tr> + </tbody> + </table> + + <p>There are four types of automatically-determined sizes in CSS (which + are represented in the width and height properties by the keywords + defined above): + <!-- XXX Make these anchors dated once CSS2.1 hits REC, since we might decide to fix these gross editorial inconsistencies at some point in the errata. --> - + <dl> <dt><dfn>min-content</dfn></dt> <dd>Called the <i>preferred minimum width</i> in @@ -2243,23 +2284,29 @@ 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>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. + <p>For the layout models in CSS2.1, both the <dfn>min-content extent</dfn> + and <dfn>max-content extent</dfn> of non-replaced elements are defined + as 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> + and <a href="http://www.w3.org/TR/CSS21/tables.html#height-layout">CSS2.1§17.5.3</a> + for elements with ''height: auto''. <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 + 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. + only the forced breaks. For all other multi-column elements it is, like + CSS2.1 block-level boxes, the extent that would be calculated for an + ''auto'' extent per [[CSS3MULTICOL]]. + + <p>Because they are derived from the content of the element, the + <i>min-content</i> and <i>max-content</i> sizes are considered + to be types of <dfn>intrinsic size</dfn>. For replaced elements, + the <i>min-content</i> and <i>max-content</i> sizes are the same + and correspond to the + <a href="http://www.w3.org/TR/css3-images/#intrinsic-dimensions">intrinsic + dimensions</a> of the replaced element. <h2 class="no-num"> References</h2>
Received on Saturday, 14 May 2011 01:12:27 UTC