[italic.html?1-1000]
  expected:
    if (os == "android") and fission: [TIMEOUT, OK]
  [[["stylewithcss","true"\],["italic",""\]\] "<span>[foo</span> <span>bar\]</span>" queryCommandIndeterm("italic") before]
    expected: FAIL

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

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

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

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

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

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

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

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

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

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

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

  [[["stylewithcss","true"\],["italic",""\]\] "foo<address>[bar\]</address>baz" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","true"\],["italic",""\]\] "foo<address>[bar\]</address>baz" queryCommandState("italic") after]
    expected: FAIL

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

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

  [[["stylewithcss","true"\],["italic",""\]\] "foo<cite>[bar\]</cite>baz" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","true"\],["italic",""\]\] "foo<cite>[bar\]</cite>baz" queryCommandState("italic") after]
    expected: FAIL

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

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

  [[["stylewithcss","true"\],["italic",""\]\] "foo<dfn>[bar\]</dfn>baz" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","true"\],["italic",""\]\] "foo<dfn>[bar\]</dfn>baz" queryCommandState("italic") after]
    expected: FAIL

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

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

  [[["stylewithcss","true"\],["italic",""\]\] "foo<var>[bar\]</var>baz" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","true"\],["italic",""\]\] "foo<var>[bar\]</var>baz" queryCommandState("italic") after]
    expected: FAIL

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

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

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

  [[["stylewithcss","true"\],["italic",""\]\] "foo{<address>bar</address>}baz" queryCommandState("italic") after]
    expected: FAIL

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

  [[["stylewithcss","false"\],["italic",""\]\] "foo{<address>bar</address>}baz" queryCommandState("italic") after]
    expected: FAIL

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

  [[["stylewithcss","true"\],["italic",""\]\] "foo{<cite>bar</cite>}baz" queryCommandState("italic") after]
    expected: FAIL

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

  [[["stylewithcss","false"\],["italic",""\]\] "foo{<cite>bar</cite>}baz" queryCommandState("italic") after]
    expected: FAIL

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

  [[["stylewithcss","true"\],["italic",""\]\] "foo{<dfn>bar</dfn>}baz" queryCommandState("italic") after]
    expected: FAIL

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

  [[["stylewithcss","false"\],["italic",""\]\] "foo{<dfn>bar</dfn>}baz" queryCommandState("italic") after]
    expected: FAIL

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

  [[["stylewithcss","true"\],["italic",""\]\] "foo{<var>bar</var>}baz" queryCommandState("italic") after]
    expected: FAIL

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

  [[["stylewithcss","false"\],["italic",""\]\] "foo{<var>bar</var>}baz" queryCommandState("italic") after]
    expected: FAIL

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

  [[["stylewithcss","true"\],["italic",""\]\] "foo<address>b[a\]r</address>baz" queryCommandState("italic") after]
    expected: FAIL

  [[["stylewithcss","false"\],["italic",""\]\] "foo<address>b[a\]r</address>baz" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","false"\],["italic",""\]\] "foo<address>b[a\]r</address>baz" queryCommandState("italic") after]
    expected: FAIL

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

  [[["stylewithcss","true"\],["italic",""\]\] "foo<cite>b[a\]r</cite>baz" queryCommandState("italic") after]
    expected: FAIL

  [[["stylewithcss","false"\],["italic",""\]\] "foo<cite>b[a\]r</cite>baz" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","false"\],["italic",""\]\] "foo<cite>b[a\]r</cite>baz" queryCommandState("italic") after]
    expected: FAIL

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

  [[["stylewithcss","true"\],["italic",""\]\] "foo<dfn>b[a\]r</dfn>baz" queryCommandState("italic") after]
    expected: FAIL

  [[["stylewithcss","false"\],["italic",""\]\] "foo<dfn>b[a\]r</dfn>baz" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","false"\],["italic",""\]\] "foo<dfn>b[a\]r</dfn>baz" queryCommandState("italic") after]
    expected: FAIL

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

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

  [[["stylewithcss","true"\],["italic",""\]\] "foo<var>b[a\]r</var>baz" queryCommandState("italic") after]
    expected: FAIL

  [[["stylewithcss","false"\],["italic",""\]\] "foo<var>b[a\]r</var>baz" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","false"\],["italic",""\]\] "foo<var>b[a\]r</var>baz" queryCommandState("italic") after]
    expected: FAIL


[italic.html?1001-2000]
  expected:
    if (os == "android") and fission: [OK, TIMEOUT]
  [[["stylewithcss","true"\],["italic",""\]\] "<i>{<p>foo</p><p>bar</p>}<p>baz</p></i>" compare innerHTML]
    expected: FAIL

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

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

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

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

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

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

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

  [[["stylewithcss","true"\],["italic",""\]\] "fo[o<span style=font-style:oblique>b\]ar</span>baz" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","true"\],["italic",""\]\] "fo[o<span style=font-style:oblique>b\]ar</span>baz" queryCommandIndeterm("italic") after]
    expected: FAIL

  [[["stylewithcss","true"\],["italic",""\]\] "fo[o<span style=font-style:oblique>b\]ar</span>baz" queryCommandState("italic") after]
    expected: FAIL

  [[["stylewithcss","false"\],["italic",""\]\] "fo[o<span style=font-style:oblique>b\]ar</span>baz" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","false"\],["italic",""\]\] "fo[o<span style=font-style:oblique>b\]ar</span>baz" queryCommandIndeterm("italic") after]
    expected: FAIL

  [[["stylewithcss","false"\],["italic",""\]\] "fo[o<span style=font-style:oblique>b\]ar</span>baz" queryCommandState("italic") after]
    expected: FAIL

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

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

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

  [[["stylewithcss","true"\],["italic",""\]\] "<span style=font-style:italic>fo[o</span><span style=font-style:oblique>b\]ar</span>" queryCommandIndeterm("italic") after]
    expected: FAIL

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

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


[italic.html?2001-last]
  expected:
    if (os == "android") and fission: [OK, TIMEOUT]
  [[["stylewithcss","false"\],["italic",""\]\] "<span style=font-style:italic>fo[o</span><span style=font-style:oblique>b\]ar</span>" queryCommandState("italic") before]
    expected: FAIL

  [[["stylewithcss","false"\],["italic",""\]\] "<span style=font-style:italic>fo[o</span><span style=font-style:oblique>b\]ar</span>" queryCommandIndeterm("italic") after]
    expected: FAIL

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

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

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

  [[["stylewithcss","true"\],["italic",""\]\] "<span style=font-style:oblique>fo[o</span><span style=font-style:italic>b\]ar</span>" queryCommandIndeterm("italic") after]
    expected: FAIL

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

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

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

  [[["stylewithcss","false"\],["italic",""\]\] "<span style=font-style:oblique>fo[o</span><span style=font-style:italic>b\]ar</span>" queryCommandIndeterm("italic") after]
    expected: FAIL

  [[["stylewithcss","true"\],["italic",""\]\] "<i>fo[o</i><address>b\]ar</address>" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","true"\],["italic",""\]\] "<i>fo[o</i><address>b\]ar</address>" queryCommandIndeterm("italic") after]
    expected: FAIL

  [[["stylewithcss","false"\],["italic",""\]\] "<i>fo[o</i><address>b\]ar</address>" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","false"\],["italic",""\]\] "<i>fo[o</i><address>b\]ar</address>" queryCommandIndeterm("italic") after]
    expected: FAIL
