- From: poot <cvsmail@w3.org>
- Date: Fri, 23 Oct 2009 16:02:47 +0900 (JST)
- To: public-html-diffs@w3.org
hixie: Handle the way ToString is not fully defined on Number in JS. (whatwg r4300) http://dev.w3.org/cvsweb/html5/spec/Overview.html?r1=1.3435&r2=1.3436&f=h http://html5.org/tools/web-apps-tracker?from=4299&to=4300 =================================================================== RCS file: /sources/public/html5/spec/Overview.html,v retrieving revision 1.3435 retrieving revision 1.3436 diff -u -d -r1.3435 -r1.3436 --- Overview.html 23 Oct 2009 06:47:33 -0000 1.3435 +++ Overview.html 23 Oct 2009 07:02:32 -0000 1.3436 @@ -2472,7 +2472,12 @@ <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> + 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 + value, the user agent must always return the same string for that + 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 as given in the following algorithm. This algorithm must be aborted
Received on Friday, 23 October 2009 07:03:18 UTC