inline SVG and mathML doesn't work with html5 doctype and no html5.enable option found in about:config

RESOLVED WORKSFORME

Status

()

Firefox
General
RESOLVED WORKSFORME
9 years ago
9 years ago

People

(Reporter: Bohdan Ganický, Unassigned)

Tracking

3.5 Branch
x86
Linux
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(URL)

(Reporter)

Description

9 years ago
User-Agent:       Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.3pre) Gecko/20090806 Ubuntu/8.10 (intrepid) Shiretoko/3.5.3pre
Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.3pre) Gecko/20090806 Ubuntu/8.10 (intrepid) Shiretoko/3.5.3pre

Inline SVG and MathML in a document with <!DOCTYPE html> should work in Firefox 3.5.x according to several sources on the web. If not by default than at least after "html5.enable" option is set to true in about:config.
It didn't work by default for me so I've tried to find that option in about:config and it's missing.

Reproducible: Always

Steps to Reproduce:
1. Put basic inline SVG in your html5 document. E.g.: <svg><circle r="50" cx="50" cy="50" fill="green"/></svg>
2. Look for a green circle.
3. Do you see one?
4. If not, try to enable html5 parser in about:config. It should be the "html5.enable" option
5. Option not found.
Actual Results:  
* No green circle.
* No html5.enable option in about.config.

Expected Results:  
* Little green circle.
* html5.enable option in about.config

This is where I found it should work: http://ejohn.org/blog/html-5-parsing/#postcomment

Screenshot of an about:config with "html5.enable" option missing: http://i25.tinypic.com/2ic5ddv.png
(Reporter)

Updated

9 years ago
Version: unspecified → 3.5 Branch

Comment 2

9 years ago
AFAIK the HTML5.enable preference is a temporary preference.  It will only be used until the HTML5 parser is used by default.  That's why it's not in about:config by default. And the HTML5 parser is not in Firefox 3.5.  I don't see where in the given URL where it is stated that Firefox 3.5 has the HTML5 parser.  I see the green circle in the nightly build I'm using.
Status: UNCONFIRMED → RESOLVED
Last Resolved: 9 years ago
Resolution: --- → WORKSFORME
(Reporter)

Comment 3

9 years ago
I see, thanks for clarification.
You need to log in before you can comment on or make changes to this bug.