[html5] r2054 - [] (0) Look for a '%' character after spaces after the second number when lookin [...]
whatwg at whatwg.org
whatwg at whatwg.org
Mon Aug 11 18:07:10 PDT 2008
Author: ianh
Date: 2008-08-11 18:07:10 -0700 (Mon, 11 Aug 2008)
New Revision: 2054
Modified:
index
source
Log:
[] (0) Look for a '%' character after spaces after the second number when looking for an error, for consistency with the earlier check. (Subject: Skipping Zs in finding a ratio) (credit: hs)
Modified: index
===================================================================
--- index 2008-08-12 00:53:42 UTC (rev 2053)
+++ index 2008-08-12 01:07:10 UTC (rev 2054)
@@ -3464,6 +3464,11 @@
<li>Set <var title="">number2</var> to the number returned by the
sub-algorithm in step 9.
+ <li>Starting with the character immediately after the last one examined by
+ the sub-algorithm in step 9, skip any characters in the string that are
+ in the Unicode character class Zs (this might match zero characters). <a
+ href="#refsUNICODE">[UNICODE]</a>
+
<li>If there are still further characters in the string, and the next
character in the string is a <a href="#valid2">valid denominator
punctuation character</a>, return nothing and abort these steps.
Modified: source
===================================================================
--- source 2008-08-12 00:53:42 UTC (rev 2053)
+++ source 2008-08-12 01:07:10 UTC (rev 2054)
@@ -1443,9 +1443,9 @@
given a value in the step 6, return nothing and abort these
steps.</li>
- <li>Otherwise, if <var title="">denominator</var> was given a value in step
- 6, return <var title="">number1</var> and <var title="">denominator</var> and abort
- these steps.</li>
+ <li>Otherwise, if <var title="">denominator</var> was given a value
+ in step 6, return <var title="">number1</var> and <var
+ title="">denominator</var> and abort these steps.</li>
<li><span>Find a number</span> in the string again, starting
immediately after the last character that was examined by the
@@ -1457,6 +1457,11 @@
<li>Set <var title="">number2</var> to the number returned by the
sub-algorithm in step 9.</li>
+ <li>Starting with the character immediately after the last one
+ examined by the sub-algorithm in step 9, skip any characters in the
+ string that are in the Unicode character class Zs (this might match
+ zero characters). <a href="#refsUNICODE">[UNICODE]</a></li>
+
<li>If there are still further characters in the string, and the
next character in the string is a <span>valid denominator
punctuation character</span>, return nothing and abort these
More information about the Commit-Watchers
mailing list