[Bug 24801] <option> content model

https://www.w3.org/Bugs/Public/show_bug.cgi?id=24801

--- Comment #2 from Andrea Rendine <master.skywalker.88@gmail.com> ---
My fault was not to see in detail the difference between W3 HTML5 spec and
WHATWG HTML Living Standard. In the latter it is stated that the <option> end
tag is omissible in HTML under certain conditions. This, and the fact that the
element's content model with both @label and @value specified is *empty*,
induced me to think that a syntax like <select><option label="foo"
value="bar"></select> were allowed in HTML. Hence a polyglot syntax like the
one in my example (I meant "void element in HTML representing an element
without content in XHTML").
Now I know that end tag omission is non-standard for <option> and I'll set the
<option></option> structure as polyglot.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.

Received on Wednesday, 26 February 2014 21:06:16 UTC