Re: [VE] [html5] spurious "must have child option" when all options in optgroups

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