blob: 5c2e28ff175ecd1bb0ab248b927e8fe280049661 [file] [log] [blame]
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