[delete.html]
  type: testharness
  prefs: [editor.use_div_for_default_newlines: true]
  [[["stylewithcss","true"\],["delete",""\]\] "foo<span style=display:none>bar</span>[\]baz" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","false"\],["delete",""\]\] "foo<span style=display:none>bar</span>[\]baz" compare innerHTML]
    expected: FAIL

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

  [[["delete",""\]\] "foo<br><br><p>[\]bar</p>" compare innerHTML]
    expected: FAIL

  [[["defaultparagraphseparator","div"\],["delete",""\]\] "foo<div><p>[\]bar</p></div>" compare innerHTML]
    expected: FAIL

  [[["defaultparagraphseparator","p"\],["delete",""\]\] "foo<div><p>[\]bar</p></div>" compare innerHTML]
    expected: FAIL

  [[["delete",""\]\] "foo<hr>[\]bar" compare innerHTML]
    expected: FAIL

  [[["delete",""\]\] "<p>foo<hr><p>[\]bar" compare innerHTML]
    expected: FAIL

  [[["delete",""\]\] "<p>foo</p><br><p>[\]bar</p>" compare innerHTML]
    expected: FAIL

  [[["delete",""\]\] "<p>foo</p><br><br><p>[\]bar</p>" compare innerHTML]
    expected: FAIL

  [[["delete",""\]\] "<a>foo</a>[\]bar" compare innerHTML]
    expected: FAIL

  [[["delete",""\]\] "<a href=/>foo</a>[\]bar" compare innerHTML]
    expected: FAIL

  [[["delete",""\]\] "<a name=abc>foo</a>[\]bar" compare innerHTML]
    expected: FAIL

  [[["delete",""\]\] "<a href=/ name=abc>foo</a>[\]bar" compare innerHTML]
    expected: FAIL

  [[["delete",""\]\] "<span><a>foo</a></span>[\]bar" compare innerHTML]
    expected: FAIL

  [[["delete",""\]\] "<span><a href=/>foo</a></span>[\]bar" compare innerHTML]
    expected: FAIL

  [[["delete",""\]\] "<span><a name=abc>foo</a></span>[\]bar" compare innerHTML]
    expected: FAIL

  [[["delete",""\]\] "<span><a href=/ name=abc>foo</a></span>[\]bar" compare innerHTML]
    expected: FAIL

  [[["delete",""\]\] "foo &nbsp;[\]" compare innerHTML]
    expected: FAIL

  [[["delete",""\]\] "foo <span>&nbsp;</span>[\] bar" compare innerHTML]
    expected: FAIL

  [[["delete",""\]\] "foo <span>&nbsp;</span> [\]bar" compare innerHTML]
    expected: FAIL

  [[["delete",""\]\] "<pre>foo&nbsp; [\]bar</pre>" compare innerHTML]
    expected: FAIL

  [[["delete",""\]\] "<div style=white-space:pre>foo&nbsp; [\]bar</div>" compare innerHTML]
    expected: FAIL

  [[["delete",""\]\] "<div style=white-space:pre-wrap>foo&nbsp; [\]bar</div>" compare innerHTML]
    expected: FAIL

  [[["delete",""\]\] "<div style=white-space:pre-line>foo &nbsp;[\]</div>" compare innerHTML]
    expected: FAIL

  [[["delete",""\]\] "<div style=white-space:nowrap>foo &nbsp;[\]</div>" compare innerHTML]
    expected: FAIL

  [[["delete",""\]\] "foo<br><table><tr><td>[\]bar</table>baz" compare innerHTML]
    expected: FAIL

  [[["delete",""\]\] "<table><tr><td>foo<br><td>[\]bar</table>" compare innerHTML]
    expected: FAIL

  [[["delete",""\]\] "<table><tr><td>foo<br><tr><td>[\]bar</table>" compare innerHTML]
    expected: FAIL

  [[["defaultparagraphseparator","div"\],["delete",""\]\] "foo<ol><li>[\]bar<li>baz</ol>" compare innerHTML]
    expected: FAIL

  [[["defaultparagraphseparator","p"\],["delete",""\]\] "foo<ol><li>[\]bar<li>baz</ol>" compare innerHTML]
    expected: FAIL

  [[["defaultparagraphseparator","div"\],["delete",""\]\] "foo<br><ol><li>[\]bar<li>baz</ol>" compare innerHTML]
    expected: FAIL

  [[["defaultparagraphseparator","p"\],["delete",""\]\] "foo<br><ol><li>[\]bar<li>baz</ol>" compare innerHTML]
    expected: FAIL

  [[["defaultparagraphseparator","div"\],["delete",""\]\] "foo<br><br><ol><li>[\]bar<li>baz</ol>" compare innerHTML]
    expected: FAIL

  [[["defaultparagraphseparator","p"\],["delete",""\]\] "foo<br><br><ol><li>[\]bar<li>baz</ol>" compare innerHTML]
    expected: FAIL

  [[["delete",""\]\] "<ol><li>foo<li>[\]bar</ol>" compare innerHTML]
    expected: FAIL

  [[["delete",""\]\] "<ol><li>foo<br><li>[\]bar</ol>" compare innerHTML]
    expected: FAIL

  [[["delete",""\]\] "<ol><li>foo<br><br><li>[\]bar</ol>" compare innerHTML]
    expected: FAIL

  [[["delete",""\]\] "<ol><li>foo<li>[\]bar<br>baz</ol>" compare innerHTML]
    expected: FAIL

  [[["delete",""\]\] "<ol><li>foo<br>bar<li>[\]baz</ol>" compare innerHTML]
    expected: FAIL

  [[["delete",""\]\] "<ol><li><p>foo<li>[\]bar</ol>" compare innerHTML]
    expected: FAIL

  [[["delete",""\]\] "<ol><li><p>foo<li><p>[\]bar</ol>" compare innerHTML]
    expected: FAIL

  [[["delete",""\]\] "<ol><li>foo<ul><li>[\]bar</ul></ol>" compare innerHTML]
    expected: FAIL

  [[["defaultparagraphseparator","div"\],["delete",""\]\] "foo<div><ol><li>[\]bar</ol></div>" compare innerHTML]
    expected: FAIL

  [[["defaultparagraphseparator","p"\],["delete",""\]\] "foo<div><ol><li>[\]bar</ol></div>" compare innerHTML]
    expected: FAIL

  [[["defaultparagraphseparator","div"\],["delete",""\]\] "foo<dl><dt>[\]bar<dd>baz</dl>" compare innerHTML]
    expected: FAIL

  [[["defaultparagraphseparator","p"\],["delete",""\]\] "foo<dl><dt>[\]bar<dd>baz</dl>" compare innerHTML]
    expected: FAIL

  [[["defaultparagraphseparator","div"\],["delete",""\]\] "foo<dl><dd>[\]bar</dl>" compare innerHTML]
    expected: FAIL

  [[["defaultparagraphseparator","p"\],["delete",""\]\] "foo<dl><dd>[\]bar</dl>" compare innerHTML]
    expected: FAIL

  [[["delete",""\]\] "<dl><dt>foo<dd>[\]bar</dl>" compare innerHTML]
    expected: FAIL

  [[["delete",""\]\] "<dl><dt>foo<dt>[\]bar<dd>baz</dl>" compare innerHTML]
    expected: FAIL

  [[["delete",""\]\] "<dl><dt>foo<dd>bar<dd>[\]baz</dl>" compare innerHTML]
    expected: FAIL

  [[["delete",""\]\] "<ol><li>foo<br></ol>{}<br>" compare innerHTML]
    expected: FAIL

  [[["defaultparagraphseparator","div"\],["delete",""\]\] "<ol><li>foo<br></ol><p>{}<br>" compare innerHTML]
    expected: FAIL

  [[["defaultparagraphseparator","p"\],["delete",""\]\] "<ol><li>foo<br></ol><p>{}<br>" compare innerHTML]
    expected: FAIL

  [[["delete",""\]\] "foo<blockquote>[\]bar</blockquote>" compare innerHTML]
    expected: FAIL

  [[["defaultparagraphseparator","div"\],["delete",""\]\] "foo<blockquote style=\\"color: blue\\">[\]bar</blockquote>" compare innerHTML]
    expected: FAIL

  [[["defaultparagraphseparator","p"\],["delete",""\]\] "foo<blockquote style=\\"color: blue\\">[\]bar</blockquote>" compare innerHTML]
    expected: FAIL

  [[["delete",""\]\] "foo<blockquote><blockquote><p>[\]bar<p>baz</blockquote></blockquote>" compare innerHTML]
    expected: FAIL

  [[["delete",""\]\] "foo<blockquote><div><p>[\]bar<p>baz</div></blockquote>" compare innerHTML]
    expected: FAIL

  [[["defaultparagraphseparator","div"\],["delete",""\]\] "foo<blockquote style=\\"color: blue\\"><p>[\]bar<p>baz</blockquote>" compare innerHTML]
    expected: FAIL

  [[["defaultparagraphseparator","p"\],["delete",""\]\] "foo<blockquote style=\\"color: blue\\"><p>[\]bar<p>baz</blockquote>" compare innerHTML]
    expected: FAIL

  [[["delete",""\]\] "foo<blockquote><p><b>[\]bar</b><p>baz</blockquote>" compare innerHTML]
    expected: FAIL

  [[["delete",""\]\] "foo<blockquote><p><strong>[\]bar</strong><p>baz</blockquote>" compare innerHTML]
    expected: FAIL

  [[["delete",""\]\] "foo<blockquote><p><span>[\]bar</span><p>baz</blockquote>" compare innerHTML]
    expected: FAIL

  [[["defaultparagraphseparator","div"\],["delete",""\]\] "foo<blockquote><ol><li>[\]bar</ol></blockquote><p>extra" compare innerHTML]
    expected: FAIL

  [[["defaultparagraphseparator","p"\],["delete",""\]\] "foo<blockquote><ol><li>[\]bar</ol></blockquote><p>extra" compare innerHTML]
    expected: FAIL

  [[["defaultparagraphseparator","div"\],["delete",""\]\] "foo<blockquote>bar<ol><li>[\]baz</ol>quz</blockquote><p>extra" compare innerHTML]
    expected: FAIL

  [[["defaultparagraphseparator","p"\],["delete",""\]\] "foo<blockquote>bar<ol><li>[\]baz</ol>quz</blockquote><p>extra" compare innerHTML]
    expected: FAIL

  [[["delete",""\]\] "foo<span></span>[\]bar" compare innerHTML]
    expected: FAIL

  [[["delete",""\]\] "foo<span><span></span></span>[\]bar" compare innerHTML]
    expected: FAIL

  [[["delete",""\]\] "foo<quasit></quasit>[\]bar" compare innerHTML]
    expected: FAIL

  [[["delete",""\]\] "foo<br><span></span>[\]bar" compare innerHTML]
    expected: FAIL

  [[["delete",""\]\] "<span>foo<span></span></span>[\]bar" compare innerHTML]
    expected: FAIL

  [[["delete",""\]\] "foo<span></span><span>[\]bar</span>" compare innerHTML]
    expected: FAIL

  [[["defaultparagraphseparator","div"\],["delete",""\]\] "foo<div><div><p>[\]bar</div></div>" compare innerHTML]
    expected: FAIL

  [[["defaultparagraphseparator","p"\],["delete",""\]\] "foo<div><div><p>[\]bar</div></div>" compare innerHTML]
    expected: FAIL

  [[["defaultparagraphseparator","div"\],["delete",""\]\] "foo<div><div><p><!--abc-->[\]bar</div></div>" compare innerHTML]
    expected: FAIL

  [[["defaultparagraphseparator","p"\],["delete",""\]\] "foo<div><div><p><!--abc-->[\]bar</div></div>" compare innerHTML]
    expected: FAIL

  [[["defaultparagraphseparator","div"\],["delete",""\]\] "foo<div><div><!--abc--><p>[\]bar</div></div>" compare innerHTML]
    expected: FAIL

  [[["defaultparagraphseparator","p"\],["delete",""\]\] "foo<div><div><!--abc--><p>[\]bar</div></div>" compare innerHTML]
    expected: FAIL

  [[["defaultparagraphseparator","div"\],["delete",""\]\] "foo<div><!--abc--><div><p>[\]bar</div></div>" compare innerHTML]
    expected: FAIL

  [[["defaultparagraphseparator","p"\],["delete",""\]\] "foo<div><!--abc--><div><p>[\]bar</div></div>" compare innerHTML]
    expected: FAIL

  [[["defaultparagraphseparator","div"\],["delete",""\]\] "foo<!--abc--><div><div><p>[\]bar</div></div>" compare innerHTML]
    expected: FAIL

  [[["defaultparagraphseparator","p"\],["delete",""\]\] "foo<!--abc--><div><div><p>[\]bar</div></div>" compare innerHTML]
    expected: FAIL

  [[["delete",""\]\] "<div><div><p>foo</div></div><!--abc-->[\]bar" compare innerHTML]
    expected: FAIL

  [[["delete",""\]\] "<div><div><p>foo</div><!--abc--></div>[\]bar" compare innerHTML]
    expected: FAIL

  [[["delete",""\]\] "<div><div><p>foo</p><!--abc--></div></div>[\]bar" compare innerHTML]
    expected: FAIL

  [[["delete",""\]\] "<div><div><p>foo<!--abc--></div></div>[\]bar" compare innerHTML]
    expected: FAIL

  [[["defaultparagraphseparator","div"\],["delete",""\]\] "<div><div><p>foo<!--abc--></p></div></div><div><div><div>[\]bar</div></div></div>" compare innerHTML]
    expected: FAIL

  [[["defaultparagraphseparator","p"\],["delete",""\]\] "<div><div><p>foo<!--abc--></p></div></div><div><div><div>[\]bar</div></div></div>" compare innerHTML]
    expected: FAIL

  [[["defaultparagraphseparator","div"\],["delete",""\]\] "<div><div><p>foo</p><!--abc--></div></div><div><div><div>[\]bar</div></div></div>" compare innerHTML]
    expected: FAIL

  [[["defaultparagraphseparator","p"\],["delete",""\]\] "<div><div><p>foo</p><!--abc--></div></div><div><div><div>[\]bar</div></div></div>" compare innerHTML]
    expected: FAIL

  [[["defaultparagraphseparator","div"\],["delete",""\]\] "<div><div><p>foo</p></div><!--abc--></div><div><div><div>[\]bar</div></div></div>" compare innerHTML]
    expected: FAIL

  [[["defaultparagraphseparator","p"\],["delete",""\]\] "<div><div><p>foo</p></div><!--abc--></div><div><div><div>[\]bar</div></div></div>" compare innerHTML]
    expected: FAIL

  [[["defaultparagraphseparator","div"\],["delete",""\]\] "<div><div><p>foo</p></div></div><!--abc--><div><div><div>[\]bar</div></div></div>" compare innerHTML]
    expected: FAIL

  [[["defaultparagraphseparator","p"\],["delete",""\]\] "<div><div><p>foo</p></div></div><!--abc--><div><div><div>[\]bar</div></div></div>" compare innerHTML]
    expected: FAIL

  [[["defaultparagraphseparator","div"\],["delete",""\]\] "<div><div><p>foo</p></div></div><div><div><div><!--abc-->[\]bar</div></div></div>" compare innerHTML]
    expected: FAIL

  [[["defaultparagraphseparator","p"\],["delete",""\]\] "<div><div><p>foo</p></div></div><div><div><div><!--abc-->[\]bar</div></div></div>" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","true"\],["defaultparagraphseparator","div"\],["delete",""\]\] "<p style=color:blue>foo<p>[\]bar" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","false"\],["defaultparagraphseparator","div"\],["delete",""\]\] "<p style=color:blue>foo<p>[\]bar" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","true"\],["defaultparagraphseparator","p"\],["delete",""\]\] "<p style=color:blue>foo<p>[\]bar" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","false"\],["defaultparagraphseparator","p"\],["delete",""\]\] "<p style=color:blue>foo<p>[\]bar" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","true"\],["defaultparagraphseparator","div"\],["delete",""\]\] "<p style=color:blue>foo<p style=color:brown>[\]bar" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","false"\],["defaultparagraphseparator","div"\],["delete",""\]\] "<p style=color:blue>foo<p style=color:brown>[\]bar" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","true"\],["defaultparagraphseparator","p"\],["delete",""\]\] "<p style=color:blue>foo<p style=color:brown>[\]bar" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","false"\],["defaultparagraphseparator","p"\],["delete",""\]\] "<p style=color:blue>foo<p style=color:brown>[\]bar" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","true"\],["defaultparagraphseparator","div"\],["delete",""\]\] "<p>foo<p style=color:brown>[\]bar" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","false"\],["defaultparagraphseparator","div"\],["delete",""\]\] "<p>foo<p style=color:brown>[\]bar" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","true"\],["defaultparagraphseparator","p"\],["delete",""\]\] "<p>foo<p style=color:brown>[\]bar" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","false"\],["defaultparagraphseparator","p"\],["delete",""\]\] "<p>foo<p style=color:brown>[\]bar" compare innerHTML]
    expected: FAIL

  [[["defaultparagraphseparator","div"\],["delete",""\]\] "<p><font color=blue>foo</font><p><font color=brown>[\]bar</font>" compare innerHTML]
    expected: FAIL

  [[["defaultparagraphseparator","p"\],["delete",""\]\] "<p><font color=blue>foo</font><p><font color=brown>[\]bar</font>" compare innerHTML]
    expected: FAIL

  [[["defaultparagraphseparator","div"\],["delete",""\]\] "<p style=background-color:aqua>foo<p>[\]bar" compare innerHTML]
    expected: FAIL

  [[["defaultparagraphseparator","p"\],["delete",""\]\] "<p style=background-color:aqua>foo<p>[\]bar" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","true"\],["defaultparagraphseparator","div"\],["delete",""\]\] "<p style=background-color:aqua>foo<p style=background-color:tan>[\]bar" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","false"\],["defaultparagraphseparator","div"\],["delete",""\]\] "<p style=background-color:aqua>foo<p style=background-color:tan>[\]bar" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","true"\],["defaultparagraphseparator","p"\],["delete",""\]\] "<p style=background-color:aqua>foo<p style=background-color:tan>[\]bar" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","false"\],["defaultparagraphseparator","p"\],["delete",""\]\] "<p style=background-color:aqua>foo<p style=background-color:tan>[\]bar" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","true"\],["defaultparagraphseparator","div"\],["delete",""\]\] "<p>foo<p style=background-color:tan>[\]bar" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","false"\],["defaultparagraphseparator","div"\],["delete",""\]\] "<p>foo<p style=background-color:tan>[\]bar" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","true"\],["defaultparagraphseparator","p"\],["delete",""\]\] "<p>foo<p style=background-color:tan>[\]bar" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","false"\],["defaultparagraphseparator","p"\],["delete",""\]\] "<p>foo<p style=background-color:tan>[\]bar" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","true"\],["defaultparagraphseparator","div"\],["delete",""\]\] "<p style=text-decoration:underline>foo<p>[\]bar" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","false"\],["defaultparagraphseparator","div"\],["delete",""\]\] "<p style=text-decoration:underline>foo<p>[\]bar" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","true"\],["defaultparagraphseparator","p"\],["delete",""\]\] "<p style=text-decoration:underline>foo<p>[\]bar" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","false"\],["defaultparagraphseparator","p"\],["delete",""\]\] "<p style=text-decoration:underline>foo<p>[\]bar" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","true"\],["defaultparagraphseparator","div"\],["delete",""\]\] "<p style=text-decoration:underline>foo<p style=text-decoration:line-through>[\]bar" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","false"\],["defaultparagraphseparator","div"\],["delete",""\]\] "<p style=text-decoration:underline>foo<p style=text-decoration:line-through>[\]bar" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","true"\],["defaultparagraphseparator","p"\],["delete",""\]\] "<p style=text-decoration:underline>foo<p style=text-decoration:line-through>[\]bar" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","false"\],["defaultparagraphseparator","p"\],["delete",""\]\] "<p style=text-decoration:underline>foo<p style=text-decoration:line-through>[\]bar" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","true"\],["defaultparagraphseparator","div"\],["delete",""\]\] "<p>foo<p style=text-decoration:line-through>[\]bar" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","false"\],["defaultparagraphseparator","div"\],["delete",""\]\] "<p>foo<p style=text-decoration:line-through>[\]bar" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","true"\],["defaultparagraphseparator","p"\],["delete",""\]\] "<p>foo<p style=text-decoration:line-through>[\]bar" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","false"\],["defaultparagraphseparator","p"\],["delete",""\]\] "<p>foo<p style=text-decoration:line-through>[\]bar" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","true"\],["delete",""\]\] "<p style=color:blue>foo</p>[\]bar" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","false"\],["delete",""\]\] "<p style=color:blue>foo</p>[\]bar" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","true"\],["defaultparagraphseparator","div"\],["delete",""\]\] "foo<p style=color:brown>[\]bar" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","false"\],["defaultparagraphseparator","div"\],["delete",""\]\] "foo<p style=color:brown>[\]bar" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","true"\],["defaultparagraphseparator","p"\],["delete",""\]\] "foo<p style=color:brown>[\]bar" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","false"\],["defaultparagraphseparator","p"\],["delete",""\]\] "foo<p style=color:brown>[\]bar" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","true"\],["delete",""\]\] "<div style=color:blue><p style=color:green>foo</div>[\]bar" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","false"\],["delete",""\]\] "<div style=color:blue><p style=color:green>foo</div>[\]bar" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","true"\],["defaultparagraphseparator","div"\],["delete",""\]\] "<div style=color:blue><p style=color:green>foo</div><p style=color:brown>[\]bar" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","false"\],["defaultparagraphseparator","div"\],["delete",""\]\] "<div style=color:blue><p style=color:green>foo</div><p style=color:brown>[\]bar" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","true"\],["defaultparagraphseparator","p"\],["delete",""\]\] "<div style=color:blue><p style=color:green>foo</div><p style=color:brown>[\]bar" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","false"\],["defaultparagraphseparator","p"\],["delete",""\]\] "<div style=color:blue><p style=color:green>foo</div><p style=color:brown>[\]bar" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","true"\],["defaultparagraphseparator","div"\],["delete",""\]\] "<p style=color:blue>foo<div style=color:brown><p style=color:green>[\]bar" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","false"\],["defaultparagraphseparator","div"\],["delete",""\]\] "<p style=color:blue>foo<div style=color:brown><p style=color:green>[\]bar" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","true"\],["defaultparagraphseparator","p"\],["delete",""\]\] "<p style=color:blue>foo<div style=color:brown><p style=color:green>[\]bar" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","false"\],["defaultparagraphseparator","p"\],["delete",""\]\] "<p style=color:blue>foo<div style=color:brown><p style=color:green>[\]bar" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","true"\],["delete",""\]\] "<p>[foo<span style=color:#aBcDeF>bar\]</span>baz" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","false"\],["delete",""\]\] "<p>[foo<span style=color:#aBcDeF>bar\]</span>baz" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","true"\],["delete",""\]\] "<p>{foo<span style=color:#aBcDeF>bar}</span>baz" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","false"\],["delete",""\]\] "<p>{foo<span style=color:#aBcDeF>bar}</span>baz" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","true"\],["delete",""\]\] "<p>foo<span style=color:#aBcDeF>[bar</span><span style=color:#fEdCbA>baz\]</span>quz" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","false"\],["delete",""\]\] "<p>foo<span style=color:#aBcDeF>[bar</span><span style=color:#fEdCbA>baz\]</span>quz" compare innerHTML]
    expected: FAIL

  [[["delete",""\]\] "<p>foo</p><p>{bar</p>}<p>baz</p>" compare innerHTML]
    expected: FAIL

  [[["defaultparagraphseparator","div"\],["delete",""\]\] "<p>foo</p>{<p>bar</p>}<p>baz</p>" compare innerHTML]
    expected: FAIL

  [[["defaultparagraphseparator","p"\],["delete",""\]\] "<p>foo</p>{<p>bar</p>}<p>baz</p>" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","true"\],["defaultparagraphseparator","div"\],["delete",""\]\] "<p>foo[bar<p style=color:blue>baz\]quz" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","false"\],["defaultparagraphseparator","div"\],["delete",""\]\] "<p>foo[bar<p style=color:blue>baz\]quz" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","true"\],["defaultparagraphseparator","p"\],["delete",""\]\] "<p>foo[bar<p style=color:blue>baz\]quz" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","false"\],["defaultparagraphseparator","p"\],["delete",""\]\] "<p>foo[bar<p style=color:blue>baz\]quz" compare innerHTML]
    expected: FAIL

  [[["defaultparagraphseparator","div"\],["delete",""\]\] "<div><p>foo<p>[bar<p>baz\]</div>" compare innerHTML]
    expected: FAIL

  [[["defaultparagraphseparator","p"\],["delete",""\]\] "<div><p>foo<p>[bar<p>baz\]</div>" compare innerHTML]
    expected: FAIL

  [[["delete",""\]\] "foo[<p>\]bar<br>baz</p>" compare innerHTML]
    expected: FAIL

  [[["defaultparagraphseparator","div"\],["delete",""\]\] "foo[<p>\]bar</p>baz" compare innerHTML]
    expected: FAIL

  [[["defaultparagraphseparator","p"\],["delete",""\]\] "foo[<p>\]bar</p>baz" compare innerHTML]
    expected: FAIL

  [[["delete",""\]\] "foo<p>{bar</p>}baz" compare innerHTML]
    expected: FAIL

  [[["defaultparagraphseparator","div"\],["delete",""\]\] "foo{<p>bar}</p>baz" compare innerHTML]
    expected: FAIL

  [[["defaultparagraphseparator","p"\],["delete",""\]\] "foo{<p>bar}</p>baz" compare innerHTML]
    expected: FAIL

  [[["delete",""\]\] "<p>foo[</p>\]bar<br>baz" compare innerHTML]
    expected: FAIL

  [[["defaultparagraphseparator","div"\],["delete",""\]\] "foo[<div><p>\]bar</div>" compare innerHTML]
    expected: FAIL

  [[["defaultparagraphseparator","p"\],["delete",""\]\] "foo[<div><p>\]bar</div>" compare innerHTML]
    expected: FAIL

  [[["defaultparagraphseparator","div"\],["delete",""\]\] "<p>foo<br>{</p><p>}bar</p>" compare innerHTML]
    expected: FAIL

  [[["defaultparagraphseparator","p"\],["delete",""\]\] "<p>foo<br>{</p><p>}bar</p>" compare innerHTML]
    expected: FAIL

  [[["defaultparagraphseparator","div"\],["delete",""\]\] "<p>foo<br><br>{</p><p>}bar</p>" compare innerHTML]
    expected: FAIL

  [[["defaultparagraphseparator","p"\],["delete",""\]\] "<p>foo<br><br>{</p><p>}bar</p>" compare innerHTML]
    expected: FAIL

  [[["delete",""\]\] "<ol><li>fo[o</ol><ol><li>b\]ar</ol>" compare innerHTML]
    expected: FAIL

  [[["delete",""\]\] "<ol><li>fo[o</ol><ul><li>b\]ar</ul>" compare innerHTML]
    expected: FAIL

  [[["delete",""\]\] "<b>foo [&nbsp;</b>bar\]" compare innerHTML]
    expected: FAIL

  [[["delete",""\]\] "foo<b> [&nbsp;bar\]</b>" compare innerHTML]
    expected: FAIL

  [[["delete",""\]\] "<p style=display:inline>fo[o<p style=display:inline>b\]ar" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","true"\],["delete",""\]\] "<span style=display:block>fo[o</span><span style=display:block>b\]ar</span>" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","false"\],["delete",""\]\] "<span style=display:block>fo[o</span><span style=display:block>b\]ar</span>" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","true"\],["delete",""\]\] "<quasit style=display:block>fo[o</quasit><quasit style=display:block>b\]ar</quasit>" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","false"\],["delete",""\]\] "<quasit style=display:block>fo[o</quasit><quasit style=display:block>b\]ar</quasit>" compare innerHTML]
    expected: FAIL

  [[["delete",""\]\] "<ol><li>foo</ol>{}<br><ol><li>bar</ol>" compare innerHTML]
    expected: FAIL

  [[["defaultparagraphseparator","div"\],["delete",""\]\] "<ol><li>foo</ol><p>{}<br></p><ol><li>bar</ol>" compare innerHTML]
    expected: FAIL

  [[["defaultparagraphseparator","p"\],["delete",""\]\] "<ol><li>foo</ol><p>{}<br></p><ol><li>bar</ol>" compare innerHTML]
    expected: FAIL

  [[["defaultparagraphseparator","div"\],["delete",""\]\] "<ol><li><p>foo</ol><p>{}<br></p><ol><li>bar</ol>" compare innerHTML]
    expected: FAIL

  [[["defaultparagraphseparator","p"\],["delete",""\]\] "<ol><li><p>foo</ol><p>{}<br></p><ol><li>bar</ol>" compare innerHTML]
    expected: FAIL

  [[["delete",""\]\] "<ol id=a><li>foo</ol>{}<br><ol><li>bar</ol>" compare innerHTML]
    expected: FAIL

  [[["delete",""\]\] "<ol><li>foo</ol>{}<br><ol id=b><li>bar</ol>" compare innerHTML]
    expected: FAIL

  [[["delete",""\]\] "<ol id=a><li>foo</ol>{}<br><ol id=b><li>bar</ol>" compare innerHTML]
    expected: FAIL

  [[["delete",""\]\] "<ol class=a><li>foo</ol>{}<br><ol class=b><li>bar</ol>" compare innerHTML]
    expected: FAIL

  [[["delete",""\]\] "<ol><ol><li>foo</ol><li>{}<br></li><ol><li>bar</ol></ol>" compare innerHTML]
    expected: FAIL

  [[["delete",""\]\] "<ol><li>foo[</ol>bar\]<ol><li>baz</ol>" compare innerHTML]
    expected: FAIL

  [[["defaultparagraphseparator","div"\],["delete",""\]\] "<ol><li>foo[</ol><p>bar\]<ol><li>baz</ol>" compare innerHTML]
    expected: FAIL

  [[["defaultparagraphseparator","p"\],["delete",""\]\] "<ol><li>foo[</ol><p>bar\]<ol><li>baz</ol>" compare innerHTML]
    expected: FAIL

  [[["defaultparagraphseparator","div"\],["delete",""\]\] "<ol><li><p>foo[</ol><p>bar\]<ol><li>baz</ol>" compare innerHTML]
    expected: FAIL

  [[["defaultparagraphseparator","p"\],["delete",""\]\] "<ol><li><p>foo[</ol><p>bar\]<ol><li>baz</ol>" compare innerHTML]
    expected: FAIL

  [[["delete",""\]\] "<ol><li>foo</ol><p>[bar<ol><li>\]baz</ol>" compare innerHTML]
    expected: FAIL

  [[["defaultparagraphseparator","div"\],["delete",""\]\] "<ol><li>foo</ol><p>[bar<ol><li><p>\]baz</ol>" compare innerHTML]
    expected: FAIL

  [[["defaultparagraphseparator","p"\],["delete",""\]\] "<ol><li>foo</ol><p>[bar<ol><li><p>\]baz</ol>" compare innerHTML]
    expected: FAIL

  [[["delete",""\]\] "<ol><ol><li>foo[</ol><li>bar</ol>baz\]<ol><li>quz</ol>" compare innerHTML]
    expected: FAIL

  [[["delete",""\]\] "<ul><li>foo</ul>{}<br><ul><li>bar</ul>" compare innerHTML]
    expected: FAIL

  [[["defaultparagraphseparator","div"\],["delete",""\]\] "<ul><li>foo</ul><p>{}<br></p><ul><li>bar</ul>" compare innerHTML]
    expected: FAIL

  [[["defaultparagraphseparator","p"\],["delete",""\]\] "<ul><li>foo</ul><p>{}<br></p><ul><li>bar</ul>" compare innerHTML]
    expected: FAIL

  [[["delete",""\]\] "<ol><li>foo[<li>bar\]</ol><ol><li>baz</ol><ol><li>quz</ol>" compare innerHTML]
    expected: FAIL

  [[["delete",""\]\] "<p><b>[foo\]</b>" compare innerHTML]
    expected: FAIL

  [[["delete",""\]\] "<p><b><i>[foo\]</i></b>" compare innerHTML]
    expected: FAIL

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

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

  [[["delete",""\]\] "<p><b>f[\]</b>" compare innerHTML]
    expected: FAIL

  [[["delete",""\]\] "<b>[foo\]</b>" compare innerHTML]
    expected: FAIL

  [[["delete",""\]\] "<div><b>[foo\]</b></div>" compare innerHTML]
    expected: FAIL

