Closed Bug 223819 Opened 22 years ago Closed 22 years ago

[ActiveX] MathML doesn't render correctly in embedded Mozilla

Categories

(Core Graveyard :: Embedding: ActiveX Wrapper, defect)

x86
Windows 2000
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: ndhart, Assigned: adamlock)

References

()

Details

Attachments

(3 files)

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.4.1) Gecko/20031008 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.4.1) Gecko/20031008 When Mozilla is embedded via the ActiveX control, MathML isn't rendered correctly. Certain characters aren't displayed correctly and black blocks are shown in formulas. Reproducible: Always Steps to Reproduce: 1. Navigate to a page with MathML while embedding using ActiveX Actual Results: Shown in attached screenshot. (actual.jpg) Expected Results: Shown in attached screenshot. (expected.jpg) Here is the page I'm trying to display: <?xml version="1.0"?> <?xml-stylesheet href="mml.css" type="text/css"?> <!DOCTYPE html SYSTEM "mathml.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <title>MathML and Mozilla</title> </head> <body> <math xmlns="http://www.w3.org/1998/Math/MathML" mode="display"> <mrow> <mtable columnalign="left left"> <mtr> <mtd columnalign="left"> <mrow> <mi>A</mi> <mo>(</mo> <mi>P</mi> <mo>)</mo> </mrow> </mtd> <mtd columnalign="left"> <mo>=</mo> <msubsup> <mo>&int;</mo> <mrow> <mn>1</mn> <mo>+</mo> <mi>&epsilon;</mi> </mrow> <mn>&infin;</mn> </msubsup> <mfrac> <mrow> <mo lspace="0em" rspace="thinmathspace">dx</mo> </mrow> <mrow> <msqrt> <mrow> <mi>x</mi> <mo>(</mo> <mi>x</mi> <mo>-</mo> <mn>1</mn> <mo>)</mo> <mo>(</mo> <mi>x</mi> <mo>-</mo> <mn>1</mn> <mo>-</mo> <mi>&epsilon;</mi> <mo>)</mo> </mrow> </msqrt> </mrow> </mfrac> <mo>=</mo> <msubsup> <mo>&int;</mo> <mn>0</mn> <mn>&infin;</mn> </msubsup> <mfrac> <mrow> <mo lspace="0em" rspace="thinmathspace">dx</mo> </mrow> <mrow> <msqrt> <mrow> <mo>(</mo> <mi>x</mi> <mo>+</mo> <mn>1</mn> <mo>+</mo> <mi>&epsilon;</mi> <mo>)</mo> <mo>(</mo> <mi>x</mi> <mo>+</mo> <mi>&epsilon;</mi> <mo>)</mo> <mi>x</mi> </mrow> </msqrt> </mrow> </mfrac> </mtd> </mtr> <mtr> <mtd columnalign="left">&nbsp;</mtd> <mtd columnalign="left"> <mi>&gt;</mi> <mfrac> <mrow> <mn>1</mn> </mrow> <mrow> <msqrt> <mrow> <mn>1</mn> <mo>+</mo> <mi>&epsilon;</mi> </mrow> </msqrt> </mrow> </mfrac> <msubsup> <mo>&int;</mo> <mn>0</mn> <mn>&infin;</mn> </msubsup> <mfrac> <mrow> <mo lspace="0em" rspace="thinmathspace">dx</mo> </mrow> <mrow> <msqrt> <mrow> <mi>x</mi> <mo>(</mo> <mi>x</mi> <mo>+</mo> <mn>1</mn> <mo>)</mo> <mo>(</mo> <mi>x</mi> <mo>+</mo> <mi>&epsilon;</mi> <mo>)</mo> </mrow> </msqrt> </mrow> </mfrac> <mo>.</mo> </mtd> </mtr> </mtable> </mrow> </math> </body> </html>
Attached image Expected.jpg
This is how Mozilla 1.4.1 displays the mathml when not embedded
Attached image Actual.jpg
This is how Mozilla displays the MathML when embedded using the ActiveX control
Severity: blocker → normal
Summary: MathML doesn't render correctly in embedded Mozilla → [ActiveX] MathML doesn't render correctly in embedded Mozilla
URL is a sample. I will attach the client-win I will build the control with to fix this. Basically I intend to distribute the various mathml dtds and other files that will make it work. It will still be the users responsibility to follow the instructions in the mathml project to make their fonts work etc. Mathml specific bugs should be sent to the mathml group.
Attached file client-win
This file is copied to embedding/config before hitting make. It supplies a list of extra things the ActiveX control wants its embedding dist to contain.
Marking FIXED (mathml should work in next public release of ActiveX control installer). Info about mathml fonts is here http://www.mozilla.org/projects/mathml/fonts/
Status: UNCONFIRMED → RESOLVED
Closed: 22 years ago
Resolution: --- → FIXED
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: