[removeformat.html]
  type: testharness
  [[["stylewithcss","true"\],["removeformat",""\]\] "foo<b id=foo>b[a\]r</b>baz" compare innerHTML]
    expected: FAIL

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

  [[["removeformat",""\]\] "[foo<del>bar</del>baz\]" compare innerHTML]
    expected: FAIL

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

  [[["removeformat",""\]\] "[foo<nobr>bar</nobr>baz\]" compare innerHTML]
    expected: FAIL

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

  [[["removeformat",""\]\] "[foo<svg><circle fill=blue r=20 cx=20 cy=20 /></svg>bar\]" compare innerHTML]
    expected: FAIL

  [[["removeformat",""\]\] "[foo<nonexistentelement>bar</nonexistentelement>baz\]" compare innerHTML]
    expected: FAIL

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

  [[["removeformat",""\]\] "[foo<nonexistentelement style=\\"display: block\\">bar</nonexistentelement>baz\]" compare innerHTML]
    expected: FAIL

  [[["removeformat",""\]\] "foo<nonexistentelement style=\\"display: block\\">b[a\]r</nonexistentelement>baz" compare innerHTML]
    expected: FAIL

  [[["removeformat",""\]\] "foo<span id=foo>b[a\]r</span>baz" compare innerHTML]
    expected: FAIL

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

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

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

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

