[whatwg] [wf2] default value size attribute from select element

Anne van Kesteren fora at annevankesteren.nl
Wed Jul 20 09:41:09 PDT 2005


Any chance Web Forms 2 is going to say something about:

<!DOCTYPE html>
<title>Default value for size DOM attribute from the SELECT element</title>
<p><select><option>Test</select>
<script>
 alert(document.getElementsByTagName('select')[0].size);
</script>

Firefox 1.8b3: -1.
Opera 8 and IE 6: 0.

Haven't been able to test other browsers.


-- 
Anne van Kesteren
<http://annevankesteren.nl/>




More information about the whatwg mailing list