Closed Bug 509051 Opened 15 years ago Closed 15 years ago

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

Categories

(Firefox :: General, defect)

3.5 Branch
x86
Linux
defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: bohdan.ganicky, Unassigned)

References

()

Details

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
Version: unspecified → 3.5 Branch
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
Closed: 15 years ago
Resolution: --- → WORKSFORME
I see, thanks for clarification.
You need to log in before you can comment on or make changes to this bug.