Re: [w3c/DOM-Parsing] createContextualFragment() should do adopt node or some such (#65)

Yeah, we need to use the same document as that of `Range` object here. I just noticed that [createContextualFragment](https://github.com/WebKit/WebKit/blob/main/Source/WebCore/editing/markup.cpp#L1339) also has code to get rid of html, head, & body elements. That is very strange.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/w3c/DOM-Parsing/issues/65#issuecomment-840893697

Received on Thursday, 13 May 2021 23:33:27 UTC