Bug 12628

Summary: document.body is not supported in XHTML documents
Product: WebKit Reporter: Alexey Proskuryakov <ap>
Component: DOMAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: ian.eng.webkit
Priority: P2    
Version: 420+   
Hardware: Mac   
OS: OS X 10.4   
Attachments:
Description Flags
test case none

Alexey Proskuryakov
Reported 2007-02-05 21:42:16 PST
document.body works for XHTML documents in Firefox, but not in WebKit.
Attachments
test case (305 bytes, application/xhtml+xml)
2007-02-05 21:42 PST, Alexey Proskuryakov
no flags
Alexey Proskuryakov
Comment 1 2007-02-05 21:42:46 PST
Created attachment 12959 [details] test case
Maciej Stachowiak
Comment 2 2007-02-12 05:10:15 PST
We should consider supporting all HTMLDocument properties and methods on all XML documents (because any XML document could contain XHTML).
Alexey Proskuryakov
Comment 3 2007-06-22 04:49:53 PDT
See also: bug 14213.
Feng Qian
Comment 4 2007-07-26 11:15:48 PDT
This also accounts some TypeError's in layout tests under dom/xhtml. (In reply to comment #1) > Created an attachment (id=12959) [edit] > test case >
Alexey Proskuryakov
Comment 5 2007-10-06 02:08:51 PDT
Fixed in revision 26078 (feature branch).
Note You need to log in before you can comment on or make changes to this bug.