- From: Tab Atkins Jr.. via cvs-syncmail <cvsmail@w3.org>
- Date: Mon, 12 Dec 2011 23:14:12 +0000
- To: public-css-commits@w3.org
Update of /sources/public/csswg/css3-values
In directory hutz:/tmp/cvs-serv471
Modified Files:
Overview.html Overview.src.html
Log Message:
Add instructions for handling too-long things to all the min-length specifiers.
Index: Overview.html
===================================================================
RCS file: /sources/public/csswg/css3-values/Overview.html,v
retrieving revision 1.148
retrieving revision 1.149
diff -u -d -r1.148 -r1.149
--- Overview.html 12 Dec 2011 23:10:39 -0000 1.148
+++ Overview.html 12 Dec 2011 23:14:10 -0000 1.149
@@ -415,7 +415,9 @@
<p>For repeated component values (indicated by ‘<code
class=css>*</code>’, ‘<code class=css>+</code>’, or
‘<code class=css>#</code>’), UAs must support at least 30
- repetitions of the component.
+ repetitions of the component. If a property value contains more than the
+ supported number of repetitions, the declaration must be ignored as if it
+ were invalid.
<h3 id=component-whitespace><span class=secno>2.4. </span> Component values
and white space</h3>
@@ -727,7 +729,8 @@
<p>Properties may restrict the integer value to some range. If the value is
outside the allowed range, the declaration is invalid and must be <a
href="http://www.w3.org/TR/CSS21/conform.html#ignore">ignored</a>. For
- unrestricted values, UAs must support at least up to ±2<sup>30</sup>.
+ unrestricted values, UAs must support at least up to ±2<sup>30</sup>;
+ unsupported values must be clamped to the closest supported value.
<h3 id=numbers><span class=secno>4.2. </span> Numbers: the ‘<a
href="#number-value"><code class=css><number></code></a>’ type</h3>
@@ -746,7 +749,8 @@
<p>Properties may restrict the number value to some range. If the value is
outside the allowed range, the declaration is invalid and must be <a
href="http://www.w3.org/TR/CSS21/conform.html#ignore">ignored</a>. For
- unrestricted values, UAs must support at least up to ±2<sup>30.</sup>
+ unrestricted values, UAs must support at least up to ±2<sup>30;
+ unsupported values must be clamped to the closest supported value.</sup>
<h3 id=percentages><span class=secno>4.3. </span> Percentages: the
‘<a href="#percentage-value"><code
@@ -772,7 +776,8 @@
<p>Properties may restrict the percentage value to some range. If the value
is outside the allowed range, the declaration is invalid and must be <a
href="http://www.w3.org/TR/CSS21/conform.html#ignore">ignored</a>. For
- unrestricted values, UAs must support at least up to ±2<sup>30%.</sup>
+ unrestricted values, UAs must support at least up to ±2<sup>30%;
+ unsupported values must be clamped to the closest supported value.</sup>
<h2 id=lengths><span class=secno>5. </span> Distance Units: the ‘<a
href="#length-value"><code class=css><length></code></a>’ type</h2>
@@ -1401,7 +1406,10 @@
each ‘<a href="#number"><code class=css>number</code></a>’,
‘<a href="#dimension"><code class=css>dimension</code></a>’,
or ‘<a href="#percentage"><code
- class=css>percentage</code></a>’ is a term.
+ class=css>percentage</code></a>’ is a term. If a ‘<a
+ href="#calc0"><code class=css>calc()</code></a>’ expression contains
+ more than the supported number of terms, it must be treated as if it were
+ invalid.
<h3 id=cycle><span class=secno>8.2. </span> Cycling Values: ‘<a
href="#cycle-value"><code class=css>cycle()</code></a>’</h3>
Index: Overview.src.html
===================================================================
RCS file: /sources/public/csswg/css3-values/Overview.src.html,v
retrieving revision 1.151
retrieving revision 1.152
diff -u -d -r1.151 -r1.152
--- Overview.src.html 12 Dec 2011 23:10:39 -0000 1.151
+++ Overview.src.html 12 Dec 2011 23:14:10 -0000 1.152
@@ -192,7 +192,7 @@
group occurs one or more times, separated by comma tokens.
</ul>
- <p>For repeated component values (indicated by ''*'', ''+'', or ''#''), UAs must support at least 30 repetitions of the component.</p>
+ <p>For repeated component values (indicated by ''*'', ''+'', or ''#''), UAs must support at least 30 repetitions of the component. If a property value contains more than the supported number of repetitions, the declaration must be ignored as if it were invalid.</p>
<h3 id="component-whitespace">
Component values and white space</h3>
@@ -426,7 +426,7 @@
<p>Properties may restrict the integer value to some range.
If the value is outside the allowed range, the declaration is invalid
and must be <a href="http://www.w3.org/TR/CSS21/conform.html#ignore">ignored</a>.
- For unrestricted values, UAs must support at least up to ±2<sup>30</sup>.</p>
+ For unrestricted values, UAs must support at least up to ±2<sup>30</sup>; unsupported values must be clamped to the closest supported value.</p>
<h3 id="numbers">
Numbers: the ''<number>'' type</h3>
@@ -443,7 +443,7 @@
<p>Properties may restrict the number value to some range.
If the value is outside the allowed range, the declaration is invalid
and must be <a href="http://www.w3.org/TR/CSS21/conform.html#ignore">ignored</a>.
- For unrestricted values, UAs must support at least up to ±2<sup>30</h3>.</p>
+ For unrestricted values, UAs must support at least up to ±2<sup>30</h3>; unsupported values must be clamped to the closest supported value.</p>
<h3 id="percentages">
Percentages: the ''<percentage>'' type</h3>
@@ -467,7 +467,7 @@
<p>Properties may restrict the percentage value to some range.
If the value is outside the allowed range, the declaration is invalid
and must be <a href="http://www.w3.org/TR/CSS21/conform.html#ignore">ignored</a>.
- For unrestricted values, UAs must support at least up to ±2<sup>30</h3>%.</p>
+ For unrestricted values, UAs must support at least up to ±2<sup>30</h3>%; unsupported values must be clamped to the closest supported value.</p>
<h2 id="lengths">
Distance Units: the ''<length>'' type</h2>
@@ -968,7 +968,7 @@
and table cells in both auto and fixed layout tables MAY be treated as if
'auto' had been specified.</p>
- <p>UAs must support ''calc()'' expressions of at least 30 terms, where each ''number'', ''dimension'', or ''percentage'' is a term.</p>
+ <p>UAs must support ''calc()'' expressions of at least 30 terms, where each ''number'', ''dimension'', or ''percentage'' is a term. If a ''calc()'' expression contains more than the supported number of terms, it must be treated as if it were invalid.</p>
<h3 id="cycle">
Cycling Values: ''cycle()''</h3>
Received on Monday, 12 December 2011 23:14:18 UTC