Skip to content

Commit 7180dad

Browse files
committed
Arbitrarily define ints/numbers to a required minimum range of 2^30
1 parent 7d0b793 commit 7180dad

2 files changed

Lines changed: 18 additions & 15 deletions

File tree

css3-values/Overview.html

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -196,10 +196,7 @@ <h2 class="no-num no-toc" id=contents>Table of contents</h2>
196196
<li><a href="#integers"><span class=secno>4.1. </span> Integers: the
197197
&lsquo;<code class=css>&lt;integer&gt;</code>&rsquo; type</a>
198198

199-
<li><a href="#numbers"><span class=secno>4.2. </span> Numbers: the
200-
&lsquo;<code class=css>&lt;number&gt;</code>&rsquo; type</a>
201-
202-
<li><a href="#percentages"><span class=secno>4.3. </span> Percentages:
199+
<li><a href="#percentages"><span class=secno>4.2. </span> Percentages:
203200
the &lsquo;<code class=css>&lt;percentage&gt;</code>&rsquo; type</a>
204201
</ul>
205202

@@ -706,10 +703,11 @@ <h3 id=integers><span class=secno>4.1. </span> Integers: the &lsquo;<a
706703

707704
<p>Properties may restrict the integer value to some range. If the value is
708705
outside the allowed range, the declaration is invalid and must be <a
709-
href="http://www.w3.org/TR/CSS21/conform.html#ignore">ignored</a>.
706+
href="http://www.w3.org/TR/CSS21/conform.html#ignore">ignored</a>. For
707+
unrestricted values, UAs must support at least up to ±2<sup>30.</sup>
710708

711-
<h3 id=numbers><span class=secno>4.2. </span> Numbers: the &lsquo;<a
712-
href="#number-value"><code class=css>&lt;number&gt;</code></a>&rsquo; type</h3>
709+
<p><sup id=numbers> Numbers: the &lsquo;<a href="#number-value"><code
710+
class=css>&lt;number&gt;</code></a>&rsquo; type </sup>
713711

714712
<p>Number values are denoted by <dfn
715713
id=number-value><code>&lt;number&gt;</code></dfn>. A <dfn
@@ -724,9 +722,10 @@ <h3 id=numbers><span class=secno>4.2. </span> Numbers: the &lsquo;<a
724722

725723
<p>Properties may restrict the number value to some range. If the value is
726724
outside the allowed range, the declaration is invalid and must be <a
727-
href="http://www.w3.org/TR/CSS21/conform.html#ignore">ignored</a>.
725+
href="http://www.w3.org/TR/CSS21/conform.html#ignore">ignored</a>. For
726+
unrestricted values, UAs must support at least up to ±2<sup>30.</sup>
728727

729-
<h3 id=percentages><span class=secno>4.3. </span> Percentages: the
728+
<h3 id=percentages><span class=secno>4.2. </span> Percentages: the
730729
&lsquo;<a href="#percentage-value"><code
731730
class=css>&lt;percentage&gt;</code></a>&rsquo; type</h3>
732731

@@ -749,7 +748,8 @@ <h3 id=percentages><span class=secno>4.3. </span> Percentages: the
749748

750749
<p>Properties may restrict the percentage value to some range. If the value
751750
is outside the allowed range, the declaration is invalid and must be <a
752-
href="http://www.w3.org/TR/CSS21/conform.html#ignore">ignored</a>.
751+
href="http://www.w3.org/TR/CSS21/conform.html#ignore">ignored</a>. For
752+
unrestricted values, UAs must support at least up to ±2<sup>30%.</sup>
753753

754754
<h2 id=lengths><span class=secno>5. </span> Distance Units: the &lsquo;<a
755755
href="#length-value"><code class=css>&lt;length&gt;</code></a>&rsquo; type</h2>
@@ -1819,17 +1819,17 @@ <h2 class=no-num id=index>Index</h2>
18191819

18201820
<li>ms, <a href="#ms" title=ms><strong>6.2.</strong></a>
18211821

1822-
<li>number, <a href="#number" title=number><strong>4.2.</strong></a>
1822+
<li>number, <a href="#number" title=number><strong>4.1.</strong></a>
18231823

18241824
<li><a href="#number-value"><code>&lt;number&gt;</code></a>, <a
1825-
href="#number-value" title="&lt;number&gt;"><strong>4.2.</strong></a>
1825+
href="#number-value" title="&lt;number&gt;"><strong>4.1.</strong></a>
18261826

18271827
<li>percentage, <a href="#percentage"
1828-
title=percentage><strong>4.3.</strong></a>
1828+
title=percentage><strong>4.2.</strong></a>
18291829

18301830
<li><a href="#percentage-value"><code>&lt;percentage&gt;</code></a>, <a
18311831
href="#percentage-value"
1832-
title="&lt;percentage&gt;"><strong>4.3.</strong></a>
1832+
title="&lt;percentage&gt;"><strong>4.2.</strong></a>
18331833

18341834
<li>rad, <a href="#rad" title=rad><strong>6.1.</strong></a>
18351835

css3-values/Overview.src.html

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -418,8 +418,9 @@ <h3 id="integers">
418418
<p>Properties may restrict the integer value to some range.
419419
If the value is outside the allowed range, the declaration is invalid
420420
and must be <a href="http://www.w3.org/TR/CSS21/conform.html#ignore">ignored</a>.
421+
For unrestricted values, UAs must support at least up to ±2<sup>30</h3>.</p>
421422

422-
<h3 id="numbers">
423+
<sup id="numbers">
423424
Numbers: the ''&lt;number&gt;'' type</h3>
424425

425426
<p>Number values are denoted by
@@ -434,6 +435,7 @@ <h3 id="numbers">
434435
<p>Properties may restrict the number value to some range.
435436
If the value is outside the allowed range, the declaration is invalid
436437
and must be <a href="http://www.w3.org/TR/CSS21/conform.html#ignore">ignored</a>.
438+
For unrestricted values, UAs must support at least up to ±2<sup>30</h3>.</p>
437439

438440
<h3 id="percentages">
439441
Percentages: the ''&lt;percentage&gt;'' type</h3>
@@ -457,6 +459,7 @@ <h3 id="percentages">
457459
<p>Properties may restrict the percentage value to some range.
458460
If the value is outside the allowed range, the declaration is invalid
459461
and must be <a href="http://www.w3.org/TR/CSS21/conform.html#ignore">ignored</a>.
462+
For unrestricted values, UAs must support at least up to ±2<sup>30</h3>%.</p>
460463

461464
<h2 id="lengths">
462465
Distance Units: the ''&lt;length&gt;'' type</h2>

0 commit comments

Comments
 (0)