[Bug 24972] menuitem as void element

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

--- Comment #3 from Andrea Rendine <master.skywalker.88@gmail.com> ---
Is it possible to receive an answer in either way?
 a. The spec is considered to be correct, backward compatibility is not an
issue, the element itself is not rendered unless user agents support it (even
if its function can be achieved no matter the actual support) and the label
cannot be given by the element's content. [this is poor coding language IMO]
If all above considerations are true, then the validator fails (it does not
consider menuitem as void)
 OR
 b. The spec is not correct:
    1. <menuitem> MUST have a closing tag in order to prevent a messy DOM
    2. and possibly the content model for <menuitem> is "text", so that the
label for the control can be given by the element's textContent. Consider that
menu commands rely on script because as of now no standard commands have been
defined. So, the menu can (and should) be made visible somehow also to legacy
UA.

Please consider.

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

Received on Thursday, 24 April 2014 23:56:27 UTC