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

Description Alexey Proskuryakov 2007-02-05 21:42:16 PST
document.body works for XHTML documents in Firefox, but not in WebKit.
Comment 1 Alexey Proskuryakov 2007-02-05 21:42:46 PST
Created attachment 12959 [details]
test case
Comment 2 Maciej Stachowiak 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).
Comment 3 Alexey Proskuryakov 2007-06-22 04:49:53 PDT
See also: bug 14213.
Comment 4 Feng Qian 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
> 

Comment 5 Alexey Proskuryakov 2007-10-06 02:08:51 PDT
Fixed in revision 26078 (feature branch).