[superscript.html]
  type: testharness
  [[["superscript",""\]\] "<span>foo[</span><span>\]bar</span>" queryCommandState("superscript") after]
    expected: FAIL

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

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

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

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

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

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

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

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

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

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

  [[["superscript",""\]\] "foo<sup><sup>b[a\]r</sup></sup>baz" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","true"\],["superscript",""\]\] "foo<sub><sup>[bar\]</sup></sub>baz" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","true"\],["superscript",""\]\] "foo<sub><sup>[bar\]</sup></sub>baz" queryCommandIndeterm("superscript") before]
    expected: FAIL

  [[["stylewithcss","true"\],["superscript",""\]\] "foo<sub><sup>[bar\]</sup></sub>baz" queryCommandState("superscript") before]
    expected: FAIL

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

  [[["stylewithcss","false"\],["superscript",""\]\] "foo<sub><sup>[bar\]</sup></sub>baz" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","false"\],["superscript",""\]\] "foo<sub><sup>[bar\]</sup></sub>baz" queryCommandIndeterm("superscript") before]
    expected: FAIL

  [[["stylewithcss","false"\],["superscript",""\]\] "foo<sub><sup>[bar\]</sup></sub>baz" queryCommandState("superscript") before]
    expected: FAIL

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

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

  [[["stylewithcss","true"\],["superscript",""\]\] "foo<sub><sup>b[a\]r</sup></sub>baz" queryCommandIndeterm("superscript") before]
    expected: FAIL

  [[["stylewithcss","true"\],["superscript",""\]\] "foo<sub><sup>b[a\]r</sup></sub>baz" queryCommandState("superscript") before]
    expected: FAIL

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

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

  [[["stylewithcss","false"\],["superscript",""\]\] "foo<sub><sup>b[a\]r</sup></sub>baz" queryCommandIndeterm("superscript") before]
    expected: FAIL

  [[["stylewithcss","false"\],["superscript",""\]\] "foo<sub><sup>b[a\]r</sup></sub>baz" queryCommandState("superscript") before]
    expected: FAIL

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

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

  [[["stylewithcss","true"\],["superscript",""\]\] "foo<sub>b<sup>[a\]</sup>r</sub>baz" queryCommandIndeterm("superscript") before]
    expected: FAIL

  [[["stylewithcss","true"\],["superscript",""\]\] "foo<sub>b<sup>[a\]</sup>r</sub>baz" queryCommandState("superscript") before]
    expected: FAIL

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

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

  [[["stylewithcss","false"\],["superscript",""\]\] "foo<sub>b<sup>[a\]</sup>r</sub>baz" queryCommandIndeterm("superscript") before]
    expected: FAIL

  [[["stylewithcss","false"\],["superscript",""\]\] "foo<sub>b<sup>[a\]</sup>r</sub>baz" queryCommandState("superscript") before]
    expected: FAIL

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

  [[["stylewithcss","true"\],["superscript",""\]\] "foo<sup><sub>[bar\]</sub></sup>baz" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","true"\],["superscript",""\]\] "foo<sup><sub>[bar\]</sub></sup>baz" queryCommandIndeterm("superscript") before]
    expected: FAIL

  [[["stylewithcss","true"\],["superscript",""\]\] "foo<sup><sub>[bar\]</sub></sup>baz" queryCommandState("superscript") before]
    expected: FAIL

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

  [[["stylewithcss","false"\],["superscript",""\]\] "foo<sup><sub>[bar\]</sub></sup>baz" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","false"\],["superscript",""\]\] "foo<sup><sub>[bar\]</sub></sup>baz" queryCommandIndeterm("superscript") before]
    expected: FAIL

  [[["stylewithcss","false"\],["superscript",""\]\] "foo<sup><sub>[bar\]</sub></sup>baz" queryCommandState("superscript") before]
    expected: FAIL

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

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

  [[["stylewithcss","true"\],["superscript",""\]\] "foo<sup><sub>b[a\]r</sub></sup>baz" queryCommandIndeterm("superscript") before]
    expected: FAIL

  [[["stylewithcss","true"\],["superscript",""\]\] "foo<sup><sub>b[a\]r</sub></sup>baz" queryCommandState("superscript") before]
    expected: FAIL

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

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

  [[["stylewithcss","false"\],["superscript",""\]\] "foo<sup><sub>b[a\]r</sub></sup>baz" queryCommandIndeterm("superscript") before]
    expected: FAIL

  [[["stylewithcss","false"\],["superscript",""\]\] "foo<sup><sub>b[a\]r</sub></sup>baz" queryCommandState("superscript") before]
    expected: FAIL

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

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

  [[["stylewithcss","true"\],["superscript",""\]\] "foo<sup>b<sub>[a\]</sub>r</sup>baz" queryCommandIndeterm("superscript") before]
    expected: FAIL

  [[["stylewithcss","true"\],["superscript",""\]\] "foo<sup>b<sub>[a\]</sub>r</sup>baz" queryCommandState("superscript") before]
    expected: FAIL

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

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

  [[["stylewithcss","false"\],["superscript",""\]\] "foo<sup>b<sub>[a\]</sub>r</sup>baz" queryCommandIndeterm("superscript") before]
    expected: FAIL

  [[["stylewithcss","false"\],["superscript",""\]\] "foo<sup>b<sub>[a\]</sub>r</sup>baz" queryCommandState("superscript") before]
    expected: FAIL

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

  [[["superscript",""\]\] "<sup>fo[o</sup><sub>b\]ar</sub>" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","true"\],["superscript",""\]\] "foo<sup>[bar\]<br></sup>" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","false"\],["superscript",""\]\] "foo<sup>[bar\]<br></sup>" compare innerHTML]
    expected: FAIL

