Bug 85734 (maction) - Add support for the maction element
Summary: Add support for the maction element
Status: RESOLVED WONTFIX
Alias: maction
Product: WebKit
Classification: Unclassified
Component: MathML (show other bugs)
Version: 528+ (Nightly build)
Hardware: All All
: P2 Normal
Assignee: Nobody
URL: http://www.w3.org/TR/MathML/chapter3....
Keywords:
Depends on: 120059 124921 124922
Blocks: mathml-in-mathjax
  Show dependency treegraph
 
Reported: 2012-05-06 07:56 PDT by Frédéric Wang (:fredw)
Modified: 2022-09-06 07:17 PDT (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Frédéric Wang (:fredw) 2012-05-06 07:56:39 PDT
"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 Michael Kohlhase 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 Frédéric Wang (:fredw) 2013-08-20 02:41:51 PDT
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.
Comment 3 Frédéric Wang (:fredw) 2022-09-06 07:17:50 PDT
Marking as WONTFIX as maction is deprecated and not part of MathML Core.