Dom
Dom copied to clipboard
Test HTMLSelectElement::options when using optgroup
Options of a select can be grouped with optgroup. The HTMLSelectElement::length property makes a call to HTMLElement::elements - but this currently only looks at the contained children, not the deeper ancestors, which I believe to be a bug.