Bug 85732 (mlabeledtr) - Add support for mlabeledtr element
Summary: Add support for mlabeledtr element
Status: UNCONFIRMED
Alias: mlabeledtr
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:
Blocks: mathml-in-mathjax
  Show dependency treegraph
 
Reported: 2012-05-06 07:49 PDT by Frédéric Wang (:fredw)
Modified: 2012-05-06 08:09 PDT (History)
1 user (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:49:22 PDT
"An mlabeledtr element represents one row in a table that has a label on either the left or right side, as determined by the side attribute. The label is the first child of mlabeledtr, and should be enclosed in an mtd. The rest of the children represent the contents of the row and are treated identically to the children of mtr; consequently all of the children must be mtd elements. "

MathJax relies on this element to implement equation labeling.
Note that this is not implemented in Firefox and that's one of the main reason why MathJax no longer uses Firefox's native MathML by default.

Some reftests:
http://devel.mathjax.org/testing/testsuite/MathMLToDisplay/Presentation/TablesAndMatrices/mlabeledtr/

Testcase from the W3C test suite:
http://www.w3.org/Math/testsuite/build/main/Presentation/TablesAndMatrices/mlabeledtr/mlabeledtr1-simple.xhtml