W3C home > Mailing lists > Public > public-css-commits@w3.org > December 2011

csswg/css3-values Overview.html,1.148,1.149 Overview.src.html,1.151,1.152

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
Message-Id: <E1RaF4W-00007t-Cv@lionel-hutz.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 &lsquo;<code
    class=css>*</code>&rsquo;, &lsquo;<code class=css>+</code>&rsquo;, or
    &lsquo;<code class=css>#</code>&rsquo;), 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 &lsquo;<a
    href="#number-value"><code class=css>&lt;number&gt;</code></a>&rsquo; 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
    &lsquo;<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 &lsquo;<a
    href="#length-value"><code class=css>&lt;length&gt;</code></a>&rsquo; type</h2>
@@ -1401,7 +1406,10 @@
    each &lsquo;<a href="#number"><code class=css>number</code></a>&rsquo;,
    &lsquo;<a href="#dimension"><code class=css>dimension</code></a>&rsquo;,
    or &lsquo;<a href="#percentage"><code
-   class=css>percentage</code></a>&rsquo; is a term.
+   class=css>percentage</code></a>&rsquo; is a term. If a &lsquo;<a
+   href="#calc0"><code class=css>calc()</code></a>&rsquo; 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: &lsquo;<a
    href="#cycle-value"><code class=css>cycle()</code></a>&rsquo;</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 ''&lt;number&gt;'' 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 ''&lt;percentage&gt;'' 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 ''&lt;length&gt;'' 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

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 19:26:08 UTC