W3C home > Mailing lists > Public > www-html@w3.org > August 2001

Re: What is expected behavior when a user tabs on the select box whic h doesn't contain any option?

From: Bjoern Hoehrmann <derhoermi@gmx.net>
Date: Fri, 03 Aug 2001 02:42:05 +0200
To: Amy Lee <amy@avantgo.com>
Cc: "'www-html@w3.org'" <www-html@w3.org>
Message-ID: <4unjmtsfbr6nq03vuln44denegidm08aav@4ax.com>
* Amy Lee wrote:
>I am trying to understand what is expected behavior when a user tabs on a
>select box which doesn't contain any option.

You'll never come across this in HTML documents since the select element
requires at least one option or optgroup child.

>In IE and Netscape when I tab
>on the widget, the empty pop-up menu is displayed. The spect says "A select
>element must contain at least one option element..." but it doesn't mention
>about this case.

Since it isn't HTML if it doesn't.
Björn Höhrmann { mailto:bjoern@hoehrmann.de } http://www.bjoernsworld.de
am Badedeich 7 } Telefon: +49(0)4667/981028 { http://bjoern.hoehrmann.de
25899 Dagebüll { PGP Pub. KeyID: 0xA4357E78 } http://www.learn.to/quote/
Received on Thursday, 2 August 2001 20:42:45 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:05:57 UTC