Created attachment 396715 [details] Test case as application/xml 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."
See also bug 383983.
We should do this.
Latest spec requires that the interfaces be merged.
Status: NEW → RESOLVED
Last Resolved: 2 years ago
Resolution: --- → DUPLICATE
Duplicate of bug: 897815
You need to log in before you can comment on or make changes to this bug.