| Test to make sure styles toggle as expected and tag-based styles can be removed by editing commands. |
| |
| On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE". |
| |
| |
| PASS document.compatMode is "BackCompat" |
| PASS bold toggle |
| PASS bold removing b |
| PASS bold removing font-weight: bold |
| PASS bold removing strong |
| PASS italic toggle |
| PASS italic removing i |
| PASS italic removing font-style: italic |
| PASS italic removing em |
| PASS subscript toggle |
| PASS subscript removing sub |
| PASS subscript removing vertical-align: sub |
| PASS superscript toggle |
| PASS superscript removing sup |
| PASS superscript removing vertical-align: super |
| PASS strikethrough toggle |
| FAIL strikethrough removing strike -- <strike><span class="Apple-style-span" style="text-decoration: none;">test</span></strike> |
| PASS strikethrough removing text-decoration: line-through |
| FAIL strikethrough removing s -- <s><span class="Apple-style-span" style="text-decoration: none;">test</span></s> |
| PASS underline toggle |
| FAIL underline removing u -- <u><span class="Apple-style-span" style="text-decoration: none;">test</span></u> |
| PASS underline removing text-decoration: underline |
| PASS successfullyParsed is true |
| |
| TEST COMPLETE |
| |