Bug 85734 - (maction) Add support for the maction element
(maction)
: Add support for the maction element
Status: UNCONFIRMED
: WebKit
MathML
: 528+ (Nightly build)
: All All
: P2 Normal
Assigned To:
: http://www.w3.org/TR/MathML/chapter3....
:
: 120059 124921 124922
: 84019
  Show dependency treegraph
 
Reported: 2012-05-06 07:56 PST by
Modified: 2014-01-07 03:03 PST (History)


Attachments


Note

You need to log in before you can comment on or make changes to this bug.


Description From 2012-05-06 07:56:39 PST
"To provide a mechanism for binding actions to expressions, MathML provides the maction element. This element accepts any number of sub-expressions as arguments and the type of action that should happen is controlled by the actiontype attribute."

I think supporting this element is of low priority for now. MathJax gives access to this feature via non-standard LaTeX command and it is not really well implemented in Firefox.
------- Comment #1 From 2012-11-19 22:54:14 PST -------
I beg to differ on the "low priority" and in particular the justification by MathJax. Even though MathJax does not produce <maction> routinely, there are other systems that use maction for making formulae interactive; e.g. to elide brackets. For this it would be sufficient to just implement the behavior of the "selection" attribute, i.e. to display only the child whose number is indicated in it. And of course have it default to "1". This should be relatively simple to do and would be much more useful than the current behavior of displaying all children of <maction>.
------- Comment #2 From 2013-08-20 02:41:51 PST -------
Patches from bug 120058 and bug 120059 implements the maction@selection and maction@toggle attributes (With these patches, the tooltip and statusline actiontype will just display the first child). I guess that addresses Michael's use cases.