blob: f6b16b1ad4aa9f9b2c3ed47353f13ab5cbe39bbd [file] [log] [blame]
This tests copying and pasting content with "overflow: auto" would not strip its content.
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
PASS markup.includes("secret") is false
PASS markup.includes("Start</div>") is true
PASS markup.includes("Content</p>") is true
PASS markup.includes("End</span>") is true
PASS editor.querySelector("div").textContent is "Start"
PASS editor.querySelector("p").textContent is "Content"
PASS editor.querySelector("span").textContent is "End"
PASS successfullyParsed is true
TEST COMPLETE