Bug 17509

Summary: Acid3 expects different exceptions for surroundContents calls involving comment nodes (affects Acid3 test 11)
Product: WebKit Reporter: Darin Adler <darin>
Component: DOMAssignee: Maciej Stachowiak <mjs>
Status: RESOLVED FIXED    
Severity: Normal CC: cdumez, yellowydv23
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   
Bug Depends on:    
Bug Blocks: 17064    
Attachments:
Description Flags
the fix darin: review+

Description Darin Adler 2008-02-24 01:01:21 PST
This looks like low-hanging fruit to me. Should be easy to fix.
Comment 1 Darin Adler 2008-02-25 15:57:00 PST
I started working on this and I think it's not as easy as I initially thought. The problem is that we need to check all the children that will be put inside the new element to see if they are types that are allowed. The code isn't structured to make that easy. It still looks *relatively* straightforward, but I would no longer say easy.
Comment 2 Maciej Stachowiak 2008-03-16 20:26:36 PDT
Created attachment 19822 [details]
the fix
Comment 3 Darin Adler 2008-03-16 20:31:49 PDT
Comment on attachment 19822 [details]
the fix

r=me
Comment 5 Lucas Forschler 2019-02-06 09:03:17 PST
Mass moving XML DOM bugs to the "DOM" Component.