Bug 85732 (mlabeledtr)
Summary: | Add support for mlabeledtr element | ||
---|---|---|---|
Product: | WebKit | Reporter: | Frédéric Wang (:fredw) <fred.wang> |
Component: | MathML | Assignee: | Nobody <webkit-unassigned> |
Status: | UNCONFIRMED | ||
Severity: | Normal | CC: | fred.wang |
Priority: | P2 | ||
Version: | 528+ (Nightly build) | ||
Hardware: | All | ||
OS: | All | ||
URL: | http://www.w3.org/TR/MathML/chapter3.html#presm.mlabeledtr | ||
Bug Depends on: | |||
Bug Blocks: | 84019 |
Frédéric Wang (:fredw)
"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
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |