Bugzilla – Bug 358
RFE: split menu into separate patterns, similar to button and input
Last modified: 2008-12-27 17:07:02 CET
menu, along with command (and bb too...), is another element like button and input that has a "type" attribute that takes an enumerated list of possible values -- and one whose semantics differ depending on what the @type value is; e.g, for menu, it's either not really even a menu, but instead a "toolbar", or it has the more specific semantics of being a "context menu" or (when no type attribute is specified at all) it has the more-general semantics of being just "list of commands". It could in fact be modeled as three separate elements named commands, toolbar, contextmenu (or whatever), so it makes some sense to model it that way in the schema (that is, similar to the way the input and button elements are already modeled). Anyway, the attached patch attempts to do that (along with removed the "autosubmit" attribute from menu).
Created attachment 18 [details] patch with proposed change
After having experimented with this, I can see it's not a particularly useful change, so pretend I didn't suggest it :)