blob: f303a3611c4723758a7f92078e486fca10d385fb [file] [log] [blame]
This test checks that copy a selection and paste over the same selection does not create nested divs.
PASS confirmedMarkup is 'Hello'
PASS confirmedMarkup is 'Hello<br>world'
PASS confirmedMarkup is '<div>Hello</div><div>world</div>'
PASS confirmedMarkup is '<div>Hello</div><div>world</div>'
PASS confirmedMarkup is '<div><b><i>Hello</i></b></div><div><b><i>world</i></b></div>'
PASS confirmedMarkup is '<div style="text-align: center;"><div><font color="#ff0000"><b><i>hello</i></b></font></div><div><font color="#ff0000"><b><i>world</i></b></font></div></div>'
PASS confirmedMarkup is '<p>Line One</p><p>Line Two</p>'
PASS successfullyParsed is true
TEST COMPLETE