phpgt/Dom

Test HTMLSelectElement::options when using optgroup

g105b opened this issue · 0 comments

g105b commented

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.