[html5] r4299 - [e] (0) Make the 'best representation of a floating point number' stuff actually [...]
whatwg at whatwg.org
whatwg at whatwg.org
Fri Oct 23 00:00:45 PDT 2009
Author: ianh
Date: 2009-10-23 00:00:41 -0700 (Fri, 23 Oct 2009)
New Revision: 4299
Modified:
complete.html
index
source
Log:
[e] (0) Make the 'best representation of a floating point number' stuff actually make a modicum of sense.
Fixing http://www.w3.org/Bugs/Public/show_bug.cgi?id=8010
Modified: complete.html
===================================================================
--- complete.html 2009-10-23 06:53:25 UTC (rev 4298)
+++ complete.html 2009-10-23 07:00:41 UTC (rev 4299)
@@ -2942,9 +2942,9 @@
<div class=impl>
- <p>The <dfn id=best-representation-of-the-floating-point-number>best representation of the floating point number</dfn>
- <var title="">n</var> is the string obtained from applying the
- JavaScript operator ToString to <var title="">n</var>.</p>
+ <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>.</p>
<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
@@ -5585,9 +5585,9 @@
returned. If, on the other hand, it fails or returns an out of range
value, 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-floating-point-number>best representation
- of the floating point number</a> and then that string must be
- used as the new content attribute value.</p>
+ 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 be used as the new content attribute value.</p>
<p class=note>The values Infinity and Not-a-Number (NaN) values
throw an exception on setting, as <a href=#float-nan>defined
@@ -34411,9 +34411,10 @@
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 the <a href=#best-representation-of-the-floating-point-number>best
- representation of the floating point number</a> representing the
- user's selection. 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>
+ 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>
</div>
@@ -34545,10 +34546,10 @@
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-floating-point-number>best
- representation of the floating point number</a> representing the
- user's selection. 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>
+ 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
+ allow the user to set the <a href=#concept-fe-value title=concept-fe-value>value</a> to the empty string.</p>
</div>
Modified: index
===================================================================
--- index 2009-10-23 06:53:25 UTC (rev 4298)
+++ index 2009-10-23 07:00:41 UTC (rev 4299)
@@ -2752,9 +2752,9 @@
<div class=impl>
- <p>The <dfn id=best-representation-of-the-floating-point-number>best representation of the floating point number</dfn>
- <var title="">n</var> is the string obtained from applying the
- JavaScript operator ToString to <var title="">n</var>.</p>
+ <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>.</p>
<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
@@ -5395,9 +5395,9 @@
returned. If, on the other hand, it fails or returns an out of range
value, 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-floating-point-number>best representation
- of the floating point number</a> and then that string must be
- used as the new content attribute value.</p>
+ 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 be used as the new content attribute value.</p>
<p class=note>The values Infinity and Not-a-Number (NaN) values
throw an exception on setting, as <a href=#float-nan>defined
@@ -34221,9 +34221,10 @@
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 the <a href=#best-representation-of-the-floating-point-number>best
- representation of the floating point number</a> representing the
- user's selection. 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>
+ 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>
</div>
@@ -34355,10 +34356,10 @@
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-floating-point-number>best
- representation of the floating point number</a> representing the
- user's selection. 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>
+ 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
+ allow the user to set the <a href=#concept-fe-value title=concept-fe-value>value</a> to the empty string.</p>
</div>
Modified: source
===================================================================
--- source 2009-10-23 06:53:25 UTC (rev 4298)
+++ source 2009-10-23 07:00:41 UTC (rev 4299)
@@ -1866,9 +1866,11 @@
<div class="impl">
- <p>The <dfn>best representation of the floating point number</dfn>
- <var title="">n</var> is the string obtained from applying the
- JavaScript operator ToString to <var title="">n</var>.</p>
+ <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>.</p>
<p>The <dfn>rules for parsing floating point number values</dfn> are
as given in the following algorithm. This algorithm must be aborted
@@ -5105,8 +5107,8 @@
value, 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 floating point number</span> and then that string must be
- used as the new content attribute value.</p>
+ of the 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
throw an exception on setting, as <a href="#float-nan">defined
@@ -38038,9 +38040,11 @@
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
provides a user interface for selecting a number, then the <span
- title="concept-fe-value">value</span> must be set to the <span>best
- representation of the floating point number</span> representing the
- user's selection. User agents should allow the user to set 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
title="concept-fe-value">value</span> to the empty string.</p>
</div>
@@ -38184,10 +38188,12 @@
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
provides a user interface for selecting a number, then the <span
- title="concept-fe-value">value</span> must be set to a <span>best
- representation of the floating point number</span> representing the
- user's selection. User agents must not allow the user to set the
- <span title="concept-fe-value">value</span> to the empty string.</p>
+ title="concept-fe-value">value</span> must be set to a <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 must not
+ allow the user to set the <span
+ title="concept-fe-value">value</span> to the empty string.</p>
</div>
More information about the Commit-Watchers
mailing list