W3C home > Mailing lists > Public > whatwg@whatwg.org > July 2005

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

From: Anne van Kesteren <fora@annevankesteren.nl>
Date: Wed, 20 Jul 2005 18:41:09 +0200
Message-ID: <20050720184109.ot1sqz5cuu8g808o@webmail.annevankesteren.nl>
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/>
Received on Wednesday, 20 July 2005 09:41:09 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:58:42 UTC