Open Bug 442209 Opened 17 years ago Updated 3 years ago

stretchy characters not stretched in MathML-only document

Categories

(Core :: MathML, defect)

x86
Linux
defect

Tracking

()

People

(Reporter: Justus-bulk, Unassigned)

References

()

Details

User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9) Gecko/2008052912 Firefox/3.0 Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9) Gecko/2008052912 Firefox/3.0 Stretchy characters appear correctly in MathML embedded inside an XHTML document, but if the same MathML content is read from a non-XHTML file containing the math element as its root element, they are not stretched. See and compare: http://intelsig.montefiore.ulg.ac.be/~piater/test/stretch.xhtml (application/xhtml+xml) http://intelsig.montefiore.ulg.ac.be/~piater/test/stretch.xml (application/xml) If the MathML content appears inside non-MathML tags, the parentheses are stretched correctly. See the following (invalid) document: http://intelsig.montefiore.ulg.ac.be/~piater/test/stretch-foo.xml (application/xml) Another piece of evidence that this is not a MIME-type issue: The following is the same MathML-only content as stretch.xml and behaves the same in Firefox, but it is (incorrectly) served as XHTML: http://intelsig.montefiore.ulg.ac.be/~piater/test/stretch-false.xhtml (application/xhtml+xml) More generally, MathML-only documents are not handled correctly. Content explicitly served as MathML is not recognized at all (but this may have nothing to do with the above issue): http://intelsig.montefiore.ulg.ac.be/~piater/test/stretch.mml (application/mathml+xml) Reproducible: Always Steps to Reproduce: Point your Firefox3 to http://intelsig.montefiore.ulg.ac.be/~piater/test/stretch.xml Actual Results: Parentheses are not stretched. Expected Results: Parentheses should be stretched. This is an out-of-the-box Firefox3 with no relevant parameters changed, and a system-wide STIXBeta font set. Depending on how you define Firefox' scope, you may declare this a non-issue. However, Firefox has all it takes to be a first-grade MathML viewer, so I think this should be fixed.
Hmm. Adding <!DOCTYPE math PUBLIC "-//W3C//DTD MathML 2.0//EN" "http://www.w3.org/TR/MathML2/dtd/mathml2.dtd"> doesn't help anything. Bug is present in FF2 as well as trunk.
Severity: minor → normal
Status: UNCONFIRMED → NEW
Ever confirmed: true
Version: unspecified → Trunk
> More generally, MathML-only documents are not handled correctly. Content > explicitly served as MathML is not recognized at all (but this may have nothing > to do with the above issue): > > http://intelsig.montefiore.ulg.ac.be/~piater/test/stretch.mml > (application/mathml+xml) This separate issue has been fixed in bug 152001 and bug 124709. ---> changing bug title
Summary: application/mathml+xml documents not recognized / stretchy characters not stretched in MathML-only document → stretchy characters not stretched in MathML-only document
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.