[html5] r7184 - [e] (0) Fix grammar. Fixing https://www.w3.org/Bugs/Public/show_bug.cgi?id=17496 [...]
whatwg at whatwg.org
whatwg at whatwg.org
Thu Jul 19 20:15:52 PDT 2012
Author: ianh
Date: 2012-07-19 20:15:51 -0700 (Thu, 19 Jul 2012)
New Revision: 7184
Modified:
complete.html
index
source
Log:
[e] (0) Fix grammar.
Fixing https://www.w3.org/Bugs/Public/show_bug.cgi?id=17496
Affected topics: DOM APIs, HTML
Modified: complete.html
===================================================================
--- complete.html 2012-07-19 23:14:07 UTC (rev 7183)
+++ complete.html 2012-07-20 03:15:51 UTC (rev 7184)
@@ -240,7 +240,7 @@
<header class=head id=head><p><a class=logo href=http://www.whatwg.org/><img alt=WHATWG height=101 src=/images/logo width=101></a></p>
<hgroup><h1 class=allcaps>HTML</h1>
- <h2 class="no-num no-toc">Living Standard — Last Updated 19 July 2012</h2>
+ <h2 class="no-num no-toc">Living Standard — Last Updated 20 July 2012</h2>
</hgroup><dl><dt><strong>Web developer edition:</strong></dt>
<dd><strong><a href=http://developers.whatwg.org/>http://developers.whatwg.org/</a></strong></dd>
<dt>Multiple-page version:</dt>
@@ -4837,7 +4837,7 @@
<h5 id=floating-point-numbers><span class=secno>2.5.4.3 </span>Floating-point numbers</h5>
- <p>A string is a <dfn id=valid-floating-point-number>valid floating point number</dfn> if it
+ <p>A string is a <dfn id=valid-floating-point-number>valid floating-point number</dfn> if it
consists of:</p>
<ol class=brief><li>Optionally, a U+002D HYPHEN-MINUS character (-).</li>
@@ -4871,7 +4871,7 @@
</ol></li>
- </ol><p>A <a href=#valid-floating-point-number>valid floating point number</a> represents the number
+ </ol><p>A <a href=#valid-floating-point-number>valid floating-point number</a> represents the number
obtained by multiplying the significand by ten raised to the power
of the exponent, where the significand is the first number,
interpreted as base ten (including the decimal point and the number
@@ -4886,13 +4886,13 @@
treated as zero.</p>
<p class=note>The Infinity and Not-a-Number (NaN) values are not
- <a href=#valid-floating-point-number title="valid floating point number">valid floating point
+ <a href=#valid-floating-point-number title="valid floating-point number">valid floating-point
numbers</a>.</p>
<div class=impl>
- <p>The <dfn id=best-representation-of-the-number-as-a-floating-point-number title="best representation of the number as a floating
- point number">best representation of the number <var title="">n</var> as a floating point number</dfn> is the string
+ <p>The <dfn id=best-representation-of-the-number-as-a-floating-point-number title="best representation of the number as a
+ floating-point number">best representation of the number <var title="">n</var> as a floating-point number</dfn> is the string
obtained from applying the JavaScript operator ToString to <var title="">n</var>. The JavaScript operator ToString is not uniquely
determined. When there are multiple possible strings that could be
obtained from the JavaScript operator ToString for a particular
@@ -4900,7 +4900,7 @@
value (though it may differ from the value used by other user
agents).</p>
- <p>The <dfn id=rules-for-parsing-floating-point-number-values>rules for parsing floating point number values</dfn> are
+ <p>The <dfn id=rules-for-parsing-floating-point-number-values>rules for parsing floating-point number values</dfn> are
as given in the following algorithm. This algorithm must be aborted
at the first step that returns something. This algorithm will return
either a number or an error.</p>
@@ -5045,7 +5045,7 @@
</ol></li>
<li><p><i>Conversion</i>: Let <var title="">S</var> be the set of
- finite IEEE 754 double-precision floating point values except
+ finite IEEE 754 double-precision floating-point values except
−0, but with two special values added: 2<sup title="">1024</sup> and −2<sup title="">1024</sup>.</li>
<li><p>Let <var title="">rounded-value</var> be the number in <var title="">S</var> that is closest to <var title="">value</var>,
@@ -8812,24 +8812,24 @@
and then that string must be used as the new content attribute
value.</p> <!-- see previous paragraph for note about the range -->
- <p>If a reflecting IDL attribute has a floating point number type
+ <p>If a reflecting IDL attribute has a floating-point number type
(<code>double</code> or <code>unrestricted double</code>), then, on
getting, the content attribute must be parsed according to the
- <a href=#rules-for-parsing-floating-point-number-values>rules for parsing floating point number values</a>, and if
+ <a href=#rules-for-parsing-floating-point-number-values>rules for parsing floating-point number values</a>, and if
that is successful, the resulting value must be returned. If, on the
other hand, it fails, or if the attribute is absent, the default
value must be returned instead, or 0.0 if there is no default value.
On setting, the given value must be converted to the <a href=#best-representation-of-the-number-as-a-floating-point-number>best
- representation of the number as a floating point number</a> and
+ representation of the number as a floating-point number</a> and
then that string must be used as the new content attribute
value.</p>
- <p>If a reflecting IDL attribute has a floating point number type
+ <p>If a reflecting IDL attribute has a floating-point number type
(<code>double</code> or <code>unrestricted double</code>) that is
<dfn id=limited-to-numbers-greater-than-zero>limited to numbers greater than zero</dfn>, then the behavior
is similar to the previous case, but zero and negative values are
not allowed. On getting, the content attribute must be parsed
- according to the <a href=#rules-for-parsing-floating-point-number-values>rules for parsing floating point number
+ according to the <a href=#rules-for-parsing-floating-point-number-values>rules for parsing floating-point number
values</a>, and if that is successful and the value is greater
than 0.0, the resulting value must be returned. If, on the other
hand, it fails or returns an out of range value, or if the attribute
@@ -8837,7 +8837,7 @@
there is no default value. On setting, if the value is less than or
equal to zero, then the value must be ignored. Otherwise, the given
value must be converted to the <a href=#best-representation-of-the-number-as-a-floating-point-number>best representation of the
- number as a floating point number</a> and then that string must
+ number as a floating-point number</a> and then that string must
be used as the new content attribute value.</p>
<p class=note>The values Infinity and Not-a-Number (NaN) values
@@ -13211,7 +13211,7 @@
<td><a href=#concept-role-none title=concept-role-none>No role</a>, with the <code title=title-aria-readonly>aria-readonly</code> property set to "true" if the element has a <code title=attr-input-readonly><a href=#attr-input-readonly>readonly</a></code> attribute
<tr><td><code><a href=#the-input-element>input</a></code> element with a <code title=attr-input-type><a href=#attr-input-type>type</a></code> attribute in the <a href="#number-state-(type=number)" title=attr-input-type-number>Number</a> state
- <td><code title=attr-aria-role-spinbutton>spinbutton</code> role, with the <code title=title-aria-readonly>aria-readonly</code> property set to "true" if the element has a <code title=attr-input-readonly><a href=#attr-input-readonly>readonly</a></code> attribute, the <code title=attr-aria-valuemax>aria-valuemax</code> property set to the element's <a href=#concept-input-max title=concept-input-max>maximum</a>, the <code title=attr-aria-valuemin>aria-valuemin</code> property set to the element's <a href=#concept-input-min title=concept-input-min>minimum</a>, and, if the result of applying the <a href=#rules-for-parsing-floating-point-number-values>rules for parsing floating point number values</a> to the element's <a href=#concept-fe-value title=concept-fe-value>value</a> is a number, with the <code title=attr-aria-valuenow>aria-valuenow</code> property set to that number
+ <td><code title=attr-aria-role-spinbutton>spinbutton</code> role, with the <code title=title-aria-readonly>aria-readonly</code> property set to "true" if the element has a <code title=attr-input-readonly><a href=#attr-input-readonly>readonly</a></code> attribute, the <code title=attr-aria-valuemax>aria-valuemax</code> property set to the element's <a href=#concept-input-max title=concept-input-max>maximum</a>, the <code title=attr-aria-valuemin>aria-valuemin</code> property set to the element's <a href=#concept-input-min title=concept-input-min>minimum</a>, and, if the result of applying the <a href=#rules-for-parsing-floating-point-number-values>rules for parsing floating-point number values</a> to the element's <a href=#concept-fe-value title=concept-fe-value>value</a> is a number, with the <code title=attr-aria-valuenow>aria-valuenow</code> property set to that number
<tr><td><code><a href=#the-input-element>input</a></code> element with a <code title=attr-input-type><a href=#attr-input-type>type</a></code> attribute in the <a href="#password-state-(type=password)" title=attr-input-type-password>Password</a> state
<td><code title=attr-aria-role-textbox>textbox</code> role, with the <code title=title-aria-readonly>aria-readonly</code> property set to "true" if the element has a <code title=attr-input-readonly><a href=#attr-input-readonly>readonly</a></code> attribute
@@ -13220,7 +13220,7 @@
<td><code title=attr-aria-checked>aria-checked</code> state set to "true" if the element's <a href=#concept-fe-checked title=concept-fe-checked>checkedness</a> is true, or "false" otherwise
<tr><td><code><a href=#the-input-element>input</a></code> element with a <code title=attr-input-type><a href=#attr-input-type>type</a></code> attribute in the <a href="#range-state-(type=range)" title=attr-input-type-range>Range</a> state
- <td><code title=attr-aria-role-slider>slider</code> role, with the <code title=attr-aria-valuemax>aria-valuemax</code> property set to the element's <a href=#concept-input-max title=concept-input-max>maximum</a>, the <code title=attr-aria-valuemin>aria-valuemin</code> property set to the element's <a href=#concept-input-min title=concept-input-min>minimum</a>, and the <code title=attr-aria-valuenow>aria-valuenow</code> property set to the result of applying the <a href=#rules-for-parsing-floating-point-number-values>rules for parsing floating point number values</a> to the element's <a href=#concept-fe-value title=concept-fe-value>value</a>, if that results in a number, or the <a href=#concept-input-value-default-range title=concept-input-value-default-range>default value</a> otherwise
+ <td><code title=attr-aria-role-slider>slider</code> role, with the <code title=attr-aria-valuemax>aria-valuemax</code> property set to the element's <a href=#concept-input-max title=concept-input-max>maximum</a>, the <code title=attr-aria-valuemin>aria-valuemin</code> property set to the element's <a href=#concept-input-min title=concept-input-min>minimum</a>, and the <code title=attr-aria-valuenow>aria-valuenow</code> property set to the result of applying the <a href=#rules-for-parsing-floating-point-number-values>rules for parsing floating-point number values</a> to the element's <a href=#concept-fe-value title=concept-fe-value>value</a>, if that results in a number, or the <a href=#concept-input-value-default-range title=concept-input-value-default-range>default value</a> otherwise
<tr><td><code><a href=#the-input-element>input</a></code> element with a <code title=attr-input-type><a href=#attr-input-type>type</a></code> attribute in the <a href="#reset-button-state-(type=reset)" title=attr-input-type-reset>Reset Button</a> state
<td><code title=attr-aria-role-button>button</code> role
@@ -23622,7 +23622,7 @@
characters</a>.</li>
<li>Optionally a <i>pixel density descriptor</i>, consisting of: a
- <a href=#space-character>space character</a>, a <a href=#valid-floating-point-number>valid floating point
+ <a href=#space-character>space character</a>, a <a href=#valid-floating-point-number>valid floating-point
number</a> giving a number greater than zero representing the
<i>pixel density descriptor value</i>, and a U+0078 LATIN SMALL
LETTER X character.</li>
@@ -24078,14 +24078,14 @@
</ol></dd>
- <dt>If the token consists of a <a href=#valid-floating-point-number>valid floating point number</a> followed by a U+0078 LATIN SMALL LETTER X character</dt>
+ <dt>If the token consists of a <a href=#valid-floating-point-number>valid floating-point number</a> followed by a U+0078 LATIN SMALL LETTER X character</dt>
<dd>
<ol><li><p>If <var title="">density</var> is not <i>absent</i>,
then let <var title="">error</var> be <i>yes</i>.</li>
- <li><p>Apply the <a href=#rules-for-parsing-floating-point-number-values>rules for parsing floating point
+ <li><p>Apply the <a href=#rules-for-parsing-floating-point-number-values>rules for parsing floating-point
number values</a> to the token. Let <var title="">density</var> be the result.</li>
</ol></dd>
@@ -48993,16 +48993,16 @@
<p>If the element is <i title=concept-input-mutable><a href=#concept-input-mutable>mutable</a></i>,
the user agent should allow the user to change the number
represented by its <a href=#concept-fe-value title=concept-fe-value>value</a>, as
- obtained from applying the <a href=#rules-for-parsing-floating-point-number-values>rules for parsing floating point
+ obtained from applying the <a href=#rules-for-parsing-floating-point-number-values>rules for parsing floating-point
number values</a> to it. User agents must not allow the user to
set the <a href=#concept-fe-value title=concept-fe-value>value</a> to a non-empty
- string that is not a <a href=#valid-floating-point-number>valid floating point number</a>. If
+ string that is not a <a href=#valid-floating-point-number>valid floating-point number</a>. If
the user agent provides a user interface for selecting a number,
then the <a href=#concept-fe-value title=concept-fe-value>value</a> must be set to
- the <a href=#best-representation-of-the-number-as-a-floating-point-number title="best representation of the number as a floating
- point number">best representation of the number representing the
- user's selection as a floating point number</a>. User agents
- should allow the user to set the <a href=#concept-fe-value title=concept-fe-value>value</a> to the empty string.</p>
+ the <a href=#best-representation-of-the-number-as-a-floating-point-number title="best representation of the number as a
+ floating-point number">best representation of the number
+ representing the user's selection as a floating-point number</a>.
+ User agents should allow the user to set the <a href=#concept-fe-value title=concept-fe-value>value</a> to the empty string.</p>
</div>
@@ -49017,23 +49017,23 @@
<p>The <code title=attr-input-value><a href=#attr-input-value>value</a></code> attribute, if
specified and not empty, must have a value that is a <a href=#valid-floating-point-number>valid
- floating point number</a>.</p> <!-- ok to set out-of-range value,
+ floating-point number</a>.</p> <!-- ok to set out-of-range value,
we never know when we might have to represent bogus input -->
<div class=impl>
<p><strong>The <a href=#value-sanitization-algorithm>value sanitization algorithm</a> is as
follows</strong>: If the <a href=#concept-fe-value title=concept-fe-value>value</a>
- of the element is not a <a href=#valid-floating-point-number>valid floating point number</a>,
+ of the element is not a <a href=#valid-floating-point-number>valid floating-point number</a>,
then set it to the empty string instead.</p>
</div>
<p>The <code title=attr-input-min><a href=#attr-input-min>min</a></code> attribute, if
- specified, must have a value that is a <a href=#valid-floating-point-number>valid floating point
+ specified, must have a value that is a <a href=#valid-floating-point-number>valid floating-point
number</a>. The <code title=attr-input-max><a href=#attr-input-max>max</a></code>
attribute, if specified, must have a value that is a <a href=#valid-floating-point-number>valid
- floating point number</a>.</p>
+ floating-point number</a>.</p>
<p><span class=impl>The <a href=#concept-input-step-scale title=concept-input-step-scale>step scale factor</a> is
1.</span> The <a href=#concept-input-step-default title=concept-input-step-default>default
@@ -49052,13 +49052,13 @@
<p><strong>The <a href=#concept-input-value-string-number title=concept-input-value-string-number>algorithm to convert a
string to a number</a>, given a string <var title="">input</var>,
is as follows</strong>: If applying the <a href=#rules-for-parsing-floating-point-number-values>rules for parsing
- floating point number values</a> to <var title="">input</var>
+ floating-point number values</a> to <var title="">input</var>
results in an error, then return an error; otherwise, return the
resulting number.</p>
<p><strong>The <a href=#concept-input-value-number-string title=concept-input-value-number-string>algorithm to convert a
number to a string</a>, given a number <var title="">input</var>,
- is as follows</strong>: Return a <a href=#valid-floating-point-number>valid floating point
+ is as follows</strong>: Return a <a href=#valid-floating-point-number>valid floating-point
number</a> that represents <var title="">input</var>.</p>
</div>
@@ -49166,19 +49166,19 @@
<p>If the element is <i title=concept-input-mutable><a href=#concept-input-mutable>mutable</a></i>,
the user agent should allow the user to change the number
represented by its <a href=#concept-fe-value title=concept-fe-value>value</a>, as
- obtained from applying the <a href=#rules-for-parsing-floating-point-number-values>rules for parsing floating point
+ obtained from applying the <a href=#rules-for-parsing-floating-point-number-values>rules for parsing floating-point
number values</a> to it. User agents must not allow the user to
set the <a href=#concept-fe-value title=concept-fe-value>value</a> to a string that
- is not a <a href=#valid-floating-point-number>valid floating point number</a>. If the user agent
- provides a user interface for selecting a number, then the <a href=#concept-fe-value title=concept-fe-value>value</a> must be set to a <a href=#best-representation-of-the-number-as-a-floating-point-number title="best representation of the number as a floating point
+ is not a <a href=#valid-floating-point-number>valid floating-point number</a>. If the user agent
+ provides a user interface for selecting a number, then the <a href=#concept-fe-value title=concept-fe-value>value</a> must be set to a <a href=#best-representation-of-the-number-as-a-floating-point-number title="best representation of the number as a floating-point
number">best representation of the number representing the user's
- selection as a floating point number</a>. User agents must not
+ selection as a floating-point number</a>. User agents must not
allow the user to set the <a href=#concept-fe-value title=concept-fe-value>value</a> to the empty string.</p>
</div>
<p>The <code title=attr-input-value><a href=#attr-input-value>value</a></code> attribute, if
- specified, must have a value that is a <a href=#valid-floating-point-number>valid floating point
+ specified, must have a value that is a <a href=#valid-floating-point-number>valid floating-point
number</a>.</p> <!-- ok to set out-of-range value, we never know
when we might have to represent bogus input; not ok to not have a
value if the attribute is present, since you can't not have a value
@@ -49188,18 +49188,18 @@
<p><strong>The <a href=#value-sanitization-algorithm>value sanitization algorithm</a> is as
follows</strong>: If the <a href=#concept-fe-value title=concept-fe-value>value</a>
- of the element is not a <a href=#valid-floating-point-number>valid floating point number</a>,
- then set it to a <a href=#valid-floating-point-number>valid floating point number</a> that
+ of the element is not a <a href=#valid-floating-point-number>valid floating-point number</a>,
+ then set it to a <a href=#valid-floating-point-number>valid floating-point number</a> that
represents the <a href=#concept-input-value-default-range title=concept-input-value-default-range>default value</a>.</p>
</div>
<p>The <code title=attr-input-min><a href=#attr-input-min>min</a></code> attribute, if
- specified, must have a value that is a <a href=#valid-floating-point-number>valid floating point
+ specified, must have a value that is a <a href=#valid-floating-point-number>valid floating-point
number</a>. The <a href=#concept-input-min-default title=concept-input-min-default>default
minimum</a> is 0. The <code title=attr-input-max><a href=#attr-input-max>max</a></code>
attribute, if specified, must have a value that is a <a href=#valid-floating-point-number>valid
- floating point number</a>. The <a href=#concept-input-max-default title=concept-input-max-default>default maximum</a> is 100.</p>
+ floating-point number</a>. The <a href=#concept-input-max-default title=concept-input-max-default>default maximum</a> is 100.</p>
<p>The <dfn id=concept-input-value-default-range title=concept-input-value-default-range>default
value</dfn> is the <a href=#concept-input-min title=concept-input-min>minimum</a>
@@ -49209,13 +49209,13 @@
<div class=impl>
<p>When the element is <a href=#suffering-from-an-underflow>suffering from an
- underflow</a>, the user agent must set the element's <a href=#concept-fe-value title=concept-fe-value>value</a> to a <a href=#valid-floating-point-number>valid floating point
+ underflow</a>, the user agent must set the element's <a href=#concept-fe-value title=concept-fe-value>value</a> to a <a href=#valid-floating-point-number>valid floating-point
number</a> that represents the <a href=#concept-input-min title=concept-input-min>minimum</a>.</p>
<p>When the element is <a href=#suffering-from-an-overflow>suffering from an overflow</a>,
if the <a href=#concept-input-max title=concept-input-max>maximum</a> is not less
than the <a href=#concept-input-min title=concept-input-min>minimum</a>, the user
- agent must set the element's <a href=#concept-fe-value title=concept-fe-value>value</a> to a <a href=#valid-floating-point-number>valid floating point
+ agent must set the element's <a href=#concept-fe-value title=concept-fe-value>value</a> to a <a href=#valid-floating-point-number>valid floating-point
number</a> that represents the <a href=#concept-input-max title=concept-input-max>maximum</a>.</p>
</div>
@@ -49245,13 +49245,13 @@
<p><strong>The <a href=#concept-input-value-string-number title=concept-input-value-string-number>algorithm to convert a
string to a number</a>, given a string <var title="">input</var>,
is as follows</strong>: If applying the <a href=#rules-for-parsing-floating-point-number-values>rules for parsing
- floating point number values</a> to <var title="">input</var>
+ floating-point number values</a> to <var title="">input</var>
results in an error, then return an error; otherwise, return the
resulting number.</p>
<p><strong>The <a href=#concept-input-value-number-string title=concept-input-value-number-string>algorithm to convert a
number to a string</a>, given a number <var title="">input</var>,
- is as follows</strong>: Return a <a href=#valid-floating-point-number>valid floating point
+ is as follows</strong>: Return a <a href=#valid-floating-point-number>valid floating-point
number</a> that represents <var title="">input</var>.</p>
</div>
@@ -51196,10 +51196,10 @@
below.</span></p>
<p>The <code title=attr-input-step><a href=#attr-input-step>step</a></code> attribute, if
- specified, must either have a value that is a <a href=#valid-floating-point-number>valid floating
- point number</a> that <a href=#rules-for-parsing-floating-point-number-values title="rules for parsing floating
- point number values">parses</a> to a number that is greater than
- zero, or must have a value that is an <a href=#ascii-case-insensitive>ASCII
+ specified, must either have a value that is a <a href=#valid-floating-point-number>valid
+ floating-point number</a> that <a href=#rules-for-parsing-floating-point-number-values title="rules for parsing
+ floating-point number values">parses</a> to a number that is
+ greater than zero, or must have a value that is an <a href=#ascii-case-insensitive>ASCII
case-insensitive</a> match for the string "<code title="">any</code>".</p>
<div class=impl>
@@ -51214,7 +51214,7 @@
<li>Otherwise, if the attribute's value is an <a href=#ascii-case-insensitive>ASCII
case-insensitive</a> match for the string "<code title="">any</code>", then there is no <a href=#concept-input-step title=concept-input-step>allowed value step</a>.</li>
- <li>Otherwise, if the <a href=#rules-for-parsing-floating-point-number-values>rules for parsing floating point number
+ <li>Otherwise, if the <a href=#rules-for-parsing-floating-point-number-values>rules for parsing floating-point number
values</a>, when they are applied to the attribute's value,
return an error, zero, or a number less than zero, then the <a href=#concept-input-step title=concept-input-step>allowed value step</a> is the <a href=#concept-input-step-default title=concept-input-step-default>default step</a> multiplied
by the <a href=#concept-input-step-scale title=concept-input-step-scale>step scale
@@ -51222,7 +51222,7 @@
<li>Otherwise, the <a href=#concept-input-step title=concept-input-step>allowed value
step</a> is the number returned by the <a href=#rules-for-parsing-floating-point-number-values>rules for parsing
- floating point number values</a> when they are applied to the
+ floating-point number values</a> when they are applied to the
attribute's value, multiplied by the <a href=#concept-input-step-scale title=concept-input-step-scale>step scale factor</a>.</li>
</ol><p>The <dfn id=concept-input-min-zero title=concept-input-min-zero>step base</dfn> is the
@@ -53642,8 +53642,8 @@
</div>
<p>The <code title=attr-progress-value><a href=#attr-progress-value>value</a></code> and <code title=attr-progress-max><a href=#attr-progress-max>max</a></code> attributes, when present, must
- have values that are <a href=#valid-floating-point-number title="valid floating point number">valid
- floating point numbers</a>. The <code title=attr-progress-value><a href=#attr-progress-value>value</a></code> attribute, if present, must
+ have values that are <a href=#valid-floating-point-number title="valid floating-point number">valid
+ floating-point numbers</a>. The <code title=attr-progress-value><a href=#attr-progress-value>value</a></code> attribute, if present, must
have a value equal to or greater than zero, and less than or equal
to the value of the <code title=attr-progress-max><a href=#attr-progress-max>max</a></code>
attribute, if present, or 1.0, otherwise. The <code title=attr-progress-max><a href=#attr-progress-max>max</a></code> attribute, if present, must
@@ -53664,9 +53664,9 @@
<p>If the progress bar is a determinate progress bar and the element
has a <code title=attr-progress-max><a href=#attr-progress-max>max</a></code> attribute, the user
agent must parse the <code title=attr-progress-max><a href=#attr-progress-max>max</a></code>
- attribute's value according to the <a href=#rules-for-parsing-floating-point-number-values>rules for parsing floating
- point number values</a>. If this does not result in an error, and
- if the parsed value is greater than zero, then the <dfn id=concept-progress-maximum title=concept-progress-maximum>maximum value</dfn> of the progress
+ attribute's value according to the <a href=#rules-for-parsing-floating-point-number-values>rules for parsing
+ floating-point number values</a>. If this does not result in an
+ error, and if the parsed value is greater than zero, then the <dfn id=concept-progress-maximum title=concept-progress-maximum>maximum value</dfn> of the progress
bar is that value. Otherwise, if the element has no <code title=attr-progress-max><a href=#attr-progress-max>max</a></code> attribute, or if it has one but
parsing it resulted in an error, or if the parsed value was less
than or equal to zero, then the <a href=#concept-progress-maximum title=concept-progress-maximum>maximum value</a> of the
@@ -53674,17 +53674,17 @@
<p>If the progress bar is a determinate progress bar, user agents
must parse the <code title=attr-progress-value><a href=#attr-progress-value>value</a></code>
- attribute's value according to the <a href=#rules-for-parsing-floating-point-number-values>rules for parsing floating
- point number values</a>. If this does not result in an error, and
- if the parsed value is less than the <a href=#concept-progress-maximum title=concept-progress-maximum>maximum value</a> and greater
+ attribute's value according to the <a href=#rules-for-parsing-floating-point-number-values>rules for parsing
+ floating-point number values</a>. If this does not result in an
+ error, and if the parsed value is less than the <a href=#concept-progress-maximum title=concept-progress-maximum>maximum value</a> and greater
than zero, then the <dfn id=concept-progress-value title=concept-progress-value>current
value</dfn> of the progress bar is that parsed value. Otherwise, if
the parsed value was greater than or equal to the <a href=#concept-progress-maximum title=concept-progress-maximum>maximum value</a>, then the
<a href=#concept-progress-value title=concept-progress-value>current value</a> of the
progress bar is the <a href=#concept-progress-maximum title=concept-progress-maximum>maximum
value</a> of the progress bar. Otherwise, if parsing the <code title=attr-progress-value><a href=#attr-progress-value>value</a></code> attribute's value resulted
- in an error, or a number less than or equal to zero, then the <a href=#concept-progress-value title=concept-progress-value>current value</a> of the
- progress bar is zero.</p>
+ in an error, or a number less than or equal to zero, then the <a href=#concept-progress-value title=concept-progress-value>current value</a> of the progress
+ bar is zero.</p>
<p><strong>UA requirements for showing the progress bar</strong>:
When representing a <code><a href=#the-progress-element>progress</a></code> element to the user, the
@@ -53720,7 +53720,7 @@
attribute, on getting, must return 0. Otherwise, it must return the
<a href=#concept-progress-value title=concept-progress-value>current value</a>. On
setting, the given value must be converted to the <a href=#best-representation-of-the-number-as-a-floating-point-number>best
- representation of the number as a floating point number</a> and
+ representation of the number as a floating-point number</a> and
then the <code title=dom-progress-value><a href=#dom-progress-value>value</a></code> content
attribute must be set to that string.</p>
@@ -53814,8 +53814,8 @@
<p><span class=impl><strong>Authoring
requirements</strong>:</span> The <code title=attr-meter-value><a href=#attr-meter-value>value</a></code> attribute must be
specified. The <code title=attr-meter-value><a href=#attr-meter-value>value</a></code>, <code title=attr-meter-min><a href=#attr-meter-min>min</a></code>, <code title=attr-meter-low><a href=#attr-meter-low>low</a></code>, <code title=attr-meter-high><a href=#attr-meter-high>high</a></code>, <code title=attr-meter-max><a href=#attr-meter-max>max</a></code>, and <code title=attr-meter-optimum><a href=#attr-meter-optimum>optimum</a></code> attributes, when present,
- must have values that are <a href=#valid-floating-point-number title="valid floating point
- number">valid floating point numbers</a>.</p>
+ must have values that are <a href=#valid-floating-point-number title="valid floating-point
+ number">valid floating-point numbers</a>.</p>
<p>In addition, the attributes' values are further constrained:</p>
@@ -53892,7 +53892,7 @@
<p><strong>User agent requirements</strong>: User agents must parse
the <code title=attr-meter-min><a href=#attr-meter-min>min</a></code>, <code title=attr-meter-max><a href=#attr-meter-max>max</a></code>, <code title=attr-meter-value><a href=#attr-meter-value>value</a></code>, <code title=attr-meter-low><a href=#attr-meter-low>low</a></code>, <code title=attr-meter-high><a href=#attr-meter-high>high</a></code>, and <code title=attr-meter-optimum><a href=#attr-meter-optimum>optimum</a></code> attributes using the
- <a href=#rules-for-parsing-floating-point-number-values>rules for parsing floating point number values</a>.</p>
+ <a href=#rules-for-parsing-floating-point-number-values>rules for parsing floating-point number values</a>.</p>
<p>User agents must then use all these numbers to obtain values for
six points on the gauge, as follows. (The order in which these are
@@ -54079,37 +54079,37 @@
<p>The <dfn id=dom-meter-value title=dom-meter-value><code>value</code></dfn> IDL
attribute, on getting, must return the <a href=#concept-meter-actual title=concept-meter-actual>actual value</a>. On setting, the
given value must be converted to the <a href=#best-representation-of-the-number-as-a-floating-point-number>best representation of
- the number as a floating point number</a> and then the <code title=dom-meter-value><a href=#dom-meter-value>value</a></code> content attribute must be set
+ the number as a floating-point number</a> and then the <code title=dom-meter-value><a href=#dom-meter-value>value</a></code> content attribute must be set
to that string.</p>
<p>The <dfn id=dom-meter-min title=dom-meter-min><code>min</code></dfn> IDL
attribute, on getting, must return the <a href=#concept-meter-minimum title=concept-meter-minimum>minimum value</a>. On setting, the
given value must be converted to the <a href=#best-representation-of-the-number-as-a-floating-point-number>best representation of
- the number as a floating point number</a> and then the <code title=dom-meter-min><a href=#dom-meter-min>min</a></code> content attribute must be set to
+ the number as a floating-point number</a> and then the <code title=dom-meter-min><a href=#dom-meter-min>min</a></code> content attribute must be set to
that string.</p>
<p>The <dfn id=dom-meter-max title=dom-meter-max><code>max</code></dfn> IDL
attribute, on getting, must return the <a href=#concept-meter-maximum title=concept-meter-maximum>maximum value</a>. On setting, the
given value must be converted to the <a href=#best-representation-of-the-number-as-a-floating-point-number>best representation of
- the number as a floating point number</a> and then the <code title=dom-meter-max><a href=#dom-meter-max>max</a></code> content attribute must be set to
+ the number as a floating-point number</a> and then the <code title=dom-meter-max><a href=#dom-meter-max>max</a></code> content attribute must be set to
that string.</p>
<p>The <dfn id=dom-meter-low title=dom-meter-low><code>low</code></dfn> IDL
attribute, on getting, must return the <a href=#concept-meter-low title=concept-meter-low>low boundary</a>. On setting, the given
value must be converted to the <a href=#best-representation-of-the-number-as-a-floating-point-number>best representation of the
- number as a floating point number</a> and then the <code title=dom-meter-low><a href=#dom-meter-low>low</a></code> content attribute must be set to
+ number as a floating-point number</a> and then the <code title=dom-meter-low><a href=#dom-meter-low>low</a></code> content attribute must be set to
that string.</p>
<p>The <dfn id=dom-meter-high title=dom-meter-high><code>high</code></dfn> IDL
attribute, on getting, must return the <a href=#concept-meter-high title=concept-meter-high>high boundary</a>. On setting, the
given value must be converted to the <a href=#best-representation-of-the-number-as-a-floating-point-number>best representation of
- the number as a floating point number</a> and then the <code title=dom-meter-high><a href=#dom-meter-high>high</a></code> content attribute must be set to
+ the number as a floating-point number</a> and then the <code title=dom-meter-high><a href=#dom-meter-high>high</a></code> content attribute must be set to
that string.</p>
<p>The <dfn id=dom-meter-optimum title=dom-meter-optimum><code>optimum</code></dfn> IDL
attribute, on getting, must return the <a href=#concept-meter-optimum title=concept-meter-optimum>optimum value</a>. On setting, the
given value must be converted to the <a href=#best-representation-of-the-number-as-a-floating-point-number>best representation of
- the number as a floating point number</a> and then the <code title=dom-meter-optimum><a href=#dom-meter-optimum>optimum</a></code> content attribute must be
+ the number as a floating-point number</a> and then the <code title=dom-meter-optimum><a href=#dom-meter-optimum>optimum</a></code> content attribute must be
set to that string.</p>
<p>The <code title=dom-lfe-labels><a href=#dom-lfe-labels>labels</a></code> attribute provides
@@ -101711,7 +101711,7 @@
<tr><th> <code title="">high</code>
<td> <code title=attr-meter-high><a href=#attr-meter-high>meter</a></code>
<td> Low limit of high range
- <td> <a href=#valid-floating-point-number>Valid floating point number</a>*
+ <td> <a href=#valid-floating-point-number>Valid floating-point number</a>*
<tr><th> <code title="">href</code>
<td> <code title=attr-hyperlink-href><a href=#attr-hyperlink-href>a</a></code>;
<code title=attr-hyperlink-href><a href=#attr-hyperlink-href>area</a></code>
@@ -101811,7 +101811,7 @@
<tr><th> <code title="">low</code>
<td> <code title=attr-meter-low><a href=#attr-meter-low>meter</a></code>
<td> High limit of low range
- <td> <a href=#valid-floating-point-number>Valid floating point number</a>*
+ <td> <a href=#valid-floating-point-number>Valid floating-point number</a>*
<tr><th> <code title="">manifest</code>
<td> <code title=attr-html-manifest><a href=#attr-html-manifest>html</a></code>
<td> <a href=#concept-appcache-manifest title=concept-appcache-manifest>Application cache manifest</a>
@@ -101824,7 +101824,7 @@
<td> <code title=attr-meter-max><a href=#attr-meter-max>meter</a></code>;
<code title=attr-progress-max><a href=#attr-progress-max>progress</a></code>
<td> Upper bound of range
- <td> <a href=#valid-floating-point-number>Valid floating point number</a>*
+ <td> <a href=#valid-floating-point-number>Valid floating-point number</a>*
<tr><th> <code title="">maxlength</code>
<td> <code title=attr-input-maxlength><a href=#attr-input-maxlength>input</a></code>;
<code title=attr-textarea-maxlength><a href=#attr-textarea-maxlength>textarea</a></code>
@@ -101858,7 +101858,7 @@
<tr><th> <code title="">min</code>
<td> <code title=attr-meter-min><a href=#attr-meter-min>meter</a></code>
<td> Lower bound of range
- <td> <a href=#valid-floating-point-number>Valid floating point number</a>*
+ <td> <a href=#valid-floating-point-number>Valid floating-point number</a>*
<tr><th> <code title="">multiple</code>
<td> <code title=attr-input-multiple><a href=#attr-input-multiple>input</a></code>;
<code title=attr-select-multiple><a href=#attr-select-multiple>select</a></code>
@@ -101915,7 +101915,7 @@
<tr><th> <code title="">optimum</code>
<td> <code title=attr-meter-optimum><a href=#attr-meter-optimum>meter</a></code>
<td> Optimum value in gauge
- <td> <a href=#valid-floating-point-number>Valid floating point number</a>*
+ <td> <a href=#valid-floating-point-number>Valid floating-point number</a>*
<tr><th> <code title="">pattern</code>
<td> <code title=attr-input-pattern><a href=#attr-input-pattern>input</a></code>
<td> Pattern to be matched by the form control's value
@@ -102057,7 +102057,7 @@
<tr><th> <code title="">step</code>
<td> <code title=attr-input-step><a href=#attr-input-step>input</a></code>
<td> Granularity to be matched by the form control's value
- <td> <a href=#valid-floating-point-number>Valid floating point number</a> greater than zero, or "<code title="">any</code>"
+ <td> <a href=#valid-floating-point-number>Valid floating-point number</a> greater than zero, or "<code title="">any</code>"
<tr><th> <code title="">style</code>
<td> <a href=#the-style-attribute title=attr-style>HTML elements</a>
<td> Presentational and formatting instructions
@@ -102169,7 +102169,7 @@
<td> <code title=attr-meter-value><a href=#attr-meter-value>meter</a></code>;
<code title=attr-progress-value><a href=#attr-progress-value>progress</a></code>
<td> Current value of the element
- <td> <a href=#valid-floating-point-number>Valid floating point number</a>
+ <td> <a href=#valid-floating-point-number>Valid floating-point number</a>
<tr><th> <code title="">value</code>
<td> <code title=attr-param-value><a href=#attr-param-value>param</a></code>
<td> Value of parameter
Modified: index
===================================================================
--- index 2012-07-19 23:14:07 UTC (rev 7183)
+++ index 2012-07-20 03:15:51 UTC (rev 7184)
@@ -240,7 +240,7 @@
<header class=head id=head><p><a class=logo href=http://www.whatwg.org/><img alt=WHATWG height=101 src=/images/logo width=101></a></p>
<hgroup><h1 class=allcaps>HTML</h1>
- <h2 class="no-num no-toc">Living Standard — Last Updated 19 July 2012</h2>
+ <h2 class="no-num no-toc">Living Standard — Last Updated 20 July 2012</h2>
</hgroup><dl><dt><strong>Web developer edition:</strong></dt>
<dd><strong><a href=http://developers.whatwg.org/>http://developers.whatwg.org/</a></strong></dd>
<dt>Multiple-page version:</dt>
@@ -4837,7 +4837,7 @@
<h5 id=floating-point-numbers><span class=secno>2.5.4.3 </span>Floating-point numbers</h5>
- <p>A string is a <dfn id=valid-floating-point-number>valid floating point number</dfn> if it
+ <p>A string is a <dfn id=valid-floating-point-number>valid floating-point number</dfn> if it
consists of:</p>
<ol class=brief><li>Optionally, a U+002D HYPHEN-MINUS character (-).</li>
@@ -4871,7 +4871,7 @@
</ol></li>
- </ol><p>A <a href=#valid-floating-point-number>valid floating point number</a> represents the number
+ </ol><p>A <a href=#valid-floating-point-number>valid floating-point number</a> represents the number
obtained by multiplying the significand by ten raised to the power
of the exponent, where the significand is the first number,
interpreted as base ten (including the decimal point and the number
@@ -4886,13 +4886,13 @@
treated as zero.</p>
<p class=note>The Infinity and Not-a-Number (NaN) values are not
- <a href=#valid-floating-point-number title="valid floating point number">valid floating point
+ <a href=#valid-floating-point-number title="valid floating-point number">valid floating-point
numbers</a>.</p>
<div class=impl>
- <p>The <dfn id=best-representation-of-the-number-as-a-floating-point-number title="best representation of the number as a floating
- point number">best representation of the number <var title="">n</var> as a floating point number</dfn> is the string
+ <p>The <dfn id=best-representation-of-the-number-as-a-floating-point-number title="best representation of the number as a
+ floating-point number">best representation of the number <var title="">n</var> as a floating-point number</dfn> is the string
obtained from applying the JavaScript operator ToString to <var title="">n</var>. The JavaScript operator ToString is not uniquely
determined. When there are multiple possible strings that could be
obtained from the JavaScript operator ToString for a particular
@@ -4900,7 +4900,7 @@
value (though it may differ from the value used by other user
agents).</p>
- <p>The <dfn id=rules-for-parsing-floating-point-number-values>rules for parsing floating point number values</dfn> are
+ <p>The <dfn id=rules-for-parsing-floating-point-number-values>rules for parsing floating-point number values</dfn> are
as given in the following algorithm. This algorithm must be aborted
at the first step that returns something. This algorithm will return
either a number or an error.</p>
@@ -5045,7 +5045,7 @@
</ol></li>
<li><p><i>Conversion</i>: Let <var title="">S</var> be the set of
- finite IEEE 754 double-precision floating point values except
+ finite IEEE 754 double-precision floating-point values except
−0, but with two special values added: 2<sup title="">1024</sup> and −2<sup title="">1024</sup>.</li>
<li><p>Let <var title="">rounded-value</var> be the number in <var title="">S</var> that is closest to <var title="">value</var>,
@@ -8812,24 +8812,24 @@
and then that string must be used as the new content attribute
value.</p> <!-- see previous paragraph for note about the range -->
- <p>If a reflecting IDL attribute has a floating point number type
+ <p>If a reflecting IDL attribute has a floating-point number type
(<code>double</code> or <code>unrestricted double</code>), then, on
getting, the content attribute must be parsed according to the
- <a href=#rules-for-parsing-floating-point-number-values>rules for parsing floating point number values</a>, and if
+ <a href=#rules-for-parsing-floating-point-number-values>rules for parsing floating-point number values</a>, and if
that is successful, the resulting value must be returned. If, on the
other hand, it fails, or if the attribute is absent, the default
value must be returned instead, or 0.0 if there is no default value.
On setting, the given value must be converted to the <a href=#best-representation-of-the-number-as-a-floating-point-number>best
- representation of the number as a floating point number</a> and
+ representation of the number as a floating-point number</a> and
then that string must be used as the new content attribute
value.</p>
- <p>If a reflecting IDL attribute has a floating point number type
+ <p>If a reflecting IDL attribute has a floating-point number type
(<code>double</code> or <code>unrestricted double</code>) that is
<dfn id=limited-to-numbers-greater-than-zero>limited to numbers greater than zero</dfn>, then the behavior
is similar to the previous case, but zero and negative values are
not allowed. On getting, the content attribute must be parsed
- according to the <a href=#rules-for-parsing-floating-point-number-values>rules for parsing floating point number
+ according to the <a href=#rules-for-parsing-floating-point-number-values>rules for parsing floating-point number
values</a>, and if that is successful and the value is greater
than 0.0, the resulting value must be returned. If, on the other
hand, it fails or returns an out of range value, or if the attribute
@@ -8837,7 +8837,7 @@
there is no default value. On setting, if the value is less than or
equal to zero, then the value must be ignored. Otherwise, the given
value must be converted to the <a href=#best-representation-of-the-number-as-a-floating-point-number>best representation of the
- number as a floating point number</a> and then that string must
+ number as a floating-point number</a> and then that string must
be used as the new content attribute value.</p>
<p class=note>The values Infinity and Not-a-Number (NaN) values
@@ -13211,7 +13211,7 @@
<td><a href=#concept-role-none title=concept-role-none>No role</a>, with the <code title=title-aria-readonly>aria-readonly</code> property set to "true" if the element has a <code title=attr-input-readonly><a href=#attr-input-readonly>readonly</a></code> attribute
<tr><td><code><a href=#the-input-element>input</a></code> element with a <code title=attr-input-type><a href=#attr-input-type>type</a></code> attribute in the <a href="#number-state-(type=number)" title=attr-input-type-number>Number</a> state
- <td><code title=attr-aria-role-spinbutton>spinbutton</code> role, with the <code title=title-aria-readonly>aria-readonly</code> property set to "true" if the element has a <code title=attr-input-readonly><a href=#attr-input-readonly>readonly</a></code> attribute, the <code title=attr-aria-valuemax>aria-valuemax</code> property set to the element's <a href=#concept-input-max title=concept-input-max>maximum</a>, the <code title=attr-aria-valuemin>aria-valuemin</code> property set to the element's <a href=#concept-input-min title=concept-input-min>minimum</a>, and, if the result of applying the <a href=#rules-for-parsing-floating-point-number-values>rules for parsing floating point number values</a> to the element's <a href=#concept-fe-value title=concept-fe-value>value</a> is a number, with the <code title=attr-aria-valuenow>aria-valuenow</code> property set to that number
+ <td><code title=attr-aria-role-spinbutton>spinbutton</code> role, with the <code title=title-aria-readonly>aria-readonly</code> property set to "true" if the element has a <code title=attr-input-readonly><a href=#attr-input-readonly>readonly</a></code> attribute, the <code title=attr-aria-valuemax>aria-valuemax</code> property set to the element's <a href=#concept-input-max title=concept-input-max>maximum</a>, the <code title=attr-aria-valuemin>aria-valuemin</code> property set to the element's <a href=#concept-input-min title=concept-input-min>minimum</a>, and, if the result of applying the <a href=#rules-for-parsing-floating-point-number-values>rules for parsing floating-point number values</a> to the element's <a href=#concept-fe-value title=concept-fe-value>value</a> is a number, with the <code title=attr-aria-valuenow>aria-valuenow</code> property set to that number
<tr><td><code><a href=#the-input-element>input</a></code> element with a <code title=attr-input-type><a href=#attr-input-type>type</a></code> attribute in the <a href="#password-state-(type=password)" title=attr-input-type-password>Password</a> state
<td><code title=attr-aria-role-textbox>textbox</code> role, with the <code title=title-aria-readonly>aria-readonly</code> property set to "true" if the element has a <code title=attr-input-readonly><a href=#attr-input-readonly>readonly</a></code> attribute
@@ -13220,7 +13220,7 @@
<td><code title=attr-aria-checked>aria-checked</code> state set to "true" if the element's <a href=#concept-fe-checked title=concept-fe-checked>checkedness</a> is true, or "false" otherwise
<tr><td><code><a href=#the-input-element>input</a></code> element with a <code title=attr-input-type><a href=#attr-input-type>type</a></code> attribute in the <a href="#range-state-(type=range)" title=attr-input-type-range>Range</a> state
- <td><code title=attr-aria-role-slider>slider</code> role, with the <code title=attr-aria-valuemax>aria-valuemax</code> property set to the element's <a href=#concept-input-max title=concept-input-max>maximum</a>, the <code title=attr-aria-valuemin>aria-valuemin</code> property set to the element's <a href=#concept-input-min title=concept-input-min>minimum</a>, and the <code title=attr-aria-valuenow>aria-valuenow</code> property set to the result of applying the <a href=#rules-for-parsing-floating-point-number-values>rules for parsing floating point number values</a> to the element's <a href=#concept-fe-value title=concept-fe-value>value</a>, if that results in a number, or the <a href=#concept-input-value-default-range title=concept-input-value-default-range>default value</a> otherwise
+ <td><code title=attr-aria-role-slider>slider</code> role, with the <code title=attr-aria-valuemax>aria-valuemax</code> property set to the element's <a href=#concept-input-max title=concept-input-max>maximum</a>, the <code title=attr-aria-valuemin>aria-valuemin</code> property set to the element's <a href=#concept-input-min title=concept-input-min>minimum</a>, and the <code title=attr-aria-valuenow>aria-valuenow</code> property set to the result of applying the <a href=#rules-for-parsing-floating-point-number-values>rules for parsing floating-point number values</a> to the element's <a href=#concept-fe-value title=concept-fe-value>value</a>, if that results in a number, or the <a href=#concept-input-value-default-range title=concept-input-value-default-range>default value</a> otherwise
<tr><td><code><a href=#the-input-element>input</a></code> element with a <code title=attr-input-type><a href=#attr-input-type>type</a></code> attribute in the <a href="#reset-button-state-(type=reset)" title=attr-input-type-reset>Reset Button</a> state
<td><code title=attr-aria-role-button>button</code> role
@@ -23622,7 +23622,7 @@
characters</a>.</li>
<li>Optionally a <i>pixel density descriptor</i>, consisting of: a
- <a href=#space-character>space character</a>, a <a href=#valid-floating-point-number>valid floating point
+ <a href=#space-character>space character</a>, a <a href=#valid-floating-point-number>valid floating-point
number</a> giving a number greater than zero representing the
<i>pixel density descriptor value</i>, and a U+0078 LATIN SMALL
LETTER X character.</li>
@@ -24078,14 +24078,14 @@
</ol></dd>
- <dt>If the token consists of a <a href=#valid-floating-point-number>valid floating point number</a> followed by a U+0078 LATIN SMALL LETTER X character</dt>
+ <dt>If the token consists of a <a href=#valid-floating-point-number>valid floating-point number</a> followed by a U+0078 LATIN SMALL LETTER X character</dt>
<dd>
<ol><li><p>If <var title="">density</var> is not <i>absent</i>,
then let <var title="">error</var> be <i>yes</i>.</li>
- <li><p>Apply the <a href=#rules-for-parsing-floating-point-number-values>rules for parsing floating point
+ <li><p>Apply the <a href=#rules-for-parsing-floating-point-number-values>rules for parsing floating-point
number values</a> to the token. Let <var title="">density</var> be the result.</li>
</ol></dd>
@@ -48993,16 +48993,16 @@
<p>If the element is <i title=concept-input-mutable><a href=#concept-input-mutable>mutable</a></i>,
the user agent should allow the user to change the number
represented by its <a href=#concept-fe-value title=concept-fe-value>value</a>, as
- obtained from applying the <a href=#rules-for-parsing-floating-point-number-values>rules for parsing floating point
+ obtained from applying the <a href=#rules-for-parsing-floating-point-number-values>rules for parsing floating-point
number values</a> to it. User agents must not allow the user to
set the <a href=#concept-fe-value title=concept-fe-value>value</a> to a non-empty
- string that is not a <a href=#valid-floating-point-number>valid floating point number</a>. If
+ string that is not a <a href=#valid-floating-point-number>valid floating-point number</a>. If
the user agent provides a user interface for selecting a number,
then the <a href=#concept-fe-value title=concept-fe-value>value</a> must be set to
- the <a href=#best-representation-of-the-number-as-a-floating-point-number title="best representation of the number as a floating
- point number">best representation of the number representing the
- user's selection as a floating point number</a>. User agents
- should allow the user to set the <a href=#concept-fe-value title=concept-fe-value>value</a> to the empty string.</p>
+ the <a href=#best-representation-of-the-number-as-a-floating-point-number title="best representation of the number as a
+ floating-point number">best representation of the number
+ representing the user's selection as a floating-point number</a>.
+ User agents should allow the user to set the <a href=#concept-fe-value title=concept-fe-value>value</a> to the empty string.</p>
</div>
@@ -49017,23 +49017,23 @@
<p>The <code title=attr-input-value><a href=#attr-input-value>value</a></code> attribute, if
specified and not empty, must have a value that is a <a href=#valid-floating-point-number>valid
- floating point number</a>.</p> <!-- ok to set out-of-range value,
+ floating-point number</a>.</p> <!-- ok to set out-of-range value,
we never know when we might have to represent bogus input -->
<div class=impl>
<p><strong>The <a href=#value-sanitization-algorithm>value sanitization algorithm</a> is as
follows</strong>: If the <a href=#concept-fe-value title=concept-fe-value>value</a>
- of the element is not a <a href=#valid-floating-point-number>valid floating point number</a>,
+ of the element is not a <a href=#valid-floating-point-number>valid floating-point number</a>,
then set it to the empty string instead.</p>
</div>
<p>The <code title=attr-input-min><a href=#attr-input-min>min</a></code> attribute, if
- specified, must have a value that is a <a href=#valid-floating-point-number>valid floating point
+ specified, must have a value that is a <a href=#valid-floating-point-number>valid floating-point
number</a>. The <code title=attr-input-max><a href=#attr-input-max>max</a></code>
attribute, if specified, must have a value that is a <a href=#valid-floating-point-number>valid
- floating point number</a>.</p>
+ floating-point number</a>.</p>
<p><span class=impl>The <a href=#concept-input-step-scale title=concept-input-step-scale>step scale factor</a> is
1.</span> The <a href=#concept-input-step-default title=concept-input-step-default>default
@@ -49052,13 +49052,13 @@
<p><strong>The <a href=#concept-input-value-string-number title=concept-input-value-string-number>algorithm to convert a
string to a number</a>, given a string <var title="">input</var>,
is as follows</strong>: If applying the <a href=#rules-for-parsing-floating-point-number-values>rules for parsing
- floating point number values</a> to <var title="">input</var>
+ floating-point number values</a> to <var title="">input</var>
results in an error, then return an error; otherwise, return the
resulting number.</p>
<p><strong>The <a href=#concept-input-value-number-string title=concept-input-value-number-string>algorithm to convert a
number to a string</a>, given a number <var title="">input</var>,
- is as follows</strong>: Return a <a href=#valid-floating-point-number>valid floating point
+ is as follows</strong>: Return a <a href=#valid-floating-point-number>valid floating-point
number</a> that represents <var title="">input</var>.</p>
</div>
@@ -49166,19 +49166,19 @@
<p>If the element is <i title=concept-input-mutable><a href=#concept-input-mutable>mutable</a></i>,
the user agent should allow the user to change the number
represented by its <a href=#concept-fe-value title=concept-fe-value>value</a>, as
- obtained from applying the <a href=#rules-for-parsing-floating-point-number-values>rules for parsing floating point
+ obtained from applying the <a href=#rules-for-parsing-floating-point-number-values>rules for parsing floating-point
number values</a> to it. User agents must not allow the user to
set the <a href=#concept-fe-value title=concept-fe-value>value</a> to a string that
- is not a <a href=#valid-floating-point-number>valid floating point number</a>. If the user agent
- provides a user interface for selecting a number, then the <a href=#concept-fe-value title=concept-fe-value>value</a> must be set to a <a href=#best-representation-of-the-number-as-a-floating-point-number title="best representation of the number as a floating point
+ is not a <a href=#valid-floating-point-number>valid floating-point number</a>. If the user agent
+ provides a user interface for selecting a number, then the <a href=#concept-fe-value title=concept-fe-value>value</a> must be set to a <a href=#best-representation-of-the-number-as-a-floating-point-number title="best representation of the number as a floating-point
number">best representation of the number representing the user's
- selection as a floating point number</a>. User agents must not
+ selection as a floating-point number</a>. User agents must not
allow the user to set the <a href=#concept-fe-value title=concept-fe-value>value</a> to the empty string.</p>
</div>
<p>The <code title=attr-input-value><a href=#attr-input-value>value</a></code> attribute, if
- specified, must have a value that is a <a href=#valid-floating-point-number>valid floating point
+ specified, must have a value that is a <a href=#valid-floating-point-number>valid floating-point
number</a>.</p> <!-- ok to set out-of-range value, we never know
when we might have to represent bogus input; not ok to not have a
value if the attribute is present, since you can't not have a value
@@ -49188,18 +49188,18 @@
<p><strong>The <a href=#value-sanitization-algorithm>value sanitization algorithm</a> is as
follows</strong>: If the <a href=#concept-fe-value title=concept-fe-value>value</a>
- of the element is not a <a href=#valid-floating-point-number>valid floating point number</a>,
- then set it to a <a href=#valid-floating-point-number>valid floating point number</a> that
+ of the element is not a <a href=#valid-floating-point-number>valid floating-point number</a>,
+ then set it to a <a href=#valid-floating-point-number>valid floating-point number</a> that
represents the <a href=#concept-input-value-default-range title=concept-input-value-default-range>default value</a>.</p>
</div>
<p>The <code title=attr-input-min><a href=#attr-input-min>min</a></code> attribute, if
- specified, must have a value that is a <a href=#valid-floating-point-number>valid floating point
+ specified, must have a value that is a <a href=#valid-floating-point-number>valid floating-point
number</a>. The <a href=#concept-input-min-default title=concept-input-min-default>default
minimum</a> is 0. The <code title=attr-input-max><a href=#attr-input-max>max</a></code>
attribute, if specified, must have a value that is a <a href=#valid-floating-point-number>valid
- floating point number</a>. The <a href=#concept-input-max-default title=concept-input-max-default>default maximum</a> is 100.</p>
+ floating-point number</a>. The <a href=#concept-input-max-default title=concept-input-max-default>default maximum</a> is 100.</p>
<p>The <dfn id=concept-input-value-default-range title=concept-input-value-default-range>default
value</dfn> is the <a href=#concept-input-min title=concept-input-min>minimum</a>
@@ -49209,13 +49209,13 @@
<div class=impl>
<p>When the element is <a href=#suffering-from-an-underflow>suffering from an
- underflow</a>, the user agent must set the element's <a href=#concept-fe-value title=concept-fe-value>value</a> to a <a href=#valid-floating-point-number>valid floating point
+ underflow</a>, the user agent must set the element's <a href=#concept-fe-value title=concept-fe-value>value</a> to a <a href=#valid-floating-point-number>valid floating-point
number</a> that represents the <a href=#concept-input-min title=concept-input-min>minimum</a>.</p>
<p>When the element is <a href=#suffering-from-an-overflow>suffering from an overflow</a>,
if the <a href=#concept-input-max title=concept-input-max>maximum</a> is not less
than the <a href=#concept-input-min title=concept-input-min>minimum</a>, the user
- agent must set the element's <a href=#concept-fe-value title=concept-fe-value>value</a> to a <a href=#valid-floating-point-number>valid floating point
+ agent must set the element's <a href=#concept-fe-value title=concept-fe-value>value</a> to a <a href=#valid-floating-point-number>valid floating-point
number</a> that represents the <a href=#concept-input-max title=concept-input-max>maximum</a>.</p>
</div>
@@ -49245,13 +49245,13 @@
<p><strong>The <a href=#concept-input-value-string-number title=concept-input-value-string-number>algorithm to convert a
string to a number</a>, given a string <var title="">input</var>,
is as follows</strong>: If applying the <a href=#rules-for-parsing-floating-point-number-values>rules for parsing
- floating point number values</a> to <var title="">input</var>
+ floating-point number values</a> to <var title="">input</var>
results in an error, then return an error; otherwise, return the
resulting number.</p>
<p><strong>The <a href=#concept-input-value-number-string title=concept-input-value-number-string>algorithm to convert a
number to a string</a>, given a number <var title="">input</var>,
- is as follows</strong>: Return a <a href=#valid-floating-point-number>valid floating point
+ is as follows</strong>: Return a <a href=#valid-floating-point-number>valid floating-point
number</a> that represents <var title="">input</var>.</p>
</div>
@@ -51196,10 +51196,10 @@
below.</span></p>
<p>The <code title=attr-input-step><a href=#attr-input-step>step</a></code> attribute, if
- specified, must either have a value that is a <a href=#valid-floating-point-number>valid floating
- point number</a> that <a href=#rules-for-parsing-floating-point-number-values title="rules for parsing floating
- point number values">parses</a> to a number that is greater than
- zero, or must have a value that is an <a href=#ascii-case-insensitive>ASCII
+ specified, must either have a value that is a <a href=#valid-floating-point-number>valid
+ floating-point number</a> that <a href=#rules-for-parsing-floating-point-number-values title="rules for parsing
+ floating-point number values">parses</a> to a number that is
+ greater than zero, or must have a value that is an <a href=#ascii-case-insensitive>ASCII
case-insensitive</a> match for the string "<code title="">any</code>".</p>
<div class=impl>
@@ -51214,7 +51214,7 @@
<li>Otherwise, if the attribute's value is an <a href=#ascii-case-insensitive>ASCII
case-insensitive</a> match for the string "<code title="">any</code>", then there is no <a href=#concept-input-step title=concept-input-step>allowed value step</a>.</li>
- <li>Otherwise, if the <a href=#rules-for-parsing-floating-point-number-values>rules for parsing floating point number
+ <li>Otherwise, if the <a href=#rules-for-parsing-floating-point-number-values>rules for parsing floating-point number
values</a>, when they are applied to the attribute's value,
return an error, zero, or a number less than zero, then the <a href=#concept-input-step title=concept-input-step>allowed value step</a> is the <a href=#concept-input-step-default title=concept-input-step-default>default step</a> multiplied
by the <a href=#concept-input-step-scale title=concept-input-step-scale>step scale
@@ -51222,7 +51222,7 @@
<li>Otherwise, the <a href=#concept-input-step title=concept-input-step>allowed value
step</a> is the number returned by the <a href=#rules-for-parsing-floating-point-number-values>rules for parsing
- floating point number values</a> when they are applied to the
+ floating-point number values</a> when they are applied to the
attribute's value, multiplied by the <a href=#concept-input-step-scale title=concept-input-step-scale>step scale factor</a>.</li>
</ol><p>The <dfn id=concept-input-min-zero title=concept-input-min-zero>step base</dfn> is the
@@ -53642,8 +53642,8 @@
</div>
<p>The <code title=attr-progress-value><a href=#attr-progress-value>value</a></code> and <code title=attr-progress-max><a href=#attr-progress-max>max</a></code> attributes, when present, must
- have values that are <a href=#valid-floating-point-number title="valid floating point number">valid
- floating point numbers</a>. The <code title=attr-progress-value><a href=#attr-progress-value>value</a></code> attribute, if present, must
+ have values that are <a href=#valid-floating-point-number title="valid floating-point number">valid
+ floating-point numbers</a>. The <code title=attr-progress-value><a href=#attr-progress-value>value</a></code> attribute, if present, must
have a value equal to or greater than zero, and less than or equal
to the value of the <code title=attr-progress-max><a href=#attr-progress-max>max</a></code>
attribute, if present, or 1.0, otherwise. The <code title=attr-progress-max><a href=#attr-progress-max>max</a></code> attribute, if present, must
@@ -53664,9 +53664,9 @@
<p>If the progress bar is a determinate progress bar and the element
has a <code title=attr-progress-max><a href=#attr-progress-max>max</a></code> attribute, the user
agent must parse the <code title=attr-progress-max><a href=#attr-progress-max>max</a></code>
- attribute's value according to the <a href=#rules-for-parsing-floating-point-number-values>rules for parsing floating
- point number values</a>. If this does not result in an error, and
- if the parsed value is greater than zero, then the <dfn id=concept-progress-maximum title=concept-progress-maximum>maximum value</dfn> of the progress
+ attribute's value according to the <a href=#rules-for-parsing-floating-point-number-values>rules for parsing
+ floating-point number values</a>. If this does not result in an
+ error, and if the parsed value is greater than zero, then the <dfn id=concept-progress-maximum title=concept-progress-maximum>maximum value</dfn> of the progress
bar is that value. Otherwise, if the element has no <code title=attr-progress-max><a href=#attr-progress-max>max</a></code> attribute, or if it has one but
parsing it resulted in an error, or if the parsed value was less
than or equal to zero, then the <a href=#concept-progress-maximum title=concept-progress-maximum>maximum value</a> of the
@@ -53674,17 +53674,17 @@
<p>If the progress bar is a determinate progress bar, user agents
must parse the <code title=attr-progress-value><a href=#attr-progress-value>value</a></code>
- attribute's value according to the <a href=#rules-for-parsing-floating-point-number-values>rules for parsing floating
- point number values</a>. If this does not result in an error, and
- if the parsed value is less than the <a href=#concept-progress-maximum title=concept-progress-maximum>maximum value</a> and greater
+ attribute's value according to the <a href=#rules-for-parsing-floating-point-number-values>rules for parsing
+ floating-point number values</a>. If this does not result in an
+ error, and if the parsed value is less than the <a href=#concept-progress-maximum title=concept-progress-maximum>maximum value</a> and greater
than zero, then the <dfn id=concept-progress-value title=concept-progress-value>current
value</dfn> of the progress bar is that parsed value. Otherwise, if
the parsed value was greater than or equal to the <a href=#concept-progress-maximum title=concept-progress-maximum>maximum value</a>, then the
<a href=#concept-progress-value title=concept-progress-value>current value</a> of the
progress bar is the <a href=#concept-progress-maximum title=concept-progress-maximum>maximum
value</a> of the progress bar. Otherwise, if parsing the <code title=attr-progress-value><a href=#attr-progress-value>value</a></code> attribute's value resulted
- in an error, or a number less than or equal to zero, then the <a href=#concept-progress-value title=concept-progress-value>current value</a> of the
- progress bar is zero.</p>
+ in an error, or a number less than or equal to zero, then the <a href=#concept-progress-value title=concept-progress-value>current value</a> of the progress
+ bar is zero.</p>
<p><strong>UA requirements for showing the progress bar</strong>:
When representing a <code><a href=#the-progress-element>progress</a></code> element to the user, the
@@ -53720,7 +53720,7 @@
attribute, on getting, must return 0. Otherwise, it must return the
<a href=#concept-progress-value title=concept-progress-value>current value</a>. On
setting, the given value must be converted to the <a href=#best-representation-of-the-number-as-a-floating-point-number>best
- representation of the number as a floating point number</a> and
+ representation of the number as a floating-point number</a> and
then the <code title=dom-progress-value><a href=#dom-progress-value>value</a></code> content
attribute must be set to that string.</p>
@@ -53814,8 +53814,8 @@
<p><span class=impl><strong>Authoring
requirements</strong>:</span> The <code title=attr-meter-value><a href=#attr-meter-value>value</a></code> attribute must be
specified. The <code title=attr-meter-value><a href=#attr-meter-value>value</a></code>, <code title=attr-meter-min><a href=#attr-meter-min>min</a></code>, <code title=attr-meter-low><a href=#attr-meter-low>low</a></code>, <code title=attr-meter-high><a href=#attr-meter-high>high</a></code>, <code title=attr-meter-max><a href=#attr-meter-max>max</a></code>, and <code title=attr-meter-optimum><a href=#attr-meter-optimum>optimum</a></code> attributes, when present,
- must have values that are <a href=#valid-floating-point-number title="valid floating point
- number">valid floating point numbers</a>.</p>
+ must have values that are <a href=#valid-floating-point-number title="valid floating-point
+ number">valid floating-point numbers</a>.</p>
<p>In addition, the attributes' values are further constrained:</p>
@@ -53892,7 +53892,7 @@
<p><strong>User agent requirements</strong>: User agents must parse
the <code title=attr-meter-min><a href=#attr-meter-min>min</a></code>, <code title=attr-meter-max><a href=#attr-meter-max>max</a></code>, <code title=attr-meter-value><a href=#attr-meter-value>value</a></code>, <code title=attr-meter-low><a href=#attr-meter-low>low</a></code>, <code title=attr-meter-high><a href=#attr-meter-high>high</a></code>, and <code title=attr-meter-optimum><a href=#attr-meter-optimum>optimum</a></code> attributes using the
- <a href=#rules-for-parsing-floating-point-number-values>rules for parsing floating point number values</a>.</p>
+ <a href=#rules-for-parsing-floating-point-number-values>rules for parsing floating-point number values</a>.</p>
<p>User agents must then use all these numbers to obtain values for
six points on the gauge, as follows. (The order in which these are
@@ -54079,37 +54079,37 @@
<p>The <dfn id=dom-meter-value title=dom-meter-value><code>value</code></dfn> IDL
attribute, on getting, must return the <a href=#concept-meter-actual title=concept-meter-actual>actual value</a>. On setting, the
given value must be converted to the <a href=#best-representation-of-the-number-as-a-floating-point-number>best representation of
- the number as a floating point number</a> and then the <code title=dom-meter-value><a href=#dom-meter-value>value</a></code> content attribute must be set
+ the number as a floating-point number</a> and then the <code title=dom-meter-value><a href=#dom-meter-value>value</a></code> content attribute must be set
to that string.</p>
<p>The <dfn id=dom-meter-min title=dom-meter-min><code>min</code></dfn> IDL
attribute, on getting, must return the <a href=#concept-meter-minimum title=concept-meter-minimum>minimum value</a>. On setting, the
given value must be converted to the <a href=#best-representation-of-the-number-as-a-floating-point-number>best representation of
- the number as a floating point number</a> and then the <code title=dom-meter-min><a href=#dom-meter-min>min</a></code> content attribute must be set to
+ the number as a floating-point number</a> and then the <code title=dom-meter-min><a href=#dom-meter-min>min</a></code> content attribute must be set to
that string.</p>
<p>The <dfn id=dom-meter-max title=dom-meter-max><code>max</code></dfn> IDL
attribute, on getting, must return the <a href=#concept-meter-maximum title=concept-meter-maximum>maximum value</a>. On setting, the
given value must be converted to the <a href=#best-representation-of-the-number-as-a-floating-point-number>best representation of
- the number as a floating point number</a> and then the <code title=dom-meter-max><a href=#dom-meter-max>max</a></code> content attribute must be set to
+ the number as a floating-point number</a> and then the <code title=dom-meter-max><a href=#dom-meter-max>max</a></code> content attribute must be set to
that string.</p>
<p>The <dfn id=dom-meter-low title=dom-meter-low><code>low</code></dfn> IDL
attribute, on getting, must return the <a href=#concept-meter-low title=concept-meter-low>low boundary</a>. On setting, the given
value must be converted to the <a href=#best-representation-of-the-number-as-a-floating-point-number>best representation of the
- number as a floating point number</a> and then the <code title=dom-meter-low><a href=#dom-meter-low>low</a></code> content attribute must be set to
+ number as a floating-point number</a> and then the <code title=dom-meter-low><a href=#dom-meter-low>low</a></code> content attribute must be set to
that string.</p>
<p>The <dfn id=dom-meter-high title=dom-meter-high><code>high</code></dfn> IDL
attribute, on getting, must return the <a href=#concept-meter-high title=concept-meter-high>high boundary</a>. On setting, the
given value must be converted to the <a href=#best-representation-of-the-number-as-a-floating-point-number>best representation of
- the number as a floating point number</a> and then the <code title=dom-meter-high><a href=#dom-meter-high>high</a></code> content attribute must be set to
+ the number as a floating-point number</a> and then the <code title=dom-meter-high><a href=#dom-meter-high>high</a></code> content attribute must be set to
that string.</p>
<p>The <dfn id=dom-meter-optimum title=dom-meter-optimum><code>optimum</code></dfn> IDL
attribute, on getting, must return the <a href=#concept-meter-optimum title=concept-meter-optimum>optimum value</a>. On setting, the
given value must be converted to the <a href=#best-representation-of-the-number-as-a-floating-point-number>best representation of
- the number as a floating point number</a> and then the <code title=dom-meter-optimum><a href=#dom-meter-optimum>optimum</a></code> content attribute must be
+ the number as a floating-point number</a> and then the <code title=dom-meter-optimum><a href=#dom-meter-optimum>optimum</a></code> content attribute must be
set to that string.</p>
<p>The <code title=dom-lfe-labels><a href=#dom-lfe-labels>labels</a></code> attribute provides
@@ -101711,7 +101711,7 @@
<tr><th> <code title="">high</code>
<td> <code title=attr-meter-high><a href=#attr-meter-high>meter</a></code>
<td> Low limit of high range
- <td> <a href=#valid-floating-point-number>Valid floating point number</a>*
+ <td> <a href=#valid-floating-point-number>Valid floating-point number</a>*
<tr><th> <code title="">href</code>
<td> <code title=attr-hyperlink-href><a href=#attr-hyperlink-href>a</a></code>;
<code title=attr-hyperlink-href><a href=#attr-hyperlink-href>area</a></code>
@@ -101811,7 +101811,7 @@
<tr><th> <code title="">low</code>
<td> <code title=attr-meter-low><a href=#attr-meter-low>meter</a></code>
<td> High limit of low range
- <td> <a href=#valid-floating-point-number>Valid floating point number</a>*
+ <td> <a href=#valid-floating-point-number>Valid floating-point number</a>*
<tr><th> <code title="">manifest</code>
<td> <code title=attr-html-manifest><a href=#attr-html-manifest>html</a></code>
<td> <a href=#concept-appcache-manifest title=concept-appcache-manifest>Application cache manifest</a>
@@ -101824,7 +101824,7 @@
<td> <code title=attr-meter-max><a href=#attr-meter-max>meter</a></code>;
<code title=attr-progress-max><a href=#attr-progress-max>progress</a></code>
<td> Upper bound of range
- <td> <a href=#valid-floating-point-number>Valid floating point number</a>*
+ <td> <a href=#valid-floating-point-number>Valid floating-point number</a>*
<tr><th> <code title="">maxlength</code>
<td> <code title=attr-input-maxlength><a href=#attr-input-maxlength>input</a></code>;
<code title=attr-textarea-maxlength><a href=#attr-textarea-maxlength>textarea</a></code>
@@ -101858,7 +101858,7 @@
<tr><th> <code title="">min</code>
<td> <code title=attr-meter-min><a href=#attr-meter-min>meter</a></code>
<td> Lower bound of range
- <td> <a href=#valid-floating-point-number>Valid floating point number</a>*
+ <td> <a href=#valid-floating-point-number>Valid floating-point number</a>*
<tr><th> <code title="">multiple</code>
<td> <code title=attr-input-multiple><a href=#attr-input-multiple>input</a></code>;
<code title=attr-select-multiple><a href=#attr-select-multiple>select</a></code>
@@ -101915,7 +101915,7 @@
<tr><th> <code title="">optimum</code>
<td> <code title=attr-meter-optimum><a href=#attr-meter-optimum>meter</a></code>
<td> Optimum value in gauge
- <td> <a href=#valid-floating-point-number>Valid floating point number</a>*
+ <td> <a href=#valid-floating-point-number>Valid floating-point number</a>*
<tr><th> <code title="">pattern</code>
<td> <code title=attr-input-pattern><a href=#attr-input-pattern>input</a></code>
<td> Pattern to be matched by the form control's value
@@ -102057,7 +102057,7 @@
<tr><th> <code title="">step</code>
<td> <code title=attr-input-step><a href=#attr-input-step>input</a></code>
<td> Granularity to be matched by the form control's value
- <td> <a href=#valid-floating-point-number>Valid floating point number</a> greater than zero, or "<code title="">any</code>"
+ <td> <a href=#valid-floating-point-number>Valid floating-point number</a> greater than zero, or "<code title="">any</code>"
<tr><th> <code title="">style</code>
<td> <a href=#the-style-attribute title=attr-style>HTML elements</a>
<td> Presentational and formatting instructions
@@ -102169,7 +102169,7 @@
<td> <code title=attr-meter-value><a href=#attr-meter-value>meter</a></code>;
<code title=attr-progress-value><a href=#attr-progress-value>progress</a></code>
<td> Current value of the element
- <td> <a href=#valid-floating-point-number>Valid floating point number</a>
+ <td> <a href=#valid-floating-point-number>Valid floating-point number</a>
<tr><th> <code title="">value</code>
<td> <code title=attr-param-value><a href=#attr-param-value>param</a></code>
<td> Value of parameter
Modified: source
===================================================================
--- source 2012-07-19 23:14:07 UTC (rev 7183)
+++ source 2012-07-20 03:15:51 UTC (rev 7184)
@@ -3983,7 +3983,7 @@
<h5>Floating-point numbers</h5>
- <p>A string is a <dfn>valid floating point number</dfn> if it
+ <p>A string is a <dfn>valid floating-point number</dfn> if it
consists of:</p>
<ol class="brief">
@@ -4033,7 +4033,7 @@
</ol>
- <p>A <span>valid floating point number</span> represents the number
+ <p>A <span>valid floating-point number</span> represents the number
obtained by multiplying the significand by ten raised to the power
of the exponent, where the significand is the first number,
interpreted as base ten (including the decimal point and the number
@@ -4048,14 +4048,14 @@
treated as zero.</p>
<p class="note">The Infinity and Not-a-Number (NaN) values are not
- <span title="valid floating point number">valid floating point
+ <span title="valid floating-point number">valid floating-point
numbers</span>.</p>
<div class="impl">
- <p>The <dfn title="best representation of the number as a floating
- point number">best representation of the number <var
- title="">n</var> as a floating point number</dfn> is the string
+ <p>The <dfn title="best representation of the number as a
+ floating-point number">best representation of the number <var
+ title="">n</var> as a floating-point number</dfn> is the string
obtained from applying the JavaScript operator ToString to <var
title="">n</var>. The JavaScript operator ToString is not uniquely
determined. When there are multiple possible strings that could be
@@ -4064,7 +4064,7 @@
value (though it may differ from the value used by other user
agents).</p>
- <p>The <dfn>rules for parsing floating point number values</dfn> are
+ <p>The <dfn>rules for parsing floating-point number values</dfn> are
as given in the following algorithm. This algorithm must be aborted
at the first step that returns something. This algorithm will return
either a number or an error.</p>
@@ -4255,7 +4255,7 @@
</li>
<li><p><i>Conversion</i>: Let <var title="">S</var> be the set of
- finite IEEE 754 double-precision floating point values except
+ finite IEEE 754 double-precision floating-point values except
−0, but with two special values added: 2<sup
title="">1024</sup> and −2<sup title="">1024</sup>.</p></li>
@@ -8819,24 +8819,24 @@
and then that string must be used as the new content attribute
value.</p> <!-- see previous paragraph for note about the range -->
- <p>If a reflecting IDL attribute has a floating point number type
+ <p>If a reflecting IDL attribute has a floating-point number type
(<code>double</code> or <code>unrestricted double</code>), then, on
getting, the content attribute must be parsed according to the
- <span>rules for parsing floating point number values</span>, and if
+ <span>rules for parsing floating-point number values</span>, and if
that is successful, the resulting value must be returned. If, on the
other hand, it fails, or if the attribute is absent, the default
value must be returned instead, or 0.0 if there is no default value.
On setting, the given value must be converted to the <span>best
- representation of the number as a floating point number</span> and
+ representation of the number as a floating-point number</span> and
then that string must be used as the new content attribute
value.</p>
- <p>If a reflecting IDL attribute has a floating point number type
+ <p>If a reflecting IDL attribute has a floating-point number type
(<code>double</code> or <code>unrestricted double</code>) that is
<dfn>limited to numbers greater than zero</dfn>, then the behavior
is similar to the previous case, but zero and negative values are
not allowed. On getting, the content attribute must be parsed
- according to the <span>rules for parsing floating point number
+ according to the <span>rules for parsing floating-point number
values</span>, and if that is successful and the value is greater
than 0.0, the resulting value must be returned. If, on the other
hand, it fails or returns an out of range value, or if the attribute
@@ -8844,7 +8844,7 @@
there is no default value. On setting, if the value is less than or
equal to zero, then the value must be ignored. Otherwise, the given
value must be converted to the <span>best representation of the
- number as a floating point number</span> and then that string must
+ number as a floating-point number</span> and then that string must
be used as the new content attribute value.</p>
<p class="note">The values Infinity and Not-a-Number (NaN) values
@@ -13850,7 +13850,7 @@
<tr>
<td><code>input</code> element with a <code title="attr-input-type">type</code> attribute in the <span title="attr-input-type-number">Number</span> state
- <td><code title="attr-aria-role-spinbutton">spinbutton</code> role, with the <code title="title-aria-readonly">aria-readonly</code> property set to "true" if the element has a <code title="attr-input-readonly">readonly</code> attribute, the <code title="attr-aria-valuemax">aria-valuemax</code> property set to the element's <span title="concept-input-max">maximum</span>, the <code title="attr-aria-valuemin">aria-valuemin</code> property set to the element's <span title="concept-input-min">minimum</span>, and, if the result of applying the <span>rules for parsing floating point number values</span> to the element's <span title="concept-fe-value">value</span> is a number, with the <code title="attr-aria-valuenow">aria-valuenow</code> property set to that number
+ <td><code title="attr-aria-role-spinbutton">spinbutton</code> role, with the <code title="title-aria-readonly">aria-readonly</code> property set to "true" if the element has a <code title="attr-input-readonly">readonly</code> attribute, the <code title="attr-aria-valuemax">aria-valuemax</code> property set to the element's <span title="concept-input-max">maximum</span>, the <code title="attr-aria-valuemin">aria-valuemin</code> property set to the element's <span title="concept-input-min">minimum</span>, and, if the result of applying the <span>rules for parsing floating-point number values</span> to the element's <span title="concept-fe-value">value</span> is a number, with the <code title="attr-aria-valuenow">aria-valuenow</code> property set to that number
<tr>
<td><code>input</code> element with a <code title="attr-input-type">type</code> attribute in the <span title="attr-input-type-password">Password</span> state
@@ -13862,7 +13862,7 @@
<tr>
<td><code>input</code> element with a <code title="attr-input-type">type</code> attribute in the <span title="attr-input-type-range">Range</span> state
- <td><code title="attr-aria-role-slider">slider</code> role, with the <code title="attr-aria-valuemax">aria-valuemax</code> property set to the element's <span title="concept-input-max">maximum</span>, the <code title="attr-aria-valuemin">aria-valuemin</code> property set to the element's <span title="concept-input-min">minimum</span>, and the <code title="attr-aria-valuenow">aria-valuenow</code> property set to the result of applying the <span>rules for parsing floating point number values</span> to the element's <span title="concept-fe-value">value</span>, if that results in a number, or the <span title="concept-input-value-default-range">default value</span> otherwise
+ <td><code title="attr-aria-role-slider">slider</code> role, with the <code title="attr-aria-valuemax">aria-valuemax</code> property set to the element's <span title="concept-input-max">maximum</span>, the <code title="attr-aria-valuemin">aria-valuemin</code> property set to the element's <span title="concept-input-min">minimum</span>, and the <code title="attr-aria-valuenow">aria-valuenow</code> property set to the result of applying the <span>rules for parsing floating-point number values</span> to the element's <span title="concept-fe-value">value</span>, if that results in a number, or the <span title="concept-input-value-default-range">default value</span> otherwise
<tr>
<td><code>input</code> element with a <code title="attr-input-type">type</code> attribute in the <span title="attr-input-type-reset">Reset Button</span> state
@@ -25336,7 +25336,7 @@
characters</span>.</li>
<li>Optionally a <i>pixel density descriptor</i>, consisting of: a
- <span>space character</span>, a <span>valid floating point
+ <span>space character</span>, a <span>valid floating-point
number</span> giving a number greater than zero representing the
<i>pixel density descriptor value</i>, and a U+0078 LATIN SMALL
LETTER X character.</li>
@@ -25871,7 +25871,7 @@
</dd>
- <dt>If the token consists of a <span>valid floating point number</span> followed by a U+0078 LATIN SMALL LETTER X character</dt>
+ <dt>If the token consists of a <span>valid floating-point number</span> followed by a U+0078 LATIN SMALL LETTER X character</dt>
<dd>
@@ -25880,7 +25880,7 @@
<li><p>If <var title="">density</var> is not <i>absent</i>,
then let <var title="">error</var> be <i>yes</i>.</p></li>
- <li><p>Apply the <span>rules for parsing floating point
+ <li><p>Apply the <span>rules for parsing floating-point
number values</span> to the token. Let <var
title="">density</var> be the result.</p></li>
@@ -57182,16 +57182,16 @@
<p>If the element is <i title="concept-input-mutable">mutable</i>,
the user agent should allow the user to change the number
represented by its <span title="concept-fe-value">value</span>, as
- obtained from applying the <span>rules for parsing floating point
+ obtained from applying the <span>rules for parsing floating-point
number values</span> to it. User agents must not allow the user to
set the <span title="concept-fe-value">value</span> to a non-empty
- string that is not a <span>valid floating point number</span>. If
+ string that is not a <span>valid floating-point number</span>. If
the user agent provides a user interface for selecting a number,
then the <span title="concept-fe-value">value</span> must be set to
- the <span title="best representation of the number as a floating
- point number">best representation of the number representing the
- user's selection as a floating point number</span>. User agents
- should allow the user to set the <span
+ the <span title="best representation of the number as a
+ floating-point number">best representation of the number
+ representing the user's selection as a floating-point number</span>.
+ User agents should allow the user to set the <span
title="concept-fe-value">value</span> to the empty string.</p>
</div>
@@ -57207,23 +57207,23 @@
<p>The <code title="attr-input-value">value</code> attribute, if
specified and not empty, must have a value that is a <span>valid
- floating point number</span>.</p> <!-- ok to set out-of-range value,
+ floating-point number</span>.</p> <!-- ok to set out-of-range value,
we never know when we might have to represent bogus input -->
<div class="impl">
<p><strong>The <span>value sanitization algorithm</span> is as
follows</strong>: If the <span title="concept-fe-value">value</span>
- of the element is not a <span>valid floating point number</span>,
+ of the element is not a <span>valid floating-point number</span>,
then set it to the empty string instead.</p>
</div>
<p>The <code title="attr-input-min">min</code> attribute, if
- specified, must have a value that is a <span>valid floating point
+ specified, must have a value that is a <span>valid floating-point
number</span>. The <code title="attr-input-max">max</code>
attribute, if specified, must have a value that is a <span>valid
- floating point number</span>.</p>
+ floating-point number</span>.</p>
<p><span class="impl">The <span
title="concept-input-step-scale">step scale factor</span> is
@@ -57246,14 +57246,14 @@
title="concept-input-value-string-number">algorithm to convert a
string to a number</span>, given a string <var title="">input</var>,
is as follows</strong>: If applying the <span>rules for parsing
- floating point number values</span> to <var title="">input</var>
+ floating-point number values</span> to <var title="">input</var>
results in an error, then return an error; otherwise, return the
resulting number.</p>
<p><strong>The <span
title="concept-input-value-number-string">algorithm to convert a
number to a string</span>, given a number <var title="">input</var>,
- is as follows</strong>: Return a <span>valid floating point
+ is as follows</strong>: Return a <span>valid floating-point
number</span> that represents <var title="">input</var>.</p>
</div>
@@ -57367,22 +57367,22 @@
<p>If the element is <i title="concept-input-mutable">mutable</i>,
the user agent should allow the user to change the number
represented by its <span title="concept-fe-value">value</span>, as
- obtained from applying the <span>rules for parsing floating point
+ obtained from applying the <span>rules for parsing floating-point
number values</span> to it. User agents must not allow the user to
set the <span title="concept-fe-value">value</span> to a string that
- is not a <span>valid floating point number</span>. If the user agent
+ is not a <span>valid floating-point number</span>. If the user agent
provides a user interface for selecting a number, then the <span
title="concept-fe-value">value</span> must be set to a <span
- title="best representation of the number as a floating point
+ title="best representation of the number as a floating-point
number">best representation of the number representing the user's
- selection as a floating point number</span>. User agents must not
+ selection as a floating-point number</span>. User agents must not
allow the user to set the <span
title="concept-fe-value">value</span> to the empty string.</p>
</div>
<p>The <code title="attr-input-value">value</code> attribute, if
- specified, must have a value that is a <span>valid floating point
+ specified, must have a value that is a <span>valid floating-point
number</span>.</p> <!-- ok to set out-of-range value, we never know
when we might have to represent bogus input; not ok to not have a
value if the attribute is present, since you can't not have a value
@@ -57392,19 +57392,19 @@
<p><strong>The <span>value sanitization algorithm</span> is as
follows</strong>: If the <span title="concept-fe-value">value</span>
- of the element is not a <span>valid floating point number</span>,
- then set it to a <span>valid floating point number</span> that
+ of the element is not a <span>valid floating-point number</span>,
+ then set it to a <span>valid floating-point number</span> that
represents the <span
title="concept-input-value-default-range">default value</span>.</p>
</div>
<p>The <code title="attr-input-min">min</code> attribute, if
- specified, must have a value that is a <span>valid floating point
+ specified, must have a value that is a <span>valid floating-point
number</span>. The <span title="concept-input-min-default">default
minimum</span> is 0. The <code title="attr-input-max">max</code>
attribute, if specified, must have a value that is a <span>valid
- floating point number</span>. The <span
+ floating-point number</span>. The <span
title="concept-input-max-default">default maximum</span> is 100.</p>
<p>The <dfn title="concept-input-value-default-range">default
@@ -57421,7 +57421,7 @@
<p>When the element is <span>suffering from an
underflow</span>, the user agent must set the element's <span
- title="concept-fe-value">value</span> to a <span>valid floating point
+ title="concept-fe-value">value</span> to a <span>valid floating-point
number</span> that represents the <span
title="concept-input-min">minimum</span>.</p>
@@ -57429,7 +57429,7 @@
if the <span title="concept-input-max">maximum</span> is not less
than the <span title="concept-input-min">minimum</span>, the user
agent must set the element's <span
- title="concept-fe-value">value</span> to a <span>valid floating point
+ title="concept-fe-value">value</span> to a <span>valid floating-point
number</span> that represents the <span
title="concept-input-max">maximum</span>.</p>
@@ -57465,14 +57465,14 @@
title="concept-input-value-string-number">algorithm to convert a
string to a number</span>, given a string <var title="">input</var>,
is as follows</strong>: If applying the <span>rules for parsing
- floating point number values</span> to <var title="">input</var>
+ floating-point number values</span> to <var title="">input</var>
results in an error, then return an error; otherwise, return the
resulting number.</p>
<p><strong>The <span
title="concept-input-value-number-string">algorithm to convert a
number to a string</span>, given a number <var title="">input</var>,
- is as follows</strong>: Return a <span>valid floating point
+ is as follows</strong>: Return a <span>valid floating-point
number</span> that represents <var title="">input</var>.</p>
</div>
@@ -59674,10 +59674,10 @@
below.</span></p>
<p>The <code title="attr-input-step">step</code> attribute, if
- specified, must either have a value that is a <span>valid floating
- point number</span> that <span title="rules for parsing floating
- point number values">parses</span> to a number that is greater than
- zero, or must have a value that is an <span>ASCII
+ specified, must either have a value that is a <span>valid
+ floating-point number</span> that <span title="rules for parsing
+ floating-point number values">parses</span> to a number that is
+ greater than zero, or must have a value that is an <span>ASCII
case-insensitive</span> match for the string "<code
title="">any</code>".</p>
@@ -59700,7 +59700,7 @@
title="">any</code>", then there is no <span
title="concept-input-step">allowed value step</span>.</li>
- <li>Otherwise, if the <span>rules for parsing floating point number
+ <li>Otherwise, if the <span>rules for parsing floating-point number
values</span>, when they are applied to the attribute's value,
return an error, zero, or a number less than zero, then the <span
title="concept-input-step">allowed value step</span> is the <span
@@ -59710,7 +59710,7 @@
<li>Otherwise, the <span title="concept-input-step">allowed value
step</span> is the number returned by the <span>rules for parsing
- floating point number values</span> when they are applied to the
+ floating-point number values</span> when they are applied to the
attribute's value, multiplied by the <span
title="concept-input-step-scale">step scale factor</span>.</li>
@@ -62636,8 +62636,8 @@
<p>The <code title="attr-progress-value">value</code> and <code
title="attr-progress-max">max</code> attributes, when present, must
- have values that are <span title="valid floating point number">valid
- floating point numbers</span>. The <code
+ have values that are <span title="valid floating-point number">valid
+ floating-point numbers</span>. The <code
title="attr-progress-value">value</code> attribute, if present, must
have a value equal to or greater than zero, and less than or equal
to the value of the <code title="attr-progress-max">max</code>
@@ -62661,9 +62661,9 @@
<p>If the progress bar is a determinate progress bar and the element
has a <code title="attr-progress-max">max</code> attribute, the user
agent must parse the <code title="attr-progress-max">max</code>
- attribute's value according to the <span>rules for parsing floating
- point number values</span>. If this does not result in an error, and
- if the parsed value is greater than zero, then the <dfn
+ attribute's value according to the <span>rules for parsing
+ floating-point number values</span>. If this does not result in an
+ error, and if the parsed value is greater than zero, then the <dfn
title="concept-progress-maximum">maximum value</dfn> of the progress
bar is that value. Otherwise, if the element has no <code
title="attr-progress-max">max</code> attribute, or if it has one but
@@ -62674,9 +62674,9 @@
<p>If the progress bar is a determinate progress bar, user agents
must parse the <code title="attr-progress-value">value</code>
- attribute's value according to the <span>rules for parsing floating
- point number values</span>. If this does not result in an error, and
- if the parsed value is less than the <span
+ attribute's value according to the <span>rules for parsing
+ floating-point number values</span>. If this does not result in an
+ error, and if the parsed value is less than the <span
title="concept-progress-maximum">maximum value</span> and greater
than zero, then the <dfn title="concept-progress-value">current
value</dfn> of the progress bar is that parsed value. Otherwise, if
@@ -62687,8 +62687,8 @@
value</span> of the progress bar. Otherwise, if parsing the <code
title="attr-progress-value">value</code> attribute's value resulted
in an error, or a number less than or equal to zero, then the <span
- title="concept-progress-value">current value</span> of the
- progress bar is zero.</p>
+ title="concept-progress-value">current value</span> of the progress
+ bar is zero.</p>
<p><strong>UA requirements for showing the progress bar</strong>:
When representing a <code>progress</code> element to the user, the
@@ -62731,7 +62731,7 @@
attribute, on getting, must return 0. Otherwise, it must return the
<span title="concept-progress-value">current value</span>. On
setting, the given value must be converted to the <span>best
- representation of the number as a floating point number</span> and
+ representation of the number as a floating-point number</span> and
then the <code title="dom-progress-value">value</code> content
attribute must be set to that string.</p>
@@ -62840,8 +62840,8 @@
title="attr-meter-high">high</code>, <code
title="attr-meter-max">max</code>, and <code
title="attr-meter-optimum">optimum</code> attributes, when present,
- must have values that are <span title="valid floating point
- number">valid floating point numbers</span>.</p>
+ must have values that are <span title="valid floating-point
+ number">valid floating-point numbers</span>.</p>
<p>In addition, the attributes' values are further constrained:</p>
@@ -62927,7 +62927,7 @@
title="attr-meter-low">low</code>, <code
title="attr-meter-high">high</code>, and <code
title="attr-meter-optimum">optimum</code> attributes using the
- <span>rules for parsing floating point number values</span>.</p>
+ <span>rules for parsing floating-point number values</span>.</p>
<p>User agents must then use all these numbers to obtain values for
six points on the gauge, as follows. (The order in which these are
@@ -63122,7 +63122,7 @@
attribute, on getting, must return the <span
title="concept-meter-actual">actual value</span>. On setting, the
given value must be converted to the <span>best representation of
- the number as a floating point number</span> and then the <code
+ the number as a floating-point number</span> and then the <code
title="dom-meter-value">value</code> content attribute must be set
to that string.</p>
@@ -63130,7 +63130,7 @@
attribute, on getting, must return the <span
title="concept-meter-minimum">minimum value</span>. On setting, the
given value must be converted to the <span>best representation of
- the number as a floating point number</span> and then the <code
+ the number as a floating-point number</span> and then the <code
title="dom-meter-min">min</code> content attribute must be set to
that string.</p>
@@ -63138,7 +63138,7 @@
attribute, on getting, must return the <span
title="concept-meter-maximum">maximum value</span>. On setting, the
given value must be converted to the <span>best representation of
- the number as a floating point number</span> and then the <code
+ the number as a floating-point number</span> and then the <code
title="dom-meter-max">max</code> content attribute must be set to
that string.</p>
@@ -63146,7 +63146,7 @@
attribute, on getting, must return the <span
title="concept-meter-low">low boundary</span>. On setting, the given
value must be converted to the <span>best representation of the
- number as a floating point number</span> and then the <code
+ number as a floating-point number</span> and then the <code
title="dom-meter-low">low</code> content attribute must be set to
that string.</p>
@@ -63154,7 +63154,7 @@
attribute, on getting, must return the <span
title="concept-meter-high">high boundary</span>. On setting, the
given value must be converted to the <span>best representation of
- the number as a floating point number</span> and then the <code
+ the number as a floating-point number</span> and then the <code
title="dom-meter-high">high</code> content attribute must be set to
that string.</p>
@@ -63162,7 +63162,7 @@
attribute, on getting, must return the <span
title="concept-meter-optimum">optimum value</span>. On setting, the
given value must be converted to the <span>best representation of
- the number as a floating point number</span> and then the <code
+ the number as a floating-point number</span> and then the <code
title="dom-meter-optimum">optimum</code> content attribute must be
set to that string.</p>
@@ -119014,7 +119014,7 @@
<th> <code title="">high</code>
<td> <code title="attr-meter-high">meter</code>
<td> Low limit of high range
- <td> <span>Valid floating point number</span>*
+ <td> <span>Valid floating-point number</span>*
<tr>
<th> <code title="">href</code>
<td> <code title="attr-hyperlink-href">a</code>;
@@ -119135,7 +119135,7 @@
<th> <code title="">low</code>
<td> <code title="attr-meter-low">meter</code>
<td> High limit of low range
- <td> <span>Valid floating point number</span>*
+ <td> <span>Valid floating-point number</span>*
<tr>
<th> <code title="">manifest</code>
<td> <code title="attr-html-manifest">html</code>
@@ -119151,7 +119151,7 @@
<td> <code title="attr-meter-max">meter</code>;
<code title="attr-progress-max">progress</code>
<td> Upper bound of range
- <td> <span>Valid floating point number</span>*
+ <td> <span>Valid floating-point number</span>*
<tr>
<th> <code title="">maxlength</code>
<td> <code title="attr-input-maxlength">input</code>;
@@ -119191,7 +119191,7 @@
<th> <code title="">min</code>
<td> <code title="attr-meter-min">meter</code>
<td> Lower bound of range
- <td> <span>Valid floating point number</span>*
+ <td> <span>Valid floating-point number</span>*
<tr>
<th> <code title="">multiple</code>
<td> <code title="attr-input-multiple">input</code>;
@@ -119260,7 +119260,7 @@
<th> <code title="">optimum</code>
<td> <code title="attr-meter-optimum">meter</code>
<td> Optimum value in gauge
- <td> <span>Valid floating point number</span>*
+ <td> <span>Valid floating-point number</span>*
<tr>
<th> <code title="">pattern</code>
<td> <code title="attr-input-pattern">input</code>
@@ -119429,7 +119429,7 @@
<th> <code title="">step</code>
<td> <code title="attr-input-step">input</code>
<td> Granularity to be matched by the form control's value
- <td> <span>Valid floating point number</span> greater than zero, or "<code title="">any</code>"
+ <td> <span>Valid floating-point number</span> greater than zero, or "<code title="">any</code>"
<tr>
<th> <code title="">style</code>
<td> <span title="attr-style">HTML elements</span>
@@ -119565,7 +119565,7 @@
<td> <code title="attr-meter-value">meter</code>;
<code title="attr-progress-value">progress</code>
<td> Current value of the element
- <td> <span>Valid floating point number</span>
+ <td> <span>Valid floating-point number</span>
<tr>
<th> <code title="">value</code>
<td> <code title="attr-param-value">param</code>
More information about the Commit-Watchers
mailing list