- From: David Dorward <david@dorward.me.uk>
- Date: Wed, 16 Apr 2014 14:39:06 +0100
- To: "Ken Geis" <kgeis@berkeley.edu>
- Cc: www-validator@w3.org
On 15 Apr 2014, at 23:16, Ken Geis wrote:
> I got the following error when validating my document. The HTML 4.01 
> spec says that the select element must contain an option, but it does 
> not say that it must be a child of the select element. The validator 
> throws the message when all options are inside optgroups, and I think 
> that should not be an error.
I just created and validated this document (where all options are 
children of opt groups) and the validator passed it.
Can you provide a reproducible test case to go with your bug report?
<!DOCTYPE html>
<title>test</title>
<select size=1>
<optgroup label=jkldf>
    <option>hello
</optgroup>
</select>
-- 
David Dorward
http://dorward.co.uk/
Received on Wednesday, 16 April 2014 13:39:33 UTC