1 This test checks that the paste operation trims the pasted fragment to reduce the verbosity of the markup without affecting the style.
3 PASS confirmedMarkup is 'Hello'
4 PASS confirmedMarkup is '<b><i>Hello</i></b>'
5 PASS confirmedMarkup is '<b><i>Hello</i></b>'
6 PASS confirmedMarkup is 'Hello'
7 PASS confirmedMarkup is '<b><i>Hello</i></b>'
8 PASS confirmedMarkup is '<div style="text-align: center;"><b>Hello</b></div>'
9 PASS confirmedMarkup is '<div><b><i>hello</i></b></div><div><b><i>world</i></b></div>'
10 PASS confirmedMarkup is '<b><i><span style="font-weight: normal;"><b><i>hello1</i></b><b><i> hello2</i></b></span></i></b>'
11 FAIL confirmedMarkup should be <i style="margin: 10px;">hello</i></b></i>. Was <i style="margin: 10px;"><b><i style="margin: 10px;">hello</i></b></i>.
12 PASS confirmedMarkup is '<b><i>Hello world</i></b>'
13 PASS confirmedMarkup is '<b><i><span style="font-weight: normal;">plain text<b><i>bold italic text</i></b></span></i></b>'
14 PASS successfullyParsed is true