Anyone who has read any recent draft of the HTML5 standard and went there to subsection 4.11.4.3
(“ Context menus ”), certainly saw in it that the old element
<menu> was given a new meaning - so that it can be used, in particular , to replenish the context menu of some form element with new commands that invoke javascript for execution:
<form name="npc"> <label>Character name: <input name=char type=text contextmenu=namemenu required> </label> <menu type=context id=namemenu> <command label="Pick random name" onclick="document.forms.npc.elements.char.value = getRandomName()"> <command label="Prefill other fields based on name" onclick="prefillFields(document.forms.npc.elements.char.value)"> </menu> </form>
For some time, the innovation could simply be ignored: Really,
well, what significance could a piece of a draft not have supported by any other browser?
But this time is rapidly nearing its end.
')
The other day Firefox 6 was released. And the new six-week development cycle for Firefox means that after ≈12 weeks (in about three months, in November of this year 2011), Firefox 8, which is now in the Aurora state, will come out (i.e. testing).
Firefox 8, gentlemen,
will support the
contextmenu attribute
; all of you (and I also) have no more than twelve weeks to prepare for the emergence of the above innovations in mass reality.