- From: Elika Etemad via cvs-syncmail <cvsmail@w3.org>
- Date: Mon, 15 Aug 2011 23:09:07 +0000
- To: public-css-commits@w3.org
Update of /sources/public/csswg/css3-values In directory hutz:/tmp/cvs-serv28043 Modified Files: Overview.html Overview.src.html Log Message: Minor editorial tweaks. Switch reference to CSS3-cascade to CSS21 Index: Overview.html =================================================================== RCS file: /sources/public/csswg/css3-values/Overview.html,v retrieving revision 1.85 retrieving revision 1.86 diff -u -d -r1.85 -r1.86 --- Overview.html 12 Aug 2011 23:30:58 -0000 1.85 +++ Overview.html 15 Aug 2011 23:09:04 -0000 1.86 @@ -134,7 +134,8 @@ href="#vm-unit"><code class=css>vm</code></a>’, ‘<a href="#fr-unit"><code class=css>fr</code></a>’, ‘<a href="#gr-unit"><code class=css>gr</code></a>’, ‘<code - class=css>cycle()</code>’. + class=css>cycle()</code>’, ‘<code + class=css>attr()</code>’. <h2 class="no-num no-toc" id=contents>Table of contents</h2> <!--begin-toc--> Index: Overview.src.html =================================================================== RCS file: /sources/public/csswg/css3-values/Overview.src.html,v retrieving revision 1.88 retrieving revision 1.89 diff -u -d -r1.88 -r1.89 --- Overview.src.html 12 Aug 2011 23:30:58 -0000 1.88 +++ Overview.src.html 15 Aug 2011 23:09:05 -0000 1.89 @@ -934,14 +934,14 @@ of length, frequency, angle, time, or number. NUMBER tokens are of type number. DIMENSION tokens have types of their units ('cm' is length, 'deg' is angle etc.); any DIMENSION whose type does not match -the target type is not allowed and must be a parse error. If +the target type causes the ''calc()'' expression to be invalid. If percentages are accepted in that context and convertible to the target type, a PERCENTAGE token in the expression has the target type; -otherwise percentages are not allowed and must be a parse error. +otherwise percentages are likewise invalid. <p>To make expressions simpler, operators have restrictions on the types they accept. At each operator, the types of the left and right -side have to be checked for these restrictions. If compatible, they +side are be checked for these restrictions. If compatible, they return roughly as follows (the following ignores precedence rules on the operators for simplicity): @@ -979,7 +979,7 @@ <p>Given the complexities of 'width' and 'height' on table cells and - table elements, calc() expressions for 'width' and 'height' on table + table elements, calc() expressions for widths and heights on table columns, table column groups, table rows, table row groups, and table cells in both auto and fixed layout tables may be treated as if 'auto' had been specified. @@ -993,7 +993,7 @@ <pre>cycle( <value># )</pre> - <p>where <code><value<</code> is a CSS value that is valid where + <p>where <code><value></code> is a CSS value that is valid where the expression is placed. If any of the values inside are not valid, then the entire ''cycle()'' expression is invalid. @@ -1003,7 +1003,7 @@ <var>C<sub>n</sub></var> returned by the <var>n</var>-th argument to ''cycle()''. For the earliest <var>C<sub>n</sub></var> such that - <var>C<sub>n</sub></var> == <var>I</var>, the value returned by cycle + <var>C<sub>n</sub></var> = <var>I</var>, the value returned by cycle is <var>C<sub>n+1</sub></var>. However, if this <var>C<sub>n</sub></var> is the last value, or if there are no <var>C<sub>n</sub></var> that equal <var>I</var>, the computed value of the first value is returned @@ -1300,13 +1300,13 @@ formatting the document, thereby yielding the <em>computed value</em>. The computed value is transformed into the <em>used value</em> in the formatting process. Finally, the computed value is transformed to -the <em>actual value</em> based on constraints in the user agent.</p> +the <em>actual value</em> based on constraints in the device and user agent.</p> <h3>Finding the <dfn>specified value</dfn></h3> -<p>The <em>specified value</em> is the output of the cascading and -inheritance process [[!CSS3CASCADE]]. - +<p>The <em>specified value</em> is the output of the +<a href="http://www.w3.org/TR/CSS21/cascade.html">cascading and inheritance +process</a>. [[!CSS21]] <h3>Finding the <dfn>computed value</dfn></h3> @@ -1319,9 +1319,8 @@ <p>For relative values, on the other hand, computation is necessary to find the computed values: percentages must be multiplied by a reference value (each property defines which value that is), values -with relative units (em, ex, px) must be made absolute by multiplying -with the appropriate font or pixel size, 'auto' values must be -computed by the formulas given with each property, certain keywords +with relative units (em, ex, vh, vw) must be made absolute by multiplying +with the appropriate reference size, certain keywords (e.g., 'smaller', 'bolder') must be replaced according to their definitions. See example (f), (g) and (h) in the table below.</p>
Received on Monday, 15 August 2011 23:09:09 UTC