Closed
Bug 554130
Opened 16 years ago
Closed 13 years ago
Add MathML and SVG elements to the list of white-listed elements for the paranoid content sink for the HTML5 parser
Categories
(Core :: DOM: Core & HTML, defect)
Tracking
()
RESOLVED
DUPLICATE
of bug 482909
People
(Reporter: ehsan.akhgari, Unassigned)
References
Details
+++ This bug was initially created as a clone of Bug #554125 +++
The HTML5 parser will allow embedding several SVG and MathML elements inside HTML documents. We should probably consider adding the safe ones to the white-list of paranoid fragment parser content sink.
We need a list of safe elements and attributes here.
Comment 1•16 years ago
|
||
The current paranoid fragment sink will go away once bug 482909 is fixed.
The plan is to put the sanitizer between nsHtml5Tokenizer and nsHtml5TreeBuilder.
| Reporter | ||
Comment 2•16 years ago
|
||
(In reply to comment #1)
> The current paranoid fragment sink will go away once bug 482909 is fixed.
>
> The plan is to put the sanitizer between nsHtml5Tokenizer and
> nsHtml5TreeBuilder.
Will it be implemented using a similar approach (white-listing tags and attributes, and adding extra checks for elements which pass the white-list)?
Comment 3•16 years ago
|
||
(In reply to comment #2)
> Will it be implemented using a similar approach (white-listing tags and
> attributes, and adding extra checks for elements which pass the white-list)?
That's the plan, yes. (Are there other extra checks than checks on URLs?)
Comment 4•13 years ago
|
||
http://Jesusnjim.com/common/html5-tags.txt
this is a summary of the whatwg HTML5 elements, MathML 3.0 elements, SVG elements.
I am still working on SVG elements. MathML is done. HTML5 may have changed since I worked on it. what I don't know is if a javascript user/developer actually needs all the SVG IDL interface stuff I am including or not, or if this is for browser implementers only. If I don't have to include it, I won't. It just makes the document SO much larger and makes the summary so much noisier.
any advice you can give would be great. the mathml spec can be found here:
http://www.w3.org/TR/2010/PR-MathML3-20100810/Overview.html
but I see now it has updated to here, so my summary may be out of date:
http://www.w3.org/TR/MathML3/
Comment 5•13 years ago
|
||
This happened already in bug 482909. While this isn't strictly a dupe, trying to find a way to close this is a reasonable way that indicates the change got made.
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → DUPLICATE
| Assignee | ||
Updated•7 years ago
|
Component: DOM → DOM: Core & HTML
You need to log in
before you can comment on or make changes to this bug.
Description
•