- From: ArkadiuszMichalski <notifications@github.com>
- Date: Wed, 04 May 2016 08:57:17 -0700
- To: w3c/DOM-Parsing <DOM-Parsing@noreply.github.com>
- Cc:
Received on Wednesday, 4 May 2016 17:19:03 UTC
["insert adjacent"](https://dom.spec.whatwg.org/#insert-adjacent) doesn't fit here because `insertAdjacentHTML()` for `"beforebegin"` and `"afterend"` throw `"NoModificationAllowedError"` when context doesn't have parent (Firefox/Chrome/IE11 do this). For `insertAdjacentText()` and `insertAdjacentElement()` and the same position whe have: Chrome/Firefox return null for both IE11 throw for `insertAdjacentText()` but not for `insertAdjacentElement()` and return passing element. Presto throw for `insertAdjacentElement()` but not for `insertAdjacentText()` and return undefined. I will update tests in WPT to check this cases. --- 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/4#issuecomment-216911112
Received on Wednesday, 4 May 2016 17:19:03 UTC