Closed
Bug 512688
Opened 15 years ago
Closed 9 years ago
Document objects should always implement HTMLDocument and SVGDocument per HTML5
Categories
(Core :: DOM: Core & HTML, defect)
Core
DOM: Core & HTML
Tracking
()
RESOLVED
DUPLICATE
of bug 897815
People
(Reporter: hsivonen, Unassigned)
References
()
Details
(Keywords: html5)
Attachments
(3 files)
Build ID:
Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.3a1pre) Gecko/20090826 Minefield/3.7a1pre
Steps to reproduce:
1) Load the first one of the attached test cases.
Actual results:
document implements Document but not HTMLDocument or SVGDocument.
Expected results:
Expected document to implement Document, HTMLDocument and SVGDocument in all three test cases.
Additional info quoted from HTML5:
"All Document objects (in user agents implementing this specification) must also implement the HTMLDocument interface, available using binding-specific methods. (This is the case whether or not the document in question is an HTML document or indeed whether it contains any HTML elements at all.) Document objects must also implement the document-level interface of any other namespaces found in the document that the UA supports.
For example, if an HTML implementation also supports SVG, then the Document object implements both HTMLDocument and SVGDocument."
Reporter | ||
Comment 1•15 years ago
|
||
Reporter | ||
Comment 2•15 years ago
|
||
Reporter | ||
Comment 3•15 years ago
|
||
See also bug 383983.
Comment 4•13 years ago
|
||
We should do this.
Updated•13 years ago
|
Keywords: dev-doc-needed
Comment 5•9 years ago
|
||
Latest spec requires that the interfaces be merged.
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → DUPLICATE
Updated•9 years ago
|
Updated•9 years ago
|
Keywords: dev-doc-needed
Assignee | ||
Updated•6 years ago
|
Component: DOM → DOM: Core & HTML
You need to log in
before you can comment on or make changes to this bug.
Description
•