Skip to content

Commit e0a1978

Browse files
committed
1 parent be7b416 commit e0a1978

2 files changed

Lines changed: 21 additions & 11 deletions

File tree

css3-values/Overview.html

Lines changed: 13 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -128,10 +128,12 @@ <h2 class="no-num no-toc" id=status>Status of this document</h2>
128128
represents the intention of the CSS WG better than this draft (other than
129129
on values and units that are new to CSS3).
130130

131-
<p>This is a draft of a <a href="http://www.w3.org/TR/css3-roadmap/">module
132-
of CSS level 3</a>. It will probably be bundled with some other modules
133-
before it becomes a <a href="http://www.w3.org/TR/#About">W3C
134-
Recommendation</a>.
131+
<p>The following units are at-risk and may be dropped during the CR period:
132+
&lsquo;<a href="#vh-unit"><code class=css>vh</code></a>&rsquo;, &lsquo;<a
133+
href="#vw-unit"><code class=css>vw</code></a>&rsquo;, &lsquo;<a
134+
href="#vm-unit"><code class=css>vm</code></a>&rsquo;, &lsquo;<a
135+
href="#fr-unit"><code class=css>fr</code></a>&rsquo;, &lsquo;<a
136+
href="#gr-unit"><code class=css>gr</code></a>&rsquo;.
135137

136138
<h2 class="no-num no-toc" id=contents>Table of contents</h2>
137139
<!--begin-toc-->
@@ -1385,11 +1387,17 @@ <h3 id=calc><span class=secno>9.1. </span> Calculations: &lsquo;<a
13851387
return: the type of the left side
13861388
</ol>
13871389

1388-
<p>Division by zero is a parse error.
1390+
<p>Division by zero is not allowed. Declarations containing such a
1391+
construct are invalid and must be <a
1392+
href="http://www.w3.org/TR/CSS21/conform.html#ignore">ignored</a>.
13891393

13901394
<p>The value resulting from an expression must be clamped to the range
13911395
allowed in the target context.
13921396

1397+
<p class=note>Note this requires all contexts accepting &lsquo;<a
1398+
href="#calc0"><code class=css>calc()</code></a>&rsquo; to define their
1399+
allowable values as a closed (not open) interval.
1400+
13931401
<div class=example> These two are equivalentequivalent to &lsquo;<code
13941402
class=css>width: 0px</code>&rsquo; since widths smaller than 0px are not
13951403
allowed.

css3-values/Overview.src.html

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -76,11 +76,8 @@ <h2 class="no-num no-toc" id="status">Status of this document</h2>
7676
than this draft (other than on values and units that are new to
7777
CSS3).
7878

79-
<p>This is a draft of a <a href="http://www.w3.org/TR/css3-roadmap/">module
80-
of CSS level 3</a>. It will probably be bundled with some other modules
81-
before it becomes a <a href="http://www.w3.org/TR/#About">W3C
82-
Recommendation</a>.</p>
83-
79+
<p>The following units are at-risk and may be dropped during the
80+
CR period: ''vh'', ''vw'', ''vm'', ''fr'', ''gr''.
8481

8582
<h2 class="no-num no-toc" id="contents">Table of contents</h2>
8683

@@ -960,11 +957,16 @@ <h3 id="calc">
960957
return: the type of the left side
961958
</ol>
962959

963-
<p>Division by zero is a parse error.
960+
<p>Division by zero is not allowed. Declarations containing such a
961+
construct are invalid and must be
962+
<a href="http://www.w3.org/TR/CSS21/conform.html#ignore">ignored</a>.
964963

965964
<p>The value resulting from an expression must be clamped to the
966965
range allowed in the target context.
967966

967+
<p class="note">Note this requires all contexts accepting ''calc()''
968+
to define their allowable values as a closed (not open) interval.
969+
968970
<div class=example>
969971
These two are equivalentequivalent to 'width: 0px' since widths
970972
smaller than 0px are not allowed.

0 commit comments

Comments
 (0)