Open Bug 1339784 Opened 7 years ago Updated 2 years ago

XSLT can not produce HTML5 with MathML

Categories

(Core :: XSLT, defect, P3)

51 Branch
defect

Tracking

()

UNCONFIRMED

People

(Reporter: matmota, Unassigned)

Details

Attachments

(1 file)

User Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:51.0) Gecko/20100101 Firefox/51.0
Build ID: 20170201180315

Steps to reproduce:

Test case: http://matracas.org/tmp/firefox-xslt-html5-bug/
Those files are also attached in a tbz2 archive.

1. Create XSLT with recommended settings for generating HTML5:
   output method="html" version="5.0" doctype-system="about:legacy-compat"

2. Attach XSLT to XML file with <?xml-stylesheet ...?>

3. Load XML file in Firefox:
   http://matracas.org/tmp/firefox-xslt-html5-bug/xslt-html5-math.xml



Actual results:

The transformed HTML page is apparently not interpreted as HTML5 but as plain HTML: the embedded MathML formula is not recognized as such.



Expected results:

The embedded MathML formula should appear as a fraction.

See the HTML5 generated by xsltproc at the test case:
http://matracas.org/tmp/firefox-xslt-html5-bug/
Component: Untriaged → XSLT
Product: Firefox → Core
We're not really spending a lot of time on XSLT or MathML things these days but we'd happily take a patch :)
Priority: -- → P3
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: