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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

