XSLT can not produce HTML5 with MathML

UNCONFIRMED
Unassigned

Status

()

Core
XSLT
P3
normal
UNCONFIRMED
9 months ago
9 months ago

People

(Reporter: Alberto González Palomo, Unassigned)

Tracking

51 Branch
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

(Reporter)

Description

9 months ago
Created attachment 8837574 [details]
Test case: firefox-xslt-html5-bug_20170215_1403.tbz2

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/

Updated

9 months ago
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
You need to log in before you can comment on or make changes to this bug.