Change percentage parsing algo to accept double values.
--- a/608toVTT/region.html Fri Mar 08 18:11:06 2013 +1100
+++ b/608toVTT/region.html Fri Mar 08 18:41:22 2013 +1100
@@ -547,15 +547,17 @@
<ol>
<li><p>Let <var>input</var> be the string being parsed.</p></li>
- <li><p>If <var>input</var> contains any characters other than U+0025 PERCENT SIGN characters (%) and <span>ASCII digits</span>, then fail.</p></li>
+ <li><p>If <var>input</var> contains any characters other than U+0025 PERCENT SIGN characters (%), U+002E DOT characters (.) and <span>ASCII digits</span>, then fail.</p></li>
<li><p>If <var>input</var> does not contain at least one <a href="http://www.w3.org/TR/html5/single-page.html#ascii-digits" class="externalDFN">ASCII digit</a>, then fail.</p></li>
+ <li><p>If <var>input</var> contains more than one U+002E DOT character (.), then fail.</p></li>
+
<li><p>If any character in <var>input</var> other than the last character is a U+0025 PERCENT SIGN character (%), then fail.</p></li>
<li><p>If the last character in <var>input</var> is not a U+0025 PERCENT SIGN character (%), then fail.</p></li>
-
- <li><p>Ignoring the trailing percent sign, interpret <var>input</var> as a base-ten integer. Let that number be the <var>percentage</var>.</p></li>
+
+ <li><p>Ignoring the trailing percent sign, interpret <var>input</var> as a real number. Let that number be the <var>percentage</var>.</p></li>
<li><p>Return <var>percentage</var>.</p></li>
</ol>