Bug 17622

Summary: insertAdjacentHTML and insertAdjacentText are not implemented although insertAdjacentElement is.
Product: WebKit Reporter: Kevin McCullough <kmccullough>
Component: DOMAssignee: Sam Weinig <sam>
Severity: Normal CC: caugusto, gavin.sharp
Priority: P2 Keywords: InRadar
Version: 528+ (Nightly build)   
Hardware: Mac   
OS: OS X 10.5   
Bug Depends on:    
Bug Blocks: 8947    
Description Flags
updated with tests none

Description Kevin McCullough 2008-02-29 17:36:30 PST
These are three IE functions that we would like to implement.  Currently we only have insertAdjacentElement but not insertAdjacentHTML or insertAdjacentText, and it just so happens that http://www.openwebware.com/products/openwysiwyg/demo.shtml checks for the existence of insertAdjacentElement and if found, assumes insertAdjacentHTML and insertAdjacentText exist too.  So the site fails because the functions are missing.
Comment 1 Kevin McCullough 2008-02-29 17:38:53 PST
Comment 2 Mark Rowe (bdash) 2008-02-29 17:49:05 PST
*** Bug 17624 has been marked as a duplicate of this bug. ***
Comment 3 Mark Rowe (bdash) 2008-02-29 17:49:18 PST
*** Bug 17623 has been marked as a duplicate of this bug. ***
Comment 4 Sam Weinig 2008-03-01 15:06:08 PST
Created attachment 19474 [details]

This is mostly done, I just need to make some test cases.
Comment 5 Sam Weinig 2008-03-01 15:07:34 PST
I moved insertAdjacentElement into HTMLElement to match Opera and IE.
Comment 6 mitz 2008-03-01 15:26:58 PST
*** Bug 7633 has been marked as a duplicate of this bug. ***
Comment 7 Sam Weinig 2008-06-14 18:24:33 PDT
Created attachment 21704 [details]
updated with tests
Comment 8 Sam Weinig 2008-06-14 19:06:00 PDT
Mitz reviewed an updated version of the patch.

Fix landed in r34543.