Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[giowt] (2) Correct the rules for parsing dimension values to actuall…
…y say whether they're lengths or percentages.

Fixing http://www.w3.org/Bugs/Public/show_bug.cgi?id=8020

git-svn-id: http://svn.whatwg.org/webapps@4312 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed Oct 24, 2009
1 parent 9a961c3 commit c7a68dc
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
6 changes: 3 additions & 3 deletions complete.html
Expand Up @@ -3207,8 +3207,8 @@ <h5 id=percentages-and-dimensions><span class=secno>2.4.4.5 </span>Percentages a
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>

Expand All @@ -3220,7 +3220,7 @@ <h5 id=percentages-and-dimensions><span class=secno>2.4.4.5 </span>Percentages a

<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
Expand Down
6 changes: 3 additions & 3 deletions index
Expand Up @@ -3017,8 +3017,8 @@ a.setAttribute('href', 'http://example.com/'); // change the content attribute d
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>

Expand All @@ -3030,7 +3030,7 @@ a.setAttribute('href', 'http://example.com/'); // change the content attribute d

<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
Expand Down
6 changes: 3 additions & 3 deletions source
Expand Up @@ -2208,8 +2208,8 @@ a.setAttribute('href', 'http://example.com/'); // change the content attribute d
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>

Expand All @@ -2223,7 +2223,7 @@ a.setAttribute('href', 'http://example.com/'); // change the content attribute d

<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
Expand Down

0 comments on commit c7a68dc

Please sign in to comment.