[Webkit-unassigned] [Bug 44980] setAttribute() followed by getAttribute() on select.size does not return the same thing

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sat Dec 10 02:12:14 PST 2011


https://bugs.webkit.org/show_bug.cgi?id=44980





--- Comment #3 from Jacky Jiang <zkjiang008 at gmail.com>  2011-12-10 02:12:13 PST ---
This should be an invalid bug?   Seems we shouldn't set the size of the select element to string.  As the HTML 5 specification shows :
The size attribute gives the number of options to show to the user. The size attribute, if specified, must have a value that is a valid non-negative integer greater than zero. If the multiple attribute is present, then the size attribute's default value is 4. If the multiple attribute is absent, then the size attribute's default value is 1.
http://www.w3.org/TR/2011/WD-html5-20110525/the-button-element.html#attr-select-size
4.10.9 The select element
Not sure how Firefox can show the string value which seem isn't correct according to the specification.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list