[Bug 28097] surroundContents should check host-inclusive

https://www.w3.org/Bugs/Public/show_bug.cgi?id=28097

Anne <annevk@annevk.nl> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |adamk@chromium.org,
                   |                            |ayg@aryeh.name

--- Comment #1 from Anne <annevk@annevk.nl> ---
As far as I can tell you hit the host-including check as part of the insertion
operation of step 5.

The problematic scenario appears to be that you have a range that contains a
<template> and that <template> contains a node that you use as newParent
argument.

That would argue for a new step I think, as step 1 does not care about
newParent.


Also, how can newParent ever be a Text, Comment, or ProcessingInstruction node?
Is that for when the range is collapsed? But if it's not collapsed it seems
those nodes would be problematic...

-- 
You are receiving this mail because:
You are the QA Contact for the bug.

Received on Wednesday, 25 February 2015 13:40:06 UTC