1 Test to make sure we do not remove extra styling hidden on html styling elements (b, i, s, etc.) when removing those elements.
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
6 PASS one bold command converted <b style="text-decoration: underline">test</b> to <span style="text-decoration: underline">test</span>
7 PASS one italic command converted <i style="font-weight: bold">test</i> to <span style="font-weight: bold">test</span>
8 PASS one bold command converted <b style="font-weight: bold">test</b> to test
9 PASS one bold command converted <b foo="bar">test</b> to <span foo="bar">test</span>
10 PASS one bold command converted <b style='invalid'>test</b> to test
11 PASS bold followed by undo, correctly return to <b style="text-decoration: underline">test</b>
12 PASS italic followed by undo, correctly return to <i style="font-weight: bold">test</i>
13 PASS bold followed by undo converted <b style="text-decoration: underline">test</b> to <b style="text-decoration: underline" foo="bar">test</b>
14 PASS bold followed by undo converted <b style="text-decoration: underline">test</b> to
15 PASS bold followed by undo converted <b style="text-decoration: underline">test</b> to <span>foobar</span>
16 PASS bold followed by undo converted <b style="text-decoration: underline">test</b> to <b style="text-decoration: underline">foobar</b>
17 PASS successfullyParsed is true