Skip to content

Commit

Permalink
[gowt] (2) Support '+' prefixes in integers, for compat with IE. (sti…
Browse files Browse the repository at this point in the history
…ll not conforming, though)

git-svn-id: http://svn.whatwg.org/webapps@3401 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed Jul 14, 2009
1 parent 698f823 commit b2a5a45
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
7 changes: 6 additions & 1 deletion index
Expand Up @@ -2440,7 +2440,12 @@ a.<a href=#dom-uda-protocol title=dom-uda-protocol>protocol</a> = 'https'; // ch

<li>If <var title="">position</var> is past the end of <var title="">input</var>, return an error.</li>

</ol></li>
</ol><p>Otherwise, if the character indicated by <var title="">position</var> (the first character) is a U+002B PLUS
SIGN character (+), then advance <var title="">position</var> to
the next character. (The "<code title="">+</code>" is ignored, but
it is not conforming.)</p>

</li>

<li><p>If the next character is not one of U+0030 DIGIT ZERO (0)
.. U+0039 DIGIT NINE (9), then return an error.</li>
Expand Down
6 changes: 6 additions & 0 deletions source
Expand Up @@ -1525,6 +1525,12 @@ a.<span title="dom-uda-protocol">protocol</span> = 'https'; // change just the s

</ol>

<p>Otherwise, if the character indicated by <var
title="">position</var> (the first character) is a U+002B PLUS
SIGN character (+), then advance <var title="">position</var> to
the next character. (The "<code title="">+</code>" is ignored, but
it is not conforming.)</p>

</li>

<li><p>If the next character is not one of U+0030 DIGIT ZERO (0)
Expand Down

0 comments on commit b2a5a45

Please sign in to comment.