[fontsize.html]
  type: testharness
  [[["fontsize","4"\]\] "foo[\]bar" queryCommandValue("fontsize") before]
    expected: FAIL

  [[["stylewithcss","true"\],["fontsize","4"\]\] "<p>[foo</p> <p>bar\]</p>" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","true"\],["fontsize","4"\]\] "<p>[foo</p> <p>bar\]</p>" queryCommandValue("fontsize") before]
    expected: FAIL

  [[["stylewithcss","false"\],["fontsize","4"\]\] "<p>[foo</p> <p>bar\]</p>" queryCommandValue("fontsize") before]
    expected: FAIL

  [[["stylewithcss","true"\],["fontsize","4"\]\] "<span>[foo</span> <span>bar\]</span>" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","true"\],["fontsize","4"\]\] "<span>[foo</span> <span>bar\]</span>" queryCommandValue("fontsize") before]
    expected: FAIL

  [[["stylewithcss","false"\],["fontsize","4"\]\] "<span>[foo</span> <span>bar\]</span>" queryCommandValue("fontsize") before]
    expected: FAIL

  [[["stylewithcss","true"\],["fontsize","4"\]\] "<p>[foo</p><p> <span>bar</span> </p><p>baz\]</p>" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","true"\],["fontsize","4"\]\] "<p>[foo</p><p> <span>bar</span> </p><p>baz\]</p>" queryCommandValue("fontsize") before]
    expected: FAIL

  [[["stylewithcss","false"\],["fontsize","4"\]\] "<p>[foo</p><p> <span>bar</span> </p><p>baz\]</p>" queryCommandValue("fontsize") before]
    expected: FAIL

  [[["stylewithcss","true"\],["fontsize","4"\]\] "<p>[foo<p><br><p>bar\]" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","true"\],["fontsize","4"\]\] "<p>[foo<p><br><p>bar\]" queryCommandValue("fontsize") before]
    expected: FAIL

  [[["stylewithcss","true"\],["fontsize","4"\]\] "<p>[foo<p><br><p>bar\]" queryCommandIndeterm("fontsize") after]
    expected: FAIL

  [[["stylewithcss","false"\],["fontsize","4"\]\] "<p>[foo<p><br><p>bar\]" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","false"\],["fontsize","4"\]\] "<p>[foo<p><br><p>bar\]" queryCommandValue("fontsize") before]
    expected: FAIL

  [[["stylewithcss","false"\],["fontsize","4"\]\] "<p>[foo<p><br><p>bar\]" queryCommandIndeterm("fontsize") after]
    expected: FAIL

  [[["fontsize","4"\]\] "<b>foo[\]bar</b>" queryCommandValue("fontsize") before]
    expected: FAIL

  [[["fontsize","4"\]\] "<i>foo[\]bar</i>" queryCommandValue("fontsize") before]
    expected: FAIL

  [[["fontsize","4"\]\] "<span>foo</span>{}<span>bar</span>" queryCommandValue("fontsize") before]
    expected: FAIL

  [[["fontsize","4"\]\] "<span>foo[</span><span>\]bar</span>" queryCommandValue("fontsize") before]
    expected: FAIL

  [[["fontsize","4"\]\] "<span>foo[</span><span>\]bar</span>" queryCommandValue("fontsize") after]
    expected: FAIL

  [[["stylewithcss","true"\],["fontsize","4"\]\] "foo[bar\]baz" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","true"\],["fontsize","4"\]\] "foo[bar\]baz" queryCommandValue("fontsize") before]
    expected: FAIL

  [[["stylewithcss","false"\],["fontsize","4"\]\] "foo[bar\]baz" queryCommandValue("fontsize") before]
    expected: FAIL

  [[["stylewithcss","true"\],["fontsize","4"\]\] "foo[bar<b>baz\]qoz</b>quz" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","true"\],["fontsize","4"\]\] "foo[bar<b>baz\]qoz</b>quz" queryCommandValue("fontsize") before]
    expected: FAIL

  [[["stylewithcss","false"\],["fontsize","4"\]\] "foo[bar<b>baz\]qoz</b>quz" queryCommandValue("fontsize") before]
    expected: FAIL

  [[["stylewithcss","true"\],["fontsize","4"\]\] "foo[bar<i>baz\]qoz</i>quz" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","true"\],["fontsize","4"\]\] "foo[bar<i>baz\]qoz</i>quz" queryCommandValue("fontsize") before]
    expected: FAIL

  [[["stylewithcss","false"\],["fontsize","4"\]\] "foo[bar<i>baz\]qoz</i>quz" queryCommandValue("fontsize") before]
    expected: FAIL

  [[["stylewithcss","true"\],["fontsize","4"\]\] "{<p><p> <p>foo</p>}" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","true"\],["fontsize","4"\]\] "{<p><p> <p>foo</p>}" queryCommandValue("fontsize") before]
    expected: FAIL

  [[["stylewithcss","false"\],["fontsize","4"\]\] "{<p><p> <p>foo</p>}" queryCommandValue("fontsize") before]
    expected: FAIL

  [[["stylewithcss","true"\],["fontsize","1"\]\] "foo[bar\]baz" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","true"\],["fontsize","1"\]\] "foo[bar\]baz" queryCommandValue("fontsize") before]
    expected: FAIL

  [[["stylewithcss","false"\],["fontsize","1"\]\] "foo[bar\]baz" queryCommandValue("fontsize") before]
    expected: FAIL

  [[["stylewithcss","true"\],["fontsize","0"\]\] "foo[bar\]baz" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","true"\],["fontsize","0"\]\] "foo[bar\]baz" queryCommandValue("fontsize") before]
    expected: FAIL

  [[["stylewithcss","false"\],["fontsize","0"\]\] "foo[bar\]baz" queryCommandValue("fontsize") before]
    expected: FAIL

  [[["stylewithcss","true"\],["fontsize","-5"\]\] "foo[bar\]baz" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","true"\],["fontsize","-5"\]\] "foo[bar\]baz" queryCommandValue("fontsize") before]
    expected: FAIL

  [[["stylewithcss","false"\],["fontsize","-5"\]\] "foo[bar\]baz" queryCommandValue("fontsize") before]
    expected: FAIL

  [[["stylewithcss","true"\],["fontsize","6"\]\] "foo[bar\]baz" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","true"\],["fontsize","6"\]\] "foo[bar\]baz" queryCommandValue("fontsize") before]
    expected: FAIL

  [[["stylewithcss","false"\],["fontsize","6"\]\] "foo[bar\]baz" queryCommandValue("fontsize") before]
    expected: FAIL

  [[["stylewithcss","true"\],["fontsize","7"\]\] "foo[bar\]baz" queryCommandValue("fontsize") before]
    expected: FAIL

  [[["stylewithcss","false"\],["fontsize","7"\]\] "foo[bar\]baz" queryCommandValue("fontsize") before]
    expected: FAIL

  [[["stylewithcss","true"\],["fontsize","8"\]\] "foo[bar\]baz" queryCommandValue("fontsize") before]
    expected: FAIL

  [[["stylewithcss","false"\],["fontsize","8"\]\] "foo[bar\]baz" queryCommandValue("fontsize") before]
    expected: FAIL

  [[["stylewithcss","true"\],["fontsize","100"\]\] "foo[bar\]baz" queryCommandValue("fontsize") before]
    expected: FAIL

  [[["stylewithcss","false"\],["fontsize","100"\]\] "foo[bar\]baz" queryCommandValue("fontsize") before]
    expected: FAIL

  [[["fontsize","2em"\]\] "foo[bar\]baz": execCommand("fontsize", false, "2em") return value]
    expected: FAIL

  [[["fontsize","2em"\]\] "foo[bar\]baz" compare innerHTML]
    expected: FAIL

  [[["fontsize","2em"\]\] "foo[bar\]baz" queryCommandValue("fontsize") before]
    expected: FAIL

  [[["fontsize","2em"\]\] "foo[bar\]baz" queryCommandValue("fontsize") after]
    expected: FAIL

  [[["fontsize","20pt"\]\] "foo[bar\]baz": execCommand("fontsize", false, "20pt") return value]
    expected: FAIL

  [[["fontsize","20pt"\]\] "foo[bar\]baz" compare innerHTML]
    expected: FAIL

  [[["fontsize","20pt"\]\] "foo[bar\]baz" queryCommandValue("fontsize") before]
    expected: FAIL

  [[["fontsize","20pt"\]\] "foo[bar\]baz" queryCommandValue("fontsize") after]
    expected: FAIL

  [[["fontsize","xx-large"\]\] "foo[bar\]baz" queryCommandValue("fontsize") before]
    expected: FAIL

  [[["fontsize","xx-large"\]\] "foo[bar\]baz" queryCommandValue("fontsize") after]
    expected: FAIL

  [[["stylewithcss","true"\],["fontsize"," 1 "\]\] "foo[bar\]baz" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","true"\],["fontsize"," 1 "\]\] "foo[bar\]baz" queryCommandValue("fontsize") before]
    expected: FAIL

  [[["stylewithcss","false"\],["fontsize"," 1 "\]\] "foo[bar\]baz" queryCommandValue("fontsize") before]
    expected: FAIL

  [[["fontsize","1."\]\] "foo[bar\]baz": execCommand("fontsize", false, "1.") return value]
    expected: FAIL

  [[["fontsize","1."\]\] "foo[bar\]baz" compare innerHTML]
    expected: FAIL

  [[["fontsize","1."\]\] "foo[bar\]baz" queryCommandValue("fontsize") before]
    expected: FAIL

  [[["fontsize","1."\]\] "foo[bar\]baz" queryCommandValue("fontsize") after]
    expected: FAIL

  [[["stylewithcss","true"\],["fontsize","1.0"\]\] "foo[bar\]baz" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","true"\],["fontsize","1.0"\]\] "foo[bar\]baz" queryCommandValue("fontsize") before]
    expected: FAIL

  [[["stylewithcss","false"\],["fontsize","1.0"\]\] "foo[bar\]baz" queryCommandValue("fontsize") before]
    expected: FAIL

  [[["stylewithcss","true"\],["fontsize","1.0e2"\]\] "foo[bar\]baz" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","true"\],["fontsize","1.0e2"\]\] "foo[bar\]baz" queryCommandValue("fontsize") before]
    expected: FAIL

  [[["stylewithcss","false"\],["fontsize","1.0e2"\]\] "foo[bar\]baz" queryCommandValue("fontsize") before]
    expected: FAIL

  [[["stylewithcss","true"\],["fontsize","1.1"\]\] "foo[bar\]baz" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","true"\],["fontsize","1.1"\]\] "foo[bar\]baz" queryCommandValue("fontsize") before]
    expected: FAIL

  [[["stylewithcss","false"\],["fontsize","1.1"\]\] "foo[bar\]baz" queryCommandValue("fontsize") before]
    expected: FAIL

  [[["stylewithcss","true"\],["fontsize","1.9"\]\] "foo[bar\]baz" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","true"\],["fontsize","1.9"\]\] "foo[bar\]baz" queryCommandValue("fontsize") before]
    expected: FAIL

  [[["stylewithcss","false"\],["fontsize","1.9"\]\] "foo[bar\]baz" queryCommandValue("fontsize") before]
    expected: FAIL

  [[["fontsize","+0"\]\] "foo[bar\]baz" compare innerHTML]
    expected: FAIL

  [[["fontsize","+0"\]\] "foo[bar\]baz" queryCommandValue("fontsize") before]
    expected: FAIL

  [[["stylewithcss","true"\],["fontsize","+1"\]\] "foo[bar\]baz" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","true"\],["fontsize","+1"\]\] "foo[bar\]baz" queryCommandValue("fontsize") before]
    expected: FAIL

  [[["stylewithcss","false"\],["fontsize","+1"\]\] "foo[bar\]baz" queryCommandValue("fontsize") before]
    expected: FAIL

  [[["stylewithcss","true"\],["fontsize","+9"\]\] "foo[bar\]baz" queryCommandValue("fontsize") before]
    expected: FAIL

  [[["stylewithcss","false"\],["fontsize","+9"\]\] "foo[bar\]baz" queryCommandValue("fontsize") before]
    expected: FAIL

  [[["fontsize","-0"\]\] "foo[bar\]baz" compare innerHTML]
    expected: FAIL

  [[["fontsize","-0"\]\] "foo[bar\]baz" queryCommandValue("fontsize") before]
    expected: FAIL

  [[["stylewithcss","true"\],["fontsize","-1"\]\] "foo[bar\]baz" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","true"\],["fontsize","-1"\]\] "foo[bar\]baz" queryCommandValue("fontsize") before]
    expected: FAIL

  [[["stylewithcss","false"\],["fontsize","-1"\]\] "foo[bar\]baz" queryCommandValue("fontsize") before]
    expected: FAIL

  [[["stylewithcss","true"\],["fontsize","-9"\]\] "foo[bar\]baz" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","true"\],["fontsize","-9"\]\] "foo[bar\]baz" queryCommandValue("fontsize") before]
    expected: FAIL

  [[["stylewithcss","false"\],["fontsize","-9"\]\] "foo[bar\]baz" queryCommandValue("fontsize") before]
    expected: FAIL

  [[["fontsize",""\]\] "foo[bar\]baz" queryCommandValue("fontsize") before]
    expected: FAIL

  [[["fontsize",""\]\] "foo[bar\]baz" queryCommandValue("fontsize") after]
    expected: FAIL

  [[["stylewithcss","true"\],["fontsize","4"\]\] "<table><tbody><tr><td>foo<td>b[a\]r<td>baz</table>" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","true"\],["fontsize","4"\]\] "<table><tbody><tr><td>foo<td>b[a\]r<td>baz</table>" queryCommandValue("fontsize") before]
    expected: FAIL

  [[["stylewithcss","false"\],["fontsize","4"\]\] "<table><tbody><tr><td>foo<td>b[a\]r<td>baz</table>" queryCommandValue("fontsize") before]
    expected: FAIL

  [[["stylewithcss","true"\],["fontsize","4"\]\] "<table><tbody><tr data-start=1 data-end=2><td>foo<td>bar<td>baz</table>" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","true"\],["fontsize","4"\]\] "<table><tbody><tr data-start=1 data-end=2><td>foo<td>bar<td>baz</table>" queryCommandValue("fontsize") before]
    expected: FAIL

  [[["stylewithcss","false"\],["fontsize","4"\]\] "<table><tbody><tr data-start=1 data-end=2><td>foo<td>bar<td>baz</table>" queryCommandValue("fontsize") before]
    expected: FAIL

  [[["stylewithcss","true"\],["fontsize","4"\]\] "<table><tbody><tr data-start=0 data-end=2><td>foo<td>bar<td>baz</table>" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","true"\],["fontsize","4"\]\] "<table><tbody><tr data-start=0 data-end=2><td>foo<td>bar<td>baz</table>" queryCommandValue("fontsize") before]
    expected: FAIL

  [[["stylewithcss","false"\],["fontsize","4"\]\] "<table><tbody><tr data-start=0 data-end=2><td>foo<td>bar<td>baz</table>" queryCommandValue("fontsize") before]
    expected: FAIL

  [[["stylewithcss","true"\],["fontsize","4"\]\] "<table><tbody data-start=0 data-end=1><tr><td>foo<td>bar<td>baz</table>" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","true"\],["fontsize","4"\]\] "<table><tbody data-start=0 data-end=1><tr><td>foo<td>bar<td>baz</table>" queryCommandValue("fontsize") before]
    expected: FAIL

  [[["stylewithcss","false"\],["fontsize","4"\]\] "<table><tbody data-start=0 data-end=1><tr><td>foo<td>bar<td>baz</table>" queryCommandValue("fontsize") before]
    expected: FAIL

  [[["stylewithcss","true"\],["fontsize","4"\]\] "<table data-start=0 data-end=1><tbody><tr><td>foo<td>bar<td>baz</table>" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","true"\],["fontsize","4"\]\] "<table data-start=0 data-end=1><tbody><tr><td>foo<td>bar<td>baz</table>" queryCommandValue("fontsize") before]
    expected: FAIL

  [[["stylewithcss","false"\],["fontsize","4"\]\] "<table data-start=0 data-end=1><tbody><tr><td>foo<td>bar<td>baz</table>" queryCommandValue("fontsize") before]
    expected: FAIL

  [[["stylewithcss","true"\],["fontsize","4"\]\] "{<table><tr><td>foo<td>bar<td>baz</table>}" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","true"\],["fontsize","4"\]\] "{<table><tr><td>foo<td>bar<td>baz</table>}" queryCommandValue("fontsize") before]
    expected: FAIL

  [[["stylewithcss","false"\],["fontsize","4"\]\] "{<table><tr><td>foo<td>bar<td>baz</table>}" queryCommandValue("fontsize") before]
    expected: FAIL

  [[["stylewithcss","true"\],["fontsize","4"\]\] "foo<font size=1>[bar\]</font>baz" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","true"\],["fontsize","4"\]\] "<font size=1>foo[bar\]baz</font>" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","true"\],["fontsize","4"\]\] "foo<font size=3>[bar\]</font>baz" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","true"\],["fontsize","4"\]\] "<font size=3>foo[bar\]baz</font>" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","true"\],["fontsize","4"\]\] "foo<font size=4>[bar\]</font>baz" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","true"\],["fontsize","4"\]\] "foo<font size=+1>[bar\]</font>baz" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","true"\],["fontsize","4"\]\] "foo<font size=+1>[bar\]</font>baz" queryCommandValue("fontsize") before]
    expected: FAIL

  [[["stylewithcss","false"\],["fontsize","4"\]\] "foo<font size=+1>[bar\]</font>baz" queryCommandValue("fontsize") before]
    expected: FAIL

  [[["fontsize","4"\]\] "<font size=+1>foo[bar\]baz</font>" compare innerHTML]
    expected: FAIL

  [[["fontsize","4"\]\] "<font size=+1>foo[bar\]baz</font>" queryCommandValue("fontsize") before]
    expected: FAIL

  [[["stylewithcss","true"\],["fontsize","4"\]\] "<font size=4>foo<font size=1>b[a\]r</font>baz</font>" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","false"\],["fontsize","4"\]\] "<font size=4>foo<font size=1>b[a\]r</font>baz</font>" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","true"\],["fontsize","4"\]\] "foo<span style=\\"font-size: xx-small\\">[bar\]</span>baz" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","true"\],["fontsize","4"\]\] "foo<span style=\\"font-size: xx-small\\">[bar\]</span>baz" queryCommandValue("fontsize") before]
    expected: FAIL

  [[["stylewithcss","false"\],["fontsize","4"\]\] "foo<span style=\\"font-size: xx-small\\">[bar\]</span>baz" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","false"\],["fontsize","4"\]\] "foo<span style=\\"font-size: xx-small\\">[bar\]</span>baz" queryCommandValue("fontsize") before]
    expected: FAIL

  [[["stylewithcss","true"\],["fontsize","4"\]\] "<span style=\\"font-size: xx-small\\">foo[bar\]baz</span>" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","true"\],["fontsize","4"\]\] "<span style=\\"font-size: xx-small\\">foo[bar\]baz</span>" queryCommandValue("fontsize") before]
    expected: FAIL

  [[["stylewithcss","false"\],["fontsize","4"\]\] "<span style=\\"font-size: xx-small\\">foo[bar\]baz</span>" queryCommandValue("fontsize") before]
    expected: FAIL

  [[["stylewithcss","true"\],["fontsize","4"\]\] "foo<span style=\\"font-size: medium\\">[bar\]</span>baz" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","true"\],["fontsize","4"\]\] "foo<span style=\\"font-size: medium\\">[bar\]</span>baz" queryCommandValue("fontsize") before]
    expected: FAIL

  [[["stylewithcss","false"\],["fontsize","4"\]\] "foo<span style=\\"font-size: medium\\">[bar\]</span>baz" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","false"\],["fontsize","4"\]\] "foo<span style=\\"font-size: medium\\">[bar\]</span>baz" queryCommandValue("fontsize") before]
    expected: FAIL

  [[["stylewithcss","true"\],["fontsize","4"\]\] "<span style=\\"font-size: medium\\">foo[bar\]baz</span>" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","true"\],["fontsize","4"\]\] "<span style=\\"font-size: medium\\">foo[bar\]baz</span>" queryCommandValue("fontsize") before]
    expected: FAIL

  [[["stylewithcss","false"\],["fontsize","4"\]\] "<span style=\\"font-size: medium\\">foo[bar\]baz</span>" queryCommandValue("fontsize") before]
    expected: FAIL

  [[["stylewithcss","true"\],["fontsize","4"\]\] "foo<span style=\\"font-size: large\\">[bar\]</span>baz" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","true"\],["fontsize","4"\]\] "foo<span style=\\"font-size: large\\">[bar\]</span>baz" queryCommandValue("fontsize") before]
    expected: FAIL

  [[["stylewithcss","false"\],["fontsize","4"\]\] "foo<span style=\\"font-size: large\\">[bar\]</span>baz" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","false"\],["fontsize","4"\]\] "foo<span style=\\"font-size: large\\">[bar\]</span>baz" queryCommandValue("fontsize") before]
    expected: FAIL

  [[["fontsize","4"\]\] "<span style=\\"font-size: large\\">foo[bar\]baz</span>" compare innerHTML]
    expected: FAIL

  [[["fontsize","4"\]\] "<span style=\\"font-size: large\\">foo[bar\]baz</span>" queryCommandValue("fontsize") before]
    expected: FAIL

  [[["stylewithcss","true"\],["fontsize","4"\]\] "<span style=\\"font-size: large\\">foo<span style=\\"font-size: xx-small\\">b[a\]r</span>baz</span>" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","true"\],["fontsize","4"\]\] "<span style=\\"font-size: large\\">foo<span style=\\"font-size: xx-small\\">b[a\]r</span>baz</span>" queryCommandValue("fontsize") before]
    expected: FAIL

  [[["stylewithcss","false"\],["fontsize","4"\]\] "<span style=\\"font-size: large\\">foo<span style=\\"font-size: xx-small\\">b[a\]r</span>baz</span>" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","false"\],["fontsize","4"\]\] "<span style=\\"font-size: large\\">foo<span style=\\"font-size: xx-small\\">b[a\]r</span>baz</span>" queryCommandValue("fontsize") before]
    expected: FAIL

  [[["stylewithcss","true"\],["fontsize","4"\]\] "foo<span style=\\"font-size: 2em\\">[bar\]</span>baz" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","true"\],["fontsize","4"\]\] "foo<span style=\\"font-size: 2em\\">[bar\]</span>baz" queryCommandValue("fontsize") before]
    expected: FAIL

  [[["stylewithcss","false"\],["fontsize","4"\]\] "foo<span style=\\"font-size: 2em\\">[bar\]</span>baz" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","false"\],["fontsize","4"\]\] "foo<span style=\\"font-size: 2em\\">[bar\]</span>baz" queryCommandValue("fontsize") before]
    expected: FAIL

  [[["stylewithcss","true"\],["fontsize","4"\]\] "<span style=\\"font-size: 2em\\">foo[bar\]baz</span>" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","true"\],["fontsize","4"\]\] "<span style=\\"font-size: 2em\\">foo[bar\]baz</span>" queryCommandValue("fontsize") before]
    expected: FAIL

  [[["stylewithcss","false"\],["fontsize","4"\]\] "<span style=\\"font-size: 2em\\">foo[bar\]baz</span>" queryCommandValue("fontsize") before]
    expected: FAIL

  [[["stylewithcss","true"\],["fontsize","4"\]\] "<p style=\\"font-size: xx-small\\">foo[bar\]baz</p>" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","true"\],["fontsize","4"\]\] "<p style=\\"font-size: xx-small\\">foo[bar\]baz</p>" queryCommandValue("fontsize") before]
    expected: FAIL

  [[["stylewithcss","false"\],["fontsize","4"\]\] "<p style=\\"font-size: xx-small\\">foo[bar\]baz</p>" queryCommandValue("fontsize") before]
    expected: FAIL

  [[["stylewithcss","true"\],["fontsize","4"\]\] "<p style=\\"font-size: medium\\">foo[bar\]baz</p>" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","true"\],["fontsize","4"\]\] "<p style=\\"font-size: medium\\">foo[bar\]baz</p>" queryCommandValue("fontsize") before]
    expected: FAIL

  [[["stylewithcss","false"\],["fontsize","4"\]\] "<p style=\\"font-size: medium\\">foo[bar\]baz</p>" queryCommandValue("fontsize") before]
    expected: FAIL

  [[["fontsize","4"\]\] "<p style=\\"font-size: large\\">foo[bar\]baz</p>" compare innerHTML]
    expected: FAIL

  [[["fontsize","4"\]\] "<p style=\\"font-size: large\\">foo[bar\]baz</p>" queryCommandValue("fontsize") before]
    expected: FAIL

  [[["stylewithcss","true"\],["fontsize","4"\]\] "<p style=\\"font-size: 2em\\">foo[bar\]baz</p>" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","true"\],["fontsize","4"\]\] "<p style=\\"font-size: 2em\\">foo[bar\]baz</p>" queryCommandValue("fontsize") before]
    expected: FAIL

  [[["stylewithcss","false"\],["fontsize","4"\]\] "<p style=\\"font-size: 2em\\">foo[bar\]baz</p>" queryCommandValue("fontsize") before]
    expected: FAIL

  [[["stylewithcss","true"\],["fontsize","3"\]\] "<p style=\\"font-size: xx-small\\">foo[bar\]baz</p>" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","true"\],["fontsize","3"\]\] "<p style=\\"font-size: xx-small\\">foo[bar\]baz</p>" queryCommandValue("fontsize") before]
    expected: FAIL

  [[["stylewithcss","false"\],["fontsize","3"\]\] "<p style=\\"font-size: xx-small\\">foo[bar\]baz</p>" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","false"\],["fontsize","3"\]\] "<p style=\\"font-size: xx-small\\">foo[bar\]baz</p>" queryCommandValue("fontsize") before]
    expected: FAIL

  [[["fontsize","3"\]\] "<p style=\\"font-size: medium\\">foo[bar\]baz</p>" compare innerHTML]
    expected: FAIL

  [[["fontsize","3"\]\] "<p style=\\"font-size: medium\\">foo[bar\]baz</p>" queryCommandValue("fontsize") before]
    expected: FAIL

  [[["stylewithcss","true"\],["fontsize","3"\]\] "<p style=\\"font-size: large\\">foo[bar\]baz</p>" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","true"\],["fontsize","3"\]\] "<p style=\\"font-size: large\\">foo[bar\]baz</p>" queryCommandValue("fontsize") before]
    expected: FAIL

  [[["stylewithcss","false"\],["fontsize","3"\]\] "<p style=\\"font-size: large\\">foo[bar\]baz</p>" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","false"\],["fontsize","3"\]\] "<p style=\\"font-size: large\\">foo[bar\]baz</p>" queryCommandValue("fontsize") before]
    expected: FAIL

  [[["stylewithcss","true"\],["fontsize","3"\]\] "<p style=\\"font-size: 2em\\">foo[bar\]baz</p>" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","true"\],["fontsize","3"\]\] "<p style=\\"font-size: 2em\\">foo[bar\]baz</p>" queryCommandValue("fontsize") before]
    expected: FAIL

  [[["stylewithcss","false"\],["fontsize","3"\]\] "<p style=\\"font-size: 2em\\">foo[bar\]baz</p>" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","false"\],["fontsize","3"\]\] "<p style=\\"font-size: 2em\\">foo[bar\]baz</p>" queryCommandValue("fontsize") before]
    expected: FAIL

  [[["stylewithcss","true"\],["fontsize","3"\]\] "<font size=6>foo <span style=\\"font-size: 2em\\">b[a\]r</span> baz</font>" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","true"\],["fontsize","3"\]\] "<font size=6>foo <span style=\\"font-size: 2em\\">b[a\]r</span> baz</font>" queryCommandValue("fontsize") before]
    expected: FAIL

  [[["stylewithcss","false"\],["fontsize","3"\]\] "<font size=6>foo <span style=\\"font-size: 2em\\">b[a\]r</span> baz</font>" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","false"\],["fontsize","3"\]\] "<font size=6>foo <span style=\\"font-size: 2em\\">b[a\]r</span> baz</font>" queryCommandValue("fontsize") before]
    expected: FAIL

  [[["stylewithcss","true"\],["fontsize","3"\]\] "foo<big>[bar\]</big>baz" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","true"\],["fontsize","3"\]\] "foo<big>[bar\]</big>baz" queryCommandValue("fontsize") before]
    expected: FAIL

  [[["stylewithcss","false"\],["fontsize","3"\]\] "foo<big>[bar\]</big>baz" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","false"\],["fontsize","3"\]\] "foo<big>[bar\]</big>baz" queryCommandValue("fontsize") before]
    expected: FAIL

  [[["stylewithcss","true"\],["fontsize","3"\]\] "foo<big>b[a\]r</big>baz" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","true"\],["fontsize","3"\]\] "foo<big>b[a\]r</big>baz" queryCommandValue("fontsize") before]
    expected: FAIL

  [[["stylewithcss","false"\],["fontsize","3"\]\] "foo<big>b[a\]r</big>baz" queryCommandValue("fontsize") before]
    expected: FAIL

  [[["stylewithcss","true"\],["fontsize","3"\]\] "foo<small>[bar\]</small>baz" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","true"\],["fontsize","3"\]\] "foo<small>[bar\]</small>baz" queryCommandValue("fontsize") before]
    expected: FAIL

  [[["stylewithcss","false"\],["fontsize","3"\]\] "foo<small>[bar\]</small>baz" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","false"\],["fontsize","3"\]\] "foo<small>[bar\]</small>baz" queryCommandValue("fontsize") before]
    expected: FAIL

  [[["stylewithcss","true"\],["fontsize","3"\]\] "foo<small>b[a\]r</small>baz" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","true"\],["fontsize","3"\]\] "foo<small>b[a\]r</small>baz" queryCommandValue("fontsize") before]
    expected: FAIL

  [[["stylewithcss","false"\],["fontsize","3"\]\] "foo<small>b[a\]r</small>baz" queryCommandValue("fontsize") before]
    expected: FAIL

  [[["stylewithcss","true"\],["fontsize","4"\]\] "fo[o<font size=2>b\]ar</font>baz" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","true"\],["fontsize","4"\]\] "fo[o<font size=2>b\]ar</font>baz" queryCommandValue("fontsize") before]
    expected: FAIL

  [[["stylewithcss","false"\],["fontsize","4"\]\] "fo[o<font size=2>b\]ar</font>baz" queryCommandValue("fontsize") before]
    expected: FAIL

  [[["stylewithcss","true"\],["fontsize","4"\]\] "foo<font size=2>ba[r</font>b\]az" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","true"\],["fontsize","4"\]\] "fo[o<font size=2>bar</font>b\]az" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","true"\],["fontsize","4"\]\] "fo[o<font size=2>bar</font>b\]az" queryCommandValue("fontsize") before]
    expected: FAIL

  [[["stylewithcss","false"\],["fontsize","4"\]\] "fo[o<font size=2>bar</font>b\]az" queryCommandValue("fontsize") before]
    expected: FAIL

  [[["stylewithcss","true"\],["fontsize","4"\]\] "foo[<font size=2>b\]ar</font>baz" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","true"\],["fontsize","4"\]\] "foo<font size=2>ba[r</font>\]baz" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","true"\],["fontsize","4"\]\] "foo[<font size=2>bar</font>\]baz" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","true"\],["fontsize","4"\]\] "foo<font size=2>[bar\]</font>baz" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","true"\],["fontsize","4"\]\] "foo{<font size=2>bar</font>}baz" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","true"\],["fontsize","4"\]\] "<font size=1>fo[o</font><span style=font-size:xx-small>b\]ar</span>" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","true"\],["fontsize","4"\]\] "<font size=2>fo[o</font><span style=font-size:small>b\]ar</span>" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","true"\],["fontsize","4"\]\] "<font size=2>fo[o</font><span style=font-size:small>b\]ar</span>" queryCommandIndeterm("fontsize") before]
    expected: FAIL

  [[["stylewithcss","false"\],["fontsize","4"\]\] "<font size=2>fo[o</font><span style=font-size:small>b\]ar</span>" queryCommandIndeterm("fontsize") before]
    expected: FAIL

  [[["stylewithcss","true"\],["fontsize","4"\]\] "<font size=3>fo[o</font><span style=font-size:medium>b\]ar</span>" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","true"\],["fontsize","4"\]\] "<font size=3>fo[o</font><span style=font-size:medium>b\]ar</span>" queryCommandIndeterm("fontsize") before]
    expected: FAIL

  [[["stylewithcss","false"\],["fontsize","4"\]\] "<font size=3>fo[o</font><span style=font-size:medium>b\]ar</span>" queryCommandIndeterm("fontsize") before]
    expected: FAIL

  [[["fontsize","4"\]\] "<font size=4>fo[o</font><span style=font-size:large>b\]ar</span>" compare innerHTML]
    expected: FAIL

  [[["fontsize","4"\]\] "<font size=4>fo[o</font><span style=font-size:large>b\]ar</span>" queryCommandIndeterm("fontsize") before]
    expected: FAIL

  [[["stylewithcss","true"\],["fontsize","4"\]\] "<font size=5>fo[o</font><span style=font-size:x-large>b\]ar</span>" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","true"\],["fontsize","4"\]\] "<font size=5>fo[o</font><span style=font-size:x-large>b\]ar</span>" queryCommandIndeterm("fontsize") before]
    expected: FAIL

  [[["stylewithcss","false"\],["fontsize","4"\]\] "<font size=5>fo[o</font><span style=font-size:x-large>b\]ar</span>" queryCommandIndeterm("fontsize") before]
    expected: FAIL

  [[["stylewithcss","true"\],["fontsize","4"\]\] "<font size=6>fo[o</font><span style=font-size:xx-large>b\]ar</span>" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","true"\],["fontsize","4"\]\] "<font size=6>fo[o</font><span style=font-size:xx-large>b\]ar</span>" queryCommandIndeterm("fontsize") before]
    expected: FAIL

  [[["stylewithcss","false"\],["fontsize","4"\]\] "<font size=6>fo[o</font><span style=font-size:xx-large>b\]ar</span>" queryCommandIndeterm("fontsize") before]
    expected: FAIL

