Bug 27786

Summary: [WML] WML*Element classes mostly implement insertedIntoDocument(), not removedFromDocument()
Product: WebKit Reporter: Nikolas Zimmermann <zimmermann>
Component: WebCore Misc.Assignee: Nikolas Zimmermann <zimmermann>
Severity: Normal CC: manyoso, staikos
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: PC   
OS: OS X 10.5   
Bug Depends on:    
Bug Blocks: 20393    
Description Flags
Initial patch manyoso: review+

Description Nikolas Zimmermann 2009-07-28 17:09:28 PDT
WML*Element classes mostly implement insertedIntoDocument(), not removedFromDocument().
The only case where this is relevant in WML is error handling. The parsed WML tree fragment is inserted in an XHTML compound error document. This requires removedFromDocument() to be correctly implemented otherwhise we run into trouble (visible when using run-webkit-tests fast/wml --random).
Comment 1 Nikolas Zimmermann 2009-07-28 17:17:20 PDT
Created attachment 33681 [details]
Initial patch
Comment 2 Adam Treat 2009-07-28 17:33:25 PDT
Comment on attachment 33681 [details]
Initial patch

After Niko walked me through it over chat I can't find anything wrong.  Drats :)
Comment 3 Nikolas Zimmermann 2009-07-28 17:50:21 PDT
Landed in r46510.