Last Comment Bug 838509 - Keep only mstyle attributes from the first category and map them to CSS
: Keep only mstyle attributes from the first category and map them to CSS
Status: RESOLVED FIXED
: dev-doc-complete
Product: Core
Classification: Components
Component: MathML (show other bugs)
: Trunk
: All All
: -- normal (vote)
: mozilla29
Assigned To: Frédéric Wang (:fredw)
:
Mentors:
Depends on: mathvariant 764996 838506
Blocks: 787215 dynamic-maction-math 768819 924322 947576
  Show dependency treegraph
 
Reported: 2013-02-06 00:55 PST by Frédéric Wang (:fredw)
Modified: 2014-05-07 08:53 PDT (History)
2 users (show)
ryanvm: in‑testsuite+
See Also:
Crash Signature:
(edit)
QA Whiteboard:
Iteration: ---
Points: ---
Has Regression Range: ---
Has STR: ---


Attachments
Part 1: Make MathML frames use GetAttr instead of GetAttribute. (28.81 KB, patch)
2014-01-07 05:37 PST, Frédéric Wang (:fredw)
roc: review+
Details | Diff | Review
Part 2: remove mstyle presentation data and frame class. (11.32 KB, patch)
2014-01-07 05:38 PST, Frédéric Wang (:fredw)
roc: review+
Details | Diff | Review
Part 3: update tests for mstyle/math and add more tests. (32.66 KB, patch)
2014-01-07 05:39 PST, Frédéric Wang (:fredw)
no flags Details | Diff | Review
Part 3: update tests for mstyle/math and add more tests. (38.92 KB, patch)
2014-01-07 05:40 PST, Frédéric Wang (:fredw)
roc: review+
Details | Diff | Review

Description Frédéric Wang (:fredw) 2013-02-06 00:55:22 PST
This is a proposal based on

http://lists.w3.org/Archives/Public/www-math/2012Sep/0002.html

(no official reply from the Math WG yet)

These attributes are the one in bold here:

https://wiki.mozilla.org/MathML:mstyle

Only three of them are not mapped yet: dir, displaystyle and mathvariant (the latter is not really implemented yet).
Comment 1 Frédéric Wang (:fredw) 2014-01-07 05:37:42 PST
Created attachment 8356550 [details] [diff] [review]
Part 1: Make MathML frames use GetAttr instead of GetAttribute.
Comment 2 Frédéric Wang (:fredw) 2014-01-07 05:38:26 PST
Created attachment 8356551 [details] [diff] [review]
Part 2: remove mstyle presentation data and frame class.
Comment 3 Frédéric Wang (:fredw) 2014-01-07 05:39:05 PST
Created attachment 8356552 [details] [diff] [review]
Part 3: update tests for mstyle/math and add more tests.
Comment 4 Frédéric Wang (:fredw) 2014-01-07 05:40:28 PST
Created attachment 8356553 [details] [diff] [review]
Part 3: update tests for mstyle/math and add more tests.
Comment 7 Frédéric Wang (:fredw) 2014-05-07 08:53:32 PDT
I added a note for Gecko 29:
https://developer.mozilla.org/en-US/docs/Web/MathML/Element/mstyle#Gecko-specific_notes

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