[Webkit-unassigned] [Bug 8563] New: [DOMHTMLDocument doctype] always returning nil.
bugzilla-daemon at opendarwin.org
bugzilla-daemon at opendarwin.org
Mon Apr 24 01:47:15 PDT 2006
http://bugzilla.opendarwin.org/show_bug.cgi?id=8563
Summary: [DOMHTMLDocument doctype] always returning nil.
Product: WebKit
Version: 420+ (nightly)
Platform: Macintosh
OS/Version: Mac OS X 10.4
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: HTML DOM
AssignedTo: webkit-unassigned at opendarwin.org
ReportedBy: matt at softchaos.com
Sometime since 418, the implementation of HTMLDocument::doctype was changed to:
DocumentType *HTMLDocument::doctype() const
{
// According to a comment in dom_doc.cpp, doctype is null for HTML
documents.
return 0;
}
Firstly, where is dom_doc.cpp? It doesn't seem a part of WebKit/Core.
What is the comment and why is it deemed correct that doctype should be null
for HTML documents?
Why do I care:
Well, I am writing some code to take a DOM (or portions thereof) and convert it
back into a fairly self-contained HTML file. Without being able to reconstitute
the correct <!DOCTYPE ...> I have no way of ensuring that quirks mode is set
correctly when displaying the resulting html.
--
Configure bugmail: http://bugzilla.opendarwin.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
More information about the webkit-unassigned
mailing list