W3C home > Mailing lists > Public > www-validator-cvs@w3.org > February 2014

[Bug 24801] <option> content model

From: <bugzilla@jessica.w3.org>
Date: Wed, 26 Feb 2014 21:06:15 +0000
To: www-validator-cvs@w3.org
Message-ID: <bug-24801-169-SuwFugQbU0@http.www.w3.org/Bugs/Public/>
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

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:17:56 UTC