Closed
Bug 832800
Opened 11 years ago
Closed 10 years ago
nested <mfrac> changes size when mathbackground attribute dynamically added to adjacent <mo>
Categories
(Core :: MathML, defect)
Tracking
()
RESOLVED
FIXED
mozilla29
People
(Reporter: patrboch, Assigned: fredw, NeedInfo)
References
Details
(Whiteboard: [good first verify])
Attachments
(1 file)
1.66 KB,
text/html
|
Details |
User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:18.0) Gecko/20100101 Firefox/18.0 Build ID: 20130116073211 Steps to reproduce: 1. <mo> and <mfrac> in the nominator of the outer <mfrac> 2. Set dynamically mathbackground attribute to <mo> (see the attached testcase) <math> <mstyle displaystyle="true"> <mfrac> <mrow> <mi>X</mi> <mo>+</mo> <mfrac> <mrow> <mi>X</mi> </mrow> <mrow> <mi>X</mi> </mrow> </mfrac> </mrow> <mrow> <mi>X</mi> </mrow> </mfrac> </mstyle> </math> Actual results: The size of the inner <mfrac> changes. Expected results: The size should not change.
Reporter | ||
Comment 1•11 years ago
|
||
Setting mathbackground to any other element in this code does not cause the problem.
Reporter | ||
Updated•11 years ago
|
Attachment #704371 -
Attachment mime type: text/plain → text/html
Assignee | ||
Comment 2•11 years ago
|
||
Thanks for the report. That seems to be yet another issue due to mstyle. Perhaps mapping displaystyle to a CSS property would help here. In general I wrote https://wiki.mozilla.org/MathML:mstyle and suggested the MathML REC to actually keep only a few relevant attributes. displaystyle is one of them.
Assignee | ||
Updated•11 years ago
|
Status: UNCONFIRMED → NEW
Ever confirmed: true
Assignee | ||
Comment 3•10 years ago
|
||
Fixed per bug 838506.
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Updated•10 years ago
|
Assignee: nobody → fred.wang
Target Milestone: --- → mozilla29
Comment 4•10 years ago
|
||
Patrick, could you please verify that this is fixed for you in Firefox 29?
Flags: needinfo?(patrboch)
Whiteboard: [good first verify]
You need to log in
before you can comment on or make changes to this bug.
Description
•