1 Test to make sure we return correct text-decoration state. Note that "text-decoration: none" SHOULD NOT cancel text decorations.
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
6 PASS textdecorationState("underline","<u><b><i><span id=e>hello world</span></i></b></u>") is true
7 PASS textdecorationState("underline","<b><i><u><span id=e>hello world</span></u></i></b>") is true
8 PASS textdecorationState("underline","<b><i><span id=e style='text-decoration: underline;'>hello world</span></i></b>") is true
9 PASS textdecorationState("underline","<span style='text-decoration: underline;'><em id=e>hello world</em></span>") is true
10 PASS textdecorationState("underline","<u><b><i><span id=e style='text-decoration:none'>hello world</span></i></b></u>") is true
11 PASS textdecorationState("strikeThrough","<b><i><span id=e>hello world</span></i></b>") is false
12 PASS textdecorationState("strikeThrough","<s><b><i><span id=e>hello world</span></i></b></s>") is true
13 PASS textdecorationState("strikeThrough","<b><i><s><span id=e>hello world</span></s></i></b>") is true
14 PASS textdecorationState("strikeThrough","<b><i><span id=e style='text-decoration: line-through;'>hello world</span></i></b>") is true
15 PASS textdecorationState("strikeThrough","<span style='text-decoration: line-through;'><em id=e>hello world</em></span>") is true
16 PASS textdecorationState("strikeThrough","<s><b><i><span id=e style='text-decoration:none'>hello world</span></i></b></s>") is true
17 PASS successfullyParsed is true