Closed
Bug 832800
Opened 12 years ago
Closed 11 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)
(deleted),
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•12 years ago
|
||
Setting mathbackground to any other element in this code does not cause the problem.
Reporter | ||
Updated•12 years ago
|
Attachment #704371 -
Attachment mime type: text/plain → text/html
Assignee | ||
Comment 2•12 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•12 years ago
|
Status: UNCONFIRMED → NEW
Ever confirmed: true
Assignee | ||
Comment 3•11 years ago
|
||
Fixed per bug 838506.
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Updated•11 years ago
|
Assignee: nobody → fred.wang
Target Milestone: --- → mozilla29
Comment 4•11 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
•