This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 24877 - menuitem
Summary: menuitem
Status: NEW
Alias: None
Product: HTML Checker
Classification: Unclassified
Component: General (show other bugs)
Version: unspecified
Hardware: PC Windows NT
: P2 normal
Target Milestone: ---
Assignee: Michael[tm] Smith
QA Contact: qa-dev tracking
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-03-01 11:18 UTC by Andrea Rendine
Modified: 2014-04-24 23:44 UTC (History)
1 user (show)

See Also:


Attachments

Description Andrea Rendine 2014-03-01 11:18:22 UTC
In HTML validation, <menuitem> without a closing tag results in an error "Unclosed element menuitem", while <menuitem /> syntax (in proper contexts) is flagged as invalid ("Self-closing syntax (/>) used on a non-void HTML element.") while the element is listed among void elements (http://www.w3.org/html/wg/drafts/html/master/syntax.html#void-elements).
As of now, menuitem is not supported by browsers, and using it in an HTML documents results in the nesting of subsequent <menuitem>s.
This can be a bug to fix or (better) an occasion for filing a bug to the HTML5's spec, to list <menuitem> as non-void in order to maintain backwards compatibility.
Comment 1 Andrea Rendine 2014-04-24 23:44:48 UTC
Has this "bug" been resolved, or the state of <menuitem> is still being considered? No answer was given. Again.