[html5] r4312 - [giowt] (2) Correct the rules for parsing dimension values to actually say wheth [...]

whatwg at whatwg.org whatwg at whatwg.org
Sat Oct 24 15:42:13 PDT 2009


Author: ianh
Date: 2009-10-24 15:42:08 -0700 (Sat, 24 Oct 2009)
New Revision: 4312

Modified:
   complete.html
   index
   source
Log:
[giowt] (2) Correct the rules for parsing dimension values to actually say whether they're lengths or percentages.
Fixing http://www.w3.org/Bugs/Public/show_bug.cgi?id=8020

Modified: complete.html
===================================================================
--- complete.html	2009-10-24 22:38:46 UTC (rev 4311)
+++ complete.html	2009-10-24 22:42:08 UTC (rev 4312)
@@ -3207,8 +3207,8 @@
    U+0030 DIGIT ZERO (0) to U+0039 DIGIT NINE (9), and interpret the
    resulting sequence as a base-ten integer. Let <var title="">value</var> be that number.</li>
 
-   <li><p>If <var title="">position</var> is past the end of <var title="">input</var>, return <var title="">value</var> as an
-   integer.</li>
+   <li><p>If <var title="">position</var> is past the end of <var title="">input</var>, return <var title="">value</var> as a
+   length.</li>
 
    <li>
 
@@ -3220,7 +3220,7 @@
 
      <li><p>If the character indicated by <var title="">position</var>
      is not one of U+0030 DIGIT ZERO (0) to U+0039 DIGIT NINE (9),
-     then return <var title="">value</var> as an integer.</li>
+     then return <var title="">value</var> as a length.</li>
 
      <li><p><a href=#collect-a-sequence-of-characters>Collect a sequence of characters</a> in the range
      U+0030 DIGIT ZERO (0) to U+0039 DIGIT NINE (9). Let <var title="">length</var> be the number of characters collected. Let

Modified: index
===================================================================
--- index	2009-10-24 22:38:46 UTC (rev 4311)
+++ index	2009-10-24 22:42:08 UTC (rev 4312)
@@ -3017,8 +3017,8 @@
    U+0030 DIGIT ZERO (0) to U+0039 DIGIT NINE (9), and interpret the
    resulting sequence as a base-ten integer. Let <var title="">value</var> be that number.</li>
 
-   <li><p>If <var title="">position</var> is past the end of <var title="">input</var>, return <var title="">value</var> as an
-   integer.</li>
+   <li><p>If <var title="">position</var> is past the end of <var title="">input</var>, return <var title="">value</var> as a
+   length.</li>
 
    <li>
 
@@ -3030,7 +3030,7 @@
 
      <li><p>If the character indicated by <var title="">position</var>
      is not one of U+0030 DIGIT ZERO (0) to U+0039 DIGIT NINE (9),
-     then return <var title="">value</var> as an integer.</li>
+     then return <var title="">value</var> as a length.</li>
 
      <li><p><a href=#collect-a-sequence-of-characters>Collect a sequence of characters</a> in the range
      U+0030 DIGIT ZERO (0) to U+0039 DIGIT NINE (9). Let <var title="">length</var> be the number of characters collected. Let

Modified: source
===================================================================
--- source	2009-10-24 22:38:46 UTC (rev 4311)
+++ source	2009-10-24 22:42:08 UTC (rev 4312)
@@ -2208,8 +2208,8 @@
    title="">value</var> be that number.</li>
 
    <li><p>If <var title="">position</var> is past the end of <var
-   title="">input</var>, return <var title="">value</var> as an
-   integer.</p></li>
+   title="">input</var>, return <var title="">value</var> as a
+   length.</p></li>
 
    <li>
 
@@ -2223,7 +2223,7 @@
 
      <li><p>If the character indicated by <var title="">position</var>
      is not one of U+0030 DIGIT ZERO (0) to U+0039 DIGIT NINE (9),
-     then return <var title="">value</var> as an integer.</p></li>
+     then return <var title="">value</var> as a length.</p></li>
 
      <li><p><span>Collect a sequence of characters</span> in the range
      U+0030 DIGIT ZERO (0) to U+0039 DIGIT NINE (9). Let <var




More information about the Commit-Watchers mailing list