Skip to content

Commit 1f9e569

Browse files
committed
[css-values] Update dfn of <number> to include scinot.
1 parent 2236e39 commit 1f9e569

File tree

2 files changed

+15
-12
lines changed

2 files changed

+15
-12
lines changed

css-values/Overview.bs

+3-2
Original file line numberDiff line numberDiff line change
@@ -533,7 +533,7 @@ Integers: the <<integer>> type</h3>
533533
Integer values are denoted by <dfn id="integer-value">&lt;integer></dfn>.
534534
An <dfn>integer</dfn> is one or more decimal digits ''0'' through ''9''
535535
and corresponds to a subset of the <<number-token>> production
536-
in the <a href="http://www.w3.org/TR/css-syntax/">CSS Syntax Module</a> [[!CSS3SYN]].
536+
in the CSS Syntax Module [[!CSS3SYN]].
537537
The first digit of an integer may be immediately preceded by ''-'' or ''+''
538538
to indicate the integer's sign.
539539

@@ -542,7 +542,8 @@ Real Numbers: the <<number>> type</h3>
542542

543543
Number values are denoted by <dfn id="number-value">&lt;number></dfn>.
544544
A <dfn>number</dfn> is either an <<integer>>
545-
or zero or more decimal digits followed by a dot (.) followed by one or more decimal digits.
545+
or zero or more decimal digits followed by a dot (.) followed by one or more decimal digits
546+
and optionally an exponent composed of "e" or "E" and an integer.
546547
It corresponds to the <<number-token>> production
547548
in the <a href="http://www.w3.org/TR/css-syntax/">CSS Syntax Module</a> [[!CSS3SYN]].
548549
As with integers, the first character of a number may be immediately preceded by ''-'' or ''+''

css-values/Overview.html

+12-10
Original file line numberDiff line numberDiff line change
@@ -64,12 +64,12 @@
6464
</p>
6565
<h1 class="p-name no-ref" id=title>CSS Values and Units Module Level 3</h1>
6666
<h2 class="no-num no-toc no-ref heading settled heading" id=subtitle><span class=content>Editor’s Draft,
67-
<span class=dt-updated><span class=value-title title=20140527>27 May 2014</span></span></span></h2>
68-
<div data-fill-with=spec-metadata><dl><dt>This version:<dd><a class=u-url href=http://dev.w3.org/csswg/css-values/>http://dev.w3.org/csswg/css-values/</a><dt>Latest version:<dd><a href=http://www.w3.org/TR/css-values/>http://www.w3.org/TR/css-values/</a><dt>Editor’s Draft:<dd><a href=http://dev.w3.org/csswg/css-values/>http://dev.w3.org/csswg/css-values/</a><dt>Previous Versions:<dd><a href=http://www.w3.org/TR/2013/CR-css3-values-20130730/ rel=previous>http://www.w3.org/TR/2013/CR-css3-values-20130730/</a><dd><a href=http://www.w3.org/TR/2013/CR-css3-values-20130404/ rel=previous>http://www.w3.org/TR/2013/CR-css3-values-20130404/</a><dd><a href=http://www.w3.org/TR/2012/CR-css3-values-20120828/ rel=previous>http://www.w3.org/TR/2012/CR-css3-values-20120828/</a><dd><a href=http://www.w3.org/TR/2012/WD-css3-values-20120308/ rel=previous>http://www.w3.org/TR/2012/WD-css3-values-20120308/</a><dd><a href=http://www.w3.org/TR/2011/WD-css3-values-20110906/ rel=previous>http://www.w3.org/TR/2011/WD-css3-values-20110906/</a><dd><a href=http://www.w3.org/TR/2006/WD-css3-values-20060919 rel=previous>http://www.w3.org/TR/2006/WD-css3-values-20060919</a><dd><a href=http://www.w3.org/TR/2005/WD-css3-values-20050726 rel=previous>http://www.w3.org/TR/2005/WD-css3-values-20050726</a><dd><a href=http://www.w3.org/TR/2001/WD-css3-values-20010713/ rel=previous>http://www.w3.org/TR/2001/WD-css3-values-20010713/</a>
67+
<span class=dt-updated><span class=value-title title=20140622>22 June 2014</span></span></span></h2>
68+
<div data-fill-with=spec-metadata><dl><dt>This version:<dd><a class=u-url href=http://dev.w3.org/csswg/css-values/>http://dev.w3.org/csswg/css-values/</a><dt>Latest version:<dd><a href=http://www.w3.org/TR/css-values/>http://www.w3.org/TR/css-values/</a><dt>Previous Versions:<dd><a href=http://www.w3.org/TR/2013/CR-css3-values-20130730/ rel=previous>http://www.w3.org/TR/2013/CR-css3-values-20130730/</a><dd><a href=http://www.w3.org/TR/2013/CR-css3-values-20130404/ rel=previous>http://www.w3.org/TR/2013/CR-css3-values-20130404/</a><dd><a href=http://www.w3.org/TR/2012/CR-css3-values-20120828/ rel=previous>http://www.w3.org/TR/2012/CR-css3-values-20120828/</a><dd><a href=http://www.w3.org/TR/2012/WD-css3-values-20120308/ rel=previous>http://www.w3.org/TR/2012/WD-css3-values-20120308/</a><dd><a href=http://www.w3.org/TR/2011/WD-css3-values-20110906/ rel=previous>http://www.w3.org/TR/2011/WD-css3-values-20110906/</a><dd><a href=http://www.w3.org/TR/2006/WD-css3-values-20060919 rel=previous>http://www.w3.org/TR/2006/WD-css3-values-20060919</a><dd><a href=http://www.w3.org/TR/2005/WD-css3-values-20050726 rel=previous>http://www.w3.org/TR/2005/WD-css3-values-20050726</a><dd><a href=http://www.w3.org/TR/2001/WD-css3-values-20010713/ rel=previous>http://www.w3.org/TR/2001/WD-css3-values-20010713/</a>
6969
<dt>Feedback:</dt>
7070
<dd><a href="mailto:www-style@w3.org?subject=%5Bcss-values%5D%20feedback">www-style@w3.org</a>
7171
with subject line
72-
<kbd>[css-values] <var>… message topic …</var></kbd>”(<a href=http://lists.w3.org/Archives/Public/www-style/ rel=discussion>archives</a>)<dt>Test Suite:<dd>None Yet<dt>Editors:
72+
<kbd>[css-values] <var>… message topic …</var></kbd>”(<a href=http://lists.w3.org/Archives/Public/www-style/ rel=discussion>archives</a>)<dt>Editors:
7373
<dd class="p-author h-card vcard"><a class="p-name fn u-url url" href=http://xanthir.com/contact/>Tab Atkins</a> (<span class="p-org org">Google</span>)<dd class="p-author h-card vcard"><a class="p-name fn u-url url" href=http://fantasai.inkedblade.net/contact>fantasai</a><dt>Former Editors:
7474
<dd class="p-author h-card vcard"><a class="p-name fn u-email email" href=mailto:howcome@opera.com>Håkon Wium Lie</a> (<span class="p-org org">Opera Software</span>)<dt>Issue Tracking:<dd><a href=http://www.w3.org/Style/CSS/Tracker/products/33 rel=issues>http://www.w3.org/Style/CSS/Tracker/products/33</a></dl></div>
7575
<div data-fill-with=warning></div>
@@ -79,7 +79,8 @@ <h2 class="no-num no-toc no-ref heading settled heading" id=subtitle><span class
7979
</div>
8080

8181
<h2 class="no-num no-toc no-ref heading settled heading" id=abstract><span class=content>Abstract</span></h2>
82-
<p class=p-summary data-fill-with=abstract>This CSS3 module describes the common values and units that CSS properties accept and the syntax used for describing them in CSS property definitions.
82+
<p class=p-summary data-fill-with=abstract><p>This CSS3 module describes the common values and units that CSS properties accept and the syntax used for describing them in CSS property definitions.</p>
83+
8384
<a href=http://www.w3.org/TR/CSS/>CSS</a> is a language for describing the rendering of structured documents
8485
(such as HTML and XML)
8586
on screen, on paper, in speech, etc.</p>
@@ -333,8 +334,8 @@ <h3 class="heading settled heading" data-level=2.2 id=component-combinators><spa
333334
ampersand is stronger than the double bar, and the double bar
334335
is stronger than the bar. Thus, the following lines are equivalent:</p>
335336

336-
<pre> a b | c || d &amp;&amp; e f
337-
[ a b ] | [ c || [ d &amp;&amp; [ e f ]]]
337+
<pre>a b | c || d &amp;&amp; e f
338+
[ a b ] | [ c || [ d &amp;&amp; [ e f ]]]
338339
</pre>
339340

340341
<p>For re-orderable combinators (||, &amp;&amp;),
@@ -683,7 +684,7 @@ <h3 class="heading settled heading" data-level=4.1 id=integers><span class=secno
683684
<p>Integer values are denoted by <dfn class=css-code data-dfn-type=type data-export="" id=integer-value>&lt;integer&gt;<a class=self-link href=#integer-value></a></dfn>.
684685
An <dfn data-dfn-type=dfn data-noexport="" id=integer>integer<a class=self-link href=#integer></a></dfn> is one or more decimal digits <span class=css data-link-type=maybe title=0>0</span> through <span class=css data-link-type=maybe title=9>9</span>
685686
and corresponds to a subset of the <a class="production css-code" data-link-type=type href=http://dev.w3.org/csswg/css-syntax-3/#typedef-number-token title="<number-token>">&lt;number-token&gt;</a> production
686-
in the <a href=http://www.w3.org/TR/css-syntax/>CSS Syntax Module</a> <a data-biblio-type=normative data-link-type=biblio href=#biblio-css3syn title=biblio-css3syn>[CSS3SYN]</a>.
687+
in the CSS Syntax Module <a data-biblio-type=normative data-link-type=biblio href=#biblio-css3syn title=biblio-css3syn>[CSS3SYN]</a>.
687688
The first digit of an integer may be immediately preceded by <span class=css data-link-type=maybe title=->-</span> or <span class=css data-link-type=maybe title=+>+</span>
688689
to indicate the integer’s sign.</p>
689690

@@ -692,7 +693,8 @@ <h3 class="heading settled heading" data-level=4.2 id=numbers><span class=secno>
692693

693694
<p>Number values are denoted by <dfn class=css-code data-dfn-type=type data-export="" id=number-value>&lt;number&gt;<a class=self-link href=#number-value></a></dfn>.
694695
A <dfn data-dfn-type=dfn data-noexport="" id=number>number<a class=self-link href=#number></a></dfn> is either an <a class="production css-code" data-link-type=type href=#integer-value title="<integer>">&lt;integer&gt;</a>
695-
or zero or more decimal digits followed by a dot (.) followed by one or more decimal digits.
696+
or zero or more decimal digits followed by a dot (.) followed by one or more decimal digits
697+
and optionally an exponent composed of "e" or "E" and an integer.
696698
It corresponds to the <a class="production css-code" data-link-type=type href=http://dev.w3.org/csswg/css-syntax-3/#typedef-number-token title="<number-token>">&lt;number-token&gt;</a> production
697699
in the <a href=http://www.w3.org/TR/css-syntax/>CSS Syntax Module</a> <a data-biblio-type=normative data-link-type=biblio href=#biblio-css3syn title=biblio-css3syn>[CSS3SYN]</a>.
698700
As with integers, the first character of a number may be immediately preceded by <span class=css data-link-type=maybe title=->-</span> or <span class=css data-link-type=maybe title=+>+</span>
@@ -1472,10 +1474,10 @@ <h3 class="heading settled heading" data-level=8.2 id=toggle-notation><span clas
14721474
If the "Computed Value" line of a property definition seems to define something ambiguous or overly strict,
14731475
please <a href=#status>provide feedback</a> so we can fix it.</p>
14741476

1475-
<p>If <a class=css data-link-type=maybe href=#funcdef-toggle title=toggle()>toggle()</a> is used on a <a data-link-type=dfn href=http://dev.w3.org/csswg/css-cascade-3/#shorthand-property- title="shorthand property">shorthand property</a>,
1477+
<p>If <a class=css data-link-type=maybe href=#funcdef-toggle title=toggle()>toggle()</a> is used on a <a data-link-type=dfn href=http://dev.w3.org/csswg/css-cascade-3/#shorthand-property title="shorthand property">shorthand property</a>,
14761478
it sets each of its longhands to a <a class=css data-link-type=maybe href=#funcdef-toggle title=toggle()>toggle()</a> value
14771479
with arguments corresponding to what the longhand would have recieved
1478-
had each of the original <a class=css data-link-type=maybe href=#funcdef-toggle title=toggle()>toggle()</a> arguments been the sole value of the <a data-link-type=dfn href=http://dev.w3.org/csswg/css-cascade-3/#shorthand-property- title=shorthand>shorthand</a>.</p>
1480+
had each of the original <a class=css data-link-type=maybe href=#funcdef-toggle title=toggle()>toggle()</a> arguments been the sole value of the <a data-link-type=dfn href=http://dev.w3.org/csswg/css-cascade-3/#shorthand-property title=shorthand>shorthand</a>.</p>
14791481

14801482
<div class=example>
14811483
For example, the following shorthand declaration:

0 commit comments

Comments
 (0)