W3C home > Mailing lists > Public > public-html@w3.org > April 2014

Re: Menuitem's content model

From: Andry Rendy <master.skywalker.88@gmail.com>
Date: Thu, 3 Apr 2014 11:43:11 +0200
Message-ID: <CAGxST9kYdcthGNSAp6=HYU94OnmO5E6nji7_nHDDiScrXVvQ9A@mail.gmail.com>
To: public-html@w3.org
Self-reply to my previous message, only to summarize the subject, hoping
that someone can either make a change or explain why the change is not
wanted.
Proposal summary:
1. menuitem, as void element, is not compatibe with unsupporting browsers.
The resulting DOM subtree has subsequent menuitem elements nested inside
the previous ones.
2. validator.w3.org/nu flags as error the use of menuitem as void element,
reporting that the closing tag is missing. My previous bug reports about
this behavior has received the same answer of my previous message in this
thread: nothing.
3. once that the error of considering menuitem as void has been corrected,
it could be thought to allow text content inside this element as proper
label for the command, in a way similar to the option element. This is not
part of the necessary fix for the error, but I believe that authors prefer
to use text nodes rather than attribute in order to display visible
writings.

I hope to receive your answers and opinions for discussing them, even if it
means that I missed any point.
Regards.
Andrea
Received on Thursday, 3 April 2014 09:43:38 UTC

This archive was generated by hypermail 2.3.1 : Thursday, 29 October 2015 10:16:38 UTC