Skip to content
Permalink
Browse files

[giow] (2) select.size should never return 0 (also affects other attr…

…ibutes)

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

git-svn-id: http://svn.whatwg.org/webapps@5495 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed Sep 25, 2010
1 parent 87831ad commit 1e1573ae3e2e5be7036553703b2477cde6130b33
Showing with 3 additions and 3 deletions.
  1. +1 −1 complete.html
  2. +1 −1 index
  3. +1 −1 source
similar to the previous case, but zero is not allowed. On getting,
the content attribute must first be parsed according to the
<a href=#rules-for-parsing-non-negative-integers>rules for parsing non-negative integers</a>, and if that is
successful, and the value is in the range 0 to 2147483647 inclusive,
successful, and the value is in the range 1 to 2147483647 inclusive,
the resulting value must be returned. If, on the other hand, it
fails or returns an out of range value, or if the attribute is
absent, the default value must be returned instead, or 1 if there is
2 index
similar to the previous case, but zero is not allowed. On getting,
the content attribute must first be parsed according to the
<a href=#rules-for-parsing-non-negative-integers>rules for parsing non-negative integers</a>, and if that is
successful, and the value is in the range 0 to 2147483647 inclusive,
successful, and the value is in the range 1 to 2147483647 inclusive,
the resulting value must be returned. If, on the other hand, it
fails or returns an out of range value, or if the attribute is
absent, the default value must be returned instead, or 1 if there is
2 source
@@ -6286,7 +6286,7 @@ a.setAttribute('href', 'http://example.com/'); // change the content attribute d
similar to the previous case, but zero is not allowed. On getting,
the content attribute must first be parsed according to the
<span>rules for parsing non-negative integers</span>, and if that is
successful, and the value is in the range 0 to 2147483647 inclusive,
successful, and the value is in the range 1 to 2147483647 inclusive,
the resulting value must be returned. If, on the other hand, it
fails or returns an out of range value, or if the attribute is
absent, the default value must be returned instead, or 1 if there is

0 comments on commit 1e1573a

Please sign in to comment.
You can’t perform that action at this time.