hixie: Make location.port parsing more like IE8's. (whatwg r4471)

hixie: Make location.port parsing more like IE8's. (whatwg r4471)

http://dev.w3.org/cvsweb/html5/spec/Overview.html?r1=1.3570&r2=1.3571&f=h
http://html5.org/tools/web-apps-tracker?from=4470&to=4471

===================================================================
RCS file: /sources/public/html5/spec/Overview.html,v
retrieving revision 1.3570
retrieving revision 1.3571
diff -u -d -r1.3570 -r1.3571
--- Overview.html 5 Jan 2010 05:36:10 -0000 1.3570
+++ Overview.html 5 Jan 2010 06:14:02 -0000 1.3571
@@ -4423,9 +4423,11 @@
      <td><a href="#concept-uda-input" title="concept-uda-input">input</a> is hierarchical, uses a server-based naming authority, and contained a <a href="#url-port" title="url-port">&lt;port&gt;</a> component (possibly an empty one)
      <td>&mdash;
      <td>&mdash;
-     <td>Remove any characters in the new value that are not in the range U+0030 DIGIT ZERO (0) to U+0039 DIGIT NINE (9).
+     <td>Remove all characters in the new value from the first that is not in the range U+0030 DIGIT ZERO (0) to U+0039 DIGIT NINE (9), if any.
+         Remove any leading U+0030 DIGIT ZERO characters (0) in the new value.
          If the resulting string is empty, set it to a single U+0030 DIGIT ZERO character (0).
-     <td><a href="#concept-uda-input" title="concept-uda-input">input</a> is hierarchical and uses a server-based naming authority
+     <td><a href="#concept-uda-input" title="concept-uda-input">input</a> is hierarchical and uses a server-based naming authority,
+         and the new value, when interpretted as a base-ten integer, is less than or equal to 65535
     <tr><td><dfn id="dom-uda-pathname" title="dom-uda-pathname"><code>pathname</code></dfn>
      <td><a href="#url-path" title="url-path">&lt;path&gt;</a>
      <td><a href="#concept-uda-input" title="concept-uda-input">input</a> is hierarchical

Received on Tuesday, 5 January 2010 06:14:42 UTC