[bold.html]
  type: testharness
  [[["stylewithcss","true"\],["bold",""\]\] "<span>[foo</span> <span>bar\]</span>" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","true"\],["bold",""\]\] "<span>[foo</span> <span>bar\]</span>" queryCommandIndeterm("bold") before]
    expected: FAIL

  [[["stylewithcss","false"\],["bold",""\]\] "<span>[foo</span> <span>bar\]</span>" queryCommandIndeterm("bold") before]
    expected: FAIL

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

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

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

  [[["bold",""\]\] "<span>foo[</span><span>\]bar</span>" queryCommandState("bold") after]
    expected: FAIL

  [[["stylewithcss","true"\],["bold",""\]\] "fo[o<span contenteditable=false>bar</span>b\]az" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","false"\],["bold",""\]\] "fo[o<span contenteditable=false>bar</span>b\]az" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","true"\],["bold",""\]\] "<span contenteditable=false>foo<span contenteditable=true>[bar\]</span>baz</span>": execCommand("bold", false, "") return value]
    expected: FAIL

  [[["stylewithcss","true"\],["bold",""\]\] "<span contenteditable=false>foo<span contenteditable=true>[bar\]</span>baz</span>" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","true"\],["bold",""\]\] "<span contenteditable=false>foo<span contenteditable=true>[bar\]</span>baz</span>" queryCommandState("bold") after]
    expected: FAIL

  [[["stylewithcss","false"\],["bold",""\]\] "<span contenteditable=false>foo<span contenteditable=true>[bar\]</span>baz</span>": execCommand("bold", false, "") return value]
    expected: FAIL

  [[["stylewithcss","false"\],["bold",""\]\] "<span contenteditable=false>foo<span contenteditable=true>[bar\]</span>baz</span>" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","false"\],["bold",""\]\] "<span contenteditable=false>foo<span contenteditable=true>[bar\]</span>baz</span>" queryCommandState("bold") after]
    expected: FAIL

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

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

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

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

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

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

  [[["bold",""\]\] "<b>foo</b>[bar\]<strong>baz</strong>" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","true"\],["bold",""\]\] "<strong>foo</strong>[bar\]<b>baz</b>" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","false"\],["bold",""\]\] "<strong>foo</strong>[bar\]<b>baz</b>" compare innerHTML]
    expected: FAIL

  [[["bold",""\]\] "foo{<b></b>}baz" compare innerHTML]
    expected: FAIL

  [[["bold",""\]\] "foo{<b></b>}baz" queryCommandState("bold") after]
    expected: FAIL

  [[["bold",""\]\] "foo{<i></i>}baz" compare innerHTML]
    expected: FAIL

  [[["bold",""\]\] "foo{<i></i>}baz" queryCommandState("bold") after]
    expected: FAIL

  [[["bold",""\]\] "foo{<b><i></i></b>}baz" compare innerHTML]
    expected: FAIL

  [[["bold",""\]\] "foo{<b><i></i></b>}baz" queryCommandState("bold") after]
    expected: FAIL

  [[["bold",""\]\] "foo{<i><b></b></i>}baz" compare innerHTML]
    expected: FAIL

  [[["bold",""\]\] "foo{<i><b></b></i>}baz" queryCommandState("bold") after]
    expected: FAIL

  [[["stylewithcss","true"\],["bold",""\]\] "<b>{<p>foo</p><p>bar</p>}<p>baz</p></b>" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","false"\],["bold",""\]\] "<b>{<p>foo</p><p>bar</p>}<p>baz</p></b>" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","true"\],["bold",""\]\] "<b><p>foo[<i>bar</i>}</p><p>baz</p></b>" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","false"\],["bold",""\]\] "<b><p>foo[<i>bar</i>}</p><p>baz</p></b>" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","false"\],["bold",""\]\] "<b><p>foo[<i>bar</i>}</p><p>baz</p></b>" queryCommandState("bold") after]
    expected: FAIL

  [[["stylewithcss","true"\],["bold",""\]\] "<b id=purple>bar [baz\] qoz</b>" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","false"\],["bold",""\]\] "<b id=purple>bar [baz\] qoz</b>" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","true"\],["bold",""\]\] "foo<span style=\\"font-weight: 100\\">[bar\]</span>baz" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","true"\],["bold",""\]\] "foo<span style=\\"font-weight: 100\\">[bar\]</span>baz" queryCommandState("bold") after]
    expected: FAIL

  [[["stylewithcss","false"\],["bold",""\]\] "foo<span style=\\"font-weight: 100\\">[bar\]</span>baz" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","false"\],["bold",""\]\] "foo<span style=\\"font-weight: 100\\">[bar\]</span>baz" queryCommandState("bold") after]
    expected: FAIL

  [[["stylewithcss","true"\],["bold",""\]\] "foo<span style=\\"font-weight: 200\\">[bar\]</span>baz" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","true"\],["bold",""\]\] "foo<span style=\\"font-weight: 200\\">[bar\]</span>baz" queryCommandState("bold") after]
    expected: FAIL

  [[["stylewithcss","false"\],["bold",""\]\] "foo<span style=\\"font-weight: 200\\">[bar\]</span>baz" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","false"\],["bold",""\]\] "foo<span style=\\"font-weight: 200\\">[bar\]</span>baz" queryCommandState("bold") after]
    expected: FAIL

  [[["stylewithcss","true"\],["bold",""\]\] "foo<span style=\\"font-weight: 300\\">[bar\]</span>baz" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","true"\],["bold",""\]\] "foo<span style=\\"font-weight: 300\\">[bar\]</span>baz" queryCommandState("bold") after]
    expected: FAIL

  [[["stylewithcss","false"\],["bold",""\]\] "foo<span style=\\"font-weight: 300\\">[bar\]</span>baz" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","false"\],["bold",""\]\] "foo<span style=\\"font-weight: 300\\">[bar\]</span>baz" queryCommandState("bold") after]
    expected: FAIL

  [[["stylewithcss","true"\],["bold",""\]\] "foo<span style=\\"font-weight: 400\\">[bar\]</span>baz" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","true"\],["bold",""\]\] "foo<span style=\\"font-weight: 400\\">[bar\]</span>baz" queryCommandState("bold") after]
    expected: FAIL

  [[["stylewithcss","false"\],["bold",""\]\] "foo<span style=\\"font-weight: 400\\">[bar\]</span>baz" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","false"\],["bold",""\]\] "foo<span style=\\"font-weight: 400\\">[bar\]</span>baz" queryCommandState("bold") after]
    expected: FAIL

  [[["stylewithcss","true"\],["bold",""\]\] "foo<span style=\\"font-weight: 500\\">[bar\]</span>baz" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","true"\],["bold",""\]\] "foo<span style=\\"font-weight: 500\\">[bar\]</span>baz" queryCommandState("bold") before]
    expected: FAIL

  [[["stylewithcss","true"\],["bold",""\]\] "foo<span style=\\"font-weight: 500\\">[bar\]</span>baz" queryCommandState("bold") after]
    expected: FAIL

  [[["stylewithcss","false"\],["bold",""\]\] "foo<span style=\\"font-weight: 500\\">[bar\]</span>baz" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","false"\],["bold",""\]\] "foo<span style=\\"font-weight: 500\\">[bar\]</span>baz" queryCommandState("bold") before]
    expected: FAIL

  [[["stylewithcss","false"\],["bold",""\]\] "foo<span style=\\"font-weight: 500\\">[bar\]</span>baz" queryCommandState("bold") after]
    expected: FAIL

  [[["stylewithcss","true"\],["bold",""\]\] "foo<span style=\\"font-weight: 400\\">[bar</span>\]baz" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","true"\],["bold",""\]\] "foo<span style=\\"font-weight: 400\\">[bar</span>\]baz" queryCommandState("bold") after]
    expected: FAIL

  [[["stylewithcss","false"\],["bold",""\]\] "foo<span style=\\"font-weight: 400\\">[bar</span>\]baz" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","false"\],["bold",""\]\] "foo<span style=\\"font-weight: 400\\">[bar</span>\]baz" queryCommandState("bold") after]
    expected: FAIL

  [[["stylewithcss","true"\],["bold",""\]\] "foo[<span style=\\"font-weight: 400\\">bar\]</span>baz" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","true"\],["bold",""\]\] "foo[<span style=\\"font-weight: 400\\">bar\]</span>baz" queryCommandState("bold") after]
    expected: FAIL

  [[["stylewithcss","false"\],["bold",""\]\] "foo[<span style=\\"font-weight: 400\\">bar\]</span>baz" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","false"\],["bold",""\]\] "foo[<span style=\\"font-weight: 400\\">bar\]</span>baz" queryCommandState("bold") after]
    expected: FAIL

  [[["stylewithcss","true"\],["bold",""\]\] "foo[<span style=\\"font-weight: 400\\">bar</span>\]baz" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","true"\],["bold",""\]\] "foo[<span style=\\"font-weight: 400\\">bar</span>\]baz" queryCommandState("bold") after]
    expected: FAIL

  [[["stylewithcss","false"\],["bold",""\]\] "foo[<span style=\\"font-weight: 400\\">bar</span>\]baz" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","false"\],["bold",""\]\] "foo[<span style=\\"font-weight: 400\\">bar</span>\]baz" queryCommandState("bold") after]
    expected: FAIL

  [[["stylewithcss","false"\],["bold",""\]\] "<span style=\\"font-weight: 700\\">foo[bar\]baz</span>" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","false"\],["bold",""\]\] "<span style=\\"font-weight: 700\\">foo[bar\]baz</span>" queryCommandState("bold") after]
    expected: FAIL

  [[["stylewithcss","false"\],["bold",""\]\] "<span style=\\"font-weight: 900\\">foo[bar\]baz</span>" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","false"\],["bold",""\]\] "<span style=\\"font-weight: 900\\">foo[bar\]baz</span>" queryCommandState("bold") after]
    expected: FAIL

  [[["stylewithcss","false"\],["bold",""\]\] "{<span style=\\"font-weight: 700\\">foobar\]baz</span>" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","false"\],["bold",""\]\] "{<span style=\\"font-weight: 700\\">foobar\]baz</span>" queryCommandState("bold") after]
    expected: FAIL

  [[["bold",""\]\] "{<span style=\\"font-weight: 900\\">foobar\]baz</span>" compare innerHTML]
    expected: FAIL

  [[["bold",""\]\] "{<span style=\\"font-weight: 900\\">foobar\]baz</span>" queryCommandState("bold") after]
    expected: FAIL

  [[["stylewithcss","false"\],["bold",""\]\] "<span style=\\"font-weight: 700\\">foo[barbaz</span>}" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","false"\],["bold",""\]\] "<span style=\\"font-weight: 700\\">foo[barbaz</span>}" queryCommandState("bold") after]
    expected: FAIL

  [[["bold",""\]\] "<span style=\\"font-weight: 900\\">foo[barbaz</span>}" compare innerHTML]
    expected: FAIL

  [[["bold",""\]\] "<span style=\\"font-weight: 900\\">foo[barbaz</span>}" queryCommandState("bold") after]
    expected: FAIL

  [[["stylewithcss","false"\],["bold",""\]\] "<h3>foo[bar\]baz</h3>" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","false"\],["bold",""\]\] "<h3>foo[bar\]baz</h3>" queryCommandState("bold") after]
    expected: FAIL

  [[["stylewithcss","true"\],["bold",""\]\] "{<h3>foobar\]baz</h3>" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","true"\],["bold",""\]\] "{<h3>foobar\]baz</h3>" queryCommandState("bold") after]
    expected: FAIL

  [[["stylewithcss","false"\],["bold",""\]\] "{<h3>foobar\]baz</h3>" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","false"\],["bold",""\]\] "{<h3>foobar\]baz</h3>" queryCommandState("bold") after]
    expected: FAIL

  [[["stylewithcss","true"\],["bold",""\]\] "<h3>foo[barbaz</h3>}" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","true"\],["bold",""\]\] "<h3>foo[barbaz</h3>}" queryCommandState("bold") after]
    expected: FAIL

  [[["stylewithcss","false"\],["bold",""\]\] "<h3>foo[barbaz</h3>}" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","false"\],["bold",""\]\] "<h3>foo[barbaz</h3>}" queryCommandState("bold") after]
    expected: FAIL

  [[["stylewithcss","true"\],["bold",""\]\] "<h3>[foobarbaz\]</h3>" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","true"\],["bold",""\]\] "<h3>[foobarbaz\]</h3>" queryCommandState("bold") after]
    expected: FAIL

  [[["stylewithcss","false"\],["bold",""\]\] "<h3>[foobarbaz\]</h3>" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","false"\],["bold",""\]\] "<h3>[foobarbaz\]</h3>" queryCommandState("bold") after]
    expected: FAIL

  [[["stylewithcss","true"\],["bold",""\]\] "{<h3>foobarbaz\]</h3>" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","true"\],["bold",""\]\] "{<h3>foobarbaz\]</h3>" queryCommandState("bold") after]
    expected: FAIL

  [[["stylewithcss","false"\],["bold",""\]\] "{<h3>foobarbaz\]</h3>" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","false"\],["bold",""\]\] "{<h3>foobarbaz\]</h3>" queryCommandState("bold") after]
    expected: FAIL

  [[["stylewithcss","true"\],["bold",""\]\] "<h3>[foobarbaz</h3>}" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","true"\],["bold",""\]\] "<h3>[foobarbaz</h3>}" queryCommandState("bold") after]
    expected: FAIL

  [[["stylewithcss","false"\],["bold",""\]\] "<h3>[foobarbaz</h3>}" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","false"\],["bold",""\]\] "<h3>[foobarbaz</h3>}" queryCommandState("bold") after]
    expected: FAIL

  [[["stylewithcss","true"\],["bold",""\]\] "{<h3>foobarbaz</h3>}" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","true"\],["bold",""\]\] "{<h3>foobarbaz</h3>}" queryCommandState("bold") after]
    expected: FAIL

  [[["stylewithcss","false"\],["bold",""\]\] "{<h3>foobarbaz</h3>}" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","false"\],["bold",""\]\] "{<h3>foobarbaz</h3>}" queryCommandState("bold") after]
    expected: FAIL

  [[["stylewithcss","true"\],["bold",""\]\] "<b>foo<span style=\\"font-weight: normal\\">bar<b>[baz\]</b>quz</span>qoz</b>" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","false"\],["bold",""\]\] "<b>foo<span style=\\"font-weight: normal\\">bar<b>[baz\]</b>quz</span>qoz</b>" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","true"\],["bold",""\]\] "<b>foo<span style=\\"font-weight: normal\\">[bar\]</span>baz</b>" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","true"\],["bold",""\]\] "<b>foo<span style=\\"font-weight: normal\\">[bar\]</span>baz</b>" queryCommandState("bold") after]
    expected: FAIL

  [[["stylewithcss","false"\],["bold",""\]\] "<b>foo<span style=\\"font-weight: normal\\">[bar\]</span>baz</b>" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","false"\],["bold",""\]\] "<b>foo<span style=\\"font-weight: normal\\">[bar\]</span>baz</b>" queryCommandState("bold") after]
    expected: FAIL

  [[["stylewithcss","true"\],["bold",""\]\] "{<h3>foo</h3><b>bar</b>}" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","true"\],["bold",""\]\] "{<h3>foo</h3><b>bar</b>}" queryCommandIndeterm("bold") after]
    expected: FAIL

  [[["stylewithcss","false"\],["bold",""\]\] "{<h3>foo</h3><b>bar</b>}" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","false"\],["bold",""\]\] "{<h3>foo</h3><b>bar</b>}" queryCommandIndeterm("bold") after]
    expected: FAIL

  [[["stylewithcss","true"\],["bold",""\]\] "<i><b>foo</b></i>[bar\]<i><b>baz</b></i>" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","false"\],["bold",""\]\] "<i><b>foo</b></i>[bar\]<i><b>baz</b></i>" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","true"\],["bold",""\]\] "<i><b>foo</b></i>[bar\]<b>baz</b>" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","false"\],["bold",""\]\] "<i><b>foo</b></i>[bar\]<b>baz</b>" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","true"\],["bold",""\]\] "<b>foo</b>[bar\]<i><b>baz</b></i>" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","false"\],["bold",""\]\] "<b>foo</b>[bar\]<i><b>baz</b></i>" compare innerHTML]
    expected: FAIL

  [[["bold",""\]\] "<font color=blue face=monospace><b>foo</b></font>[bar\]" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","true"\],["bold",""\]\] "foo<span style=\\"font-weight: normal\\"><b>{bar}</b></span>baz" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","false"\],["bold",""\]\] "foo<span style=\\"font-weight: normal\\"><b>{bar}</b></span>baz" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","true"\],["bold",""\]\] "[foo<span class=notbold>bar</span>baz\]" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","true"\],["bold",""\]\] "[foo<span class=notbold>bar</span>baz\]" queryCommandIndeterm("bold") before]
    expected: FAIL

  [[["stylewithcss","true"\],["bold",""\]\] "[foo<span class=notbold>bar</span>baz\]" queryCommandIndeterm("bold") after]
    expected: FAIL

  [[["stylewithcss","true"\],["bold",""\]\] "[foo<span class=notbold>bar</span>baz\]" queryCommandState("bold") after]
    expected: FAIL

  [[["stylewithcss","false"\],["bold",""\]\] "[foo<span class=notbold>bar</span>baz\]" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","false"\],["bold",""\]\] "[foo<span class=notbold>bar</span>baz\]" queryCommandIndeterm("bold") before]
    expected: FAIL

  [[["stylewithcss","false"\],["bold",""\]\] "[foo<span class=notbold>bar</span>baz\]" queryCommandIndeterm("bold") after]
    expected: FAIL

  [[["stylewithcss","false"\],["bold",""\]\] "[foo<span class=notbold>bar</span>baz\]" queryCommandState("bold") after]
    expected: FAIL

  [[["stylewithcss","true"\],["bold",""\]\] "<b><span class=notbold>[foo\]</span></b>" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","true"\],["bold",""\]\] "<b><span class=notbold>[foo\]</span></b>" queryCommandState("bold") after]
    expected: FAIL

  [[["stylewithcss","false"\],["bold",""\]\] "<b><span class=notbold>[foo\]</span></b>" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","false"\],["bold",""\]\] "<b><span class=notbold>[foo\]</span></b>" queryCommandState("bold") after]
    expected: FAIL

  [[["stylewithcss","true"\],["bold",""\]\] "<p style=\\"font-weight: bold\\">foo[bar\]baz</p>" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","false"\],["bold",""\]\] "<p style=\\"font-weight: bold\\">foo[bar\]baz</p>" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","false"\],["bold",""\]\] "<p style=\\"font-weight: bold\\">foo[bar\]baz</p>" queryCommandState("bold") after]
    expected: FAIL

  [[["stylewithcss","true"\],["bold",""\]\] "foo[<b>b\]ar</b>baz" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","true"\],["bold",""\]\] "foo<b>ba[r</b>\]baz" compare innerHTML]
    expected: FAIL

  [[["bold",""\]\] "<span style=font-weight:800>fo[o</span><span style=font-weight:900>b\]ar</span>" compare innerHTML]
    expected: FAIL

  [[["bold",""\]\] "<span style=font-weight:800>fo[o</span><span style=font-weight:900>b\]ar</span>" queryCommandState("bold") after]
    expected: FAIL

  [[["stylewithcss","false"\],["bold",""\]\] "<span style=font-weight:700>fo[o</span><span style=font-weight:800>b\]ar</span>" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","false"\],["bold",""\]\] "<span style=font-weight:700>fo[o</span><span style=font-weight:800>b\]ar</span>" queryCommandState("bold") after]
    expected: FAIL

  [[["stylewithcss","false"\],["bold",""\]\] "<span style=font-weight:600>fo[o</span><span style=font-weight:700>b\]ar</span>" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","false"\],["bold",""\]\] "<span style=font-weight:600>fo[o</span><span style=font-weight:700>b\]ar</span>" queryCommandState("bold") after]
    expected: FAIL

  [[["stylewithcss","true"\],["bold",""\]\] "<span style=font-weight:500>fo[o</span><span style=font-weight:600>b\]ar</span>" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","true"\],["bold",""\]\] "<span style=font-weight:500>fo[o</span><span style=font-weight:600>b\]ar</span>" queryCommandIndeterm("bold") before]
    expected: FAIL

  [[["stylewithcss","true"\],["bold",""\]\] "<span style=font-weight:500>fo[o</span><span style=font-weight:600>b\]ar</span>" queryCommandState("bold") before]
    expected: FAIL

  [[["stylewithcss","true"\],["bold",""\]\] "<span style=font-weight:500>fo[o</span><span style=font-weight:600>b\]ar</span>" queryCommandState("bold") after]
    expected: FAIL

  [[["stylewithcss","false"\],["bold",""\]\] "<span style=font-weight:500>fo[o</span><span style=font-weight:600>b\]ar</span>" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","false"\],["bold",""\]\] "<span style=font-weight:500>fo[o</span><span style=font-weight:600>b\]ar</span>" queryCommandIndeterm("bold") before]
    expected: FAIL

  [[["stylewithcss","false"\],["bold",""\]\] "<span style=font-weight:500>fo[o</span><span style=font-weight:600>b\]ar</span>" queryCommandState("bold") before]
    expected: FAIL

  [[["stylewithcss","true"\],["bold",""\]\] "<span style=font-weight:400>fo[o</span><span style=font-weight:500>b\]ar</span>" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","true"\],["bold",""\]\] "<span style=font-weight:400>fo[o</span><span style=font-weight:500>b\]ar</span>" queryCommandIndeterm("bold") before]
    expected: FAIL

  [[["stylewithcss","false"\],["bold",""\]\] "<span style=font-weight:400>fo[o</span><span style=font-weight:500>b\]ar</span>" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","false"\],["bold",""\]\] "<span style=font-weight:400>fo[o</span><span style=font-weight:500>b\]ar</span>" queryCommandIndeterm("bold") before]
    expected: FAIL

