Am Sonntag, 29. Juni 2014 03:53:21 UTC+2 schrieb Dale Harvey: > however they are currently shown in addition to the default items, we are > looking to implement an optional attribute that allows authors to disable > the default context menu items so only the applications items are shown.
Please take a look at my proposal a while ago here: https://www.w3.org/Bugs/Public/show_bug.cgi?id=12999#c22 (There's more discussion in the Bug) Please note that the current Firefox implementation of context menus does not follow the latest spec. This should probably be updated first. However, the longer I'm thinking about it, it'd be the best (IMHO) to not have declarative way to extend/modify the context menu, but instead have an API for that. One reason is that most applications of <menu> do not make much sense without having JS listening for events. Another is the different UI/UX concepts of mobile vs desktop, and it's very hard to handle this declaratively without a boatload of attributes which IMHO makes it too complex. I do have some simple ideas for an API, and once my thesis is finished, I may take a shot at sketching up a spec. Will take a few weeks, though. Best regards --fbender _______________________________________________ dev-platform mailing list dev-platform@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-platform