Note that the sandboxing is not very robust as in some cases DOM objects do not have references to their parent node, such as in the case of a
style which is a
This paragraph is inside the sandbox.
This paragraph is outside the sandbox.
When the page loads, the sandboxing is supposed to make sure that only the paragraph inside of the sandbox is mutated with the text node appended.