[justifycenter.html]
  type: testharness
  [[["stylewithcss","false"\],["defaultparagraphseparator","div"\],["justifycenter",""\]\] "foo[\]bar<p>extra" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","false"\],["defaultparagraphseparator","p"\],["justifycenter",""\]\] "foo[\]bar<p>extra" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","false"\],["defaultparagraphseparator","div"\],["justifycenter",""\]\] "<span>foo</span>{}<span>bar</span><p>extra" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","false"\],["defaultparagraphseparator","p"\],["justifycenter",""\]\] "<span>foo</span>{}<span>bar</span><p>extra" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","false"\],["defaultparagraphseparator","div"\],["justifycenter",""\]\] "<span>foo[</span><span>\]bar</span><p>extra" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","false"\],["defaultparagraphseparator","p"\],["justifycenter",""\]\] "<span>foo[</span><span>\]bar</span><p>extra" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","false"\],["defaultparagraphseparator","div"\],["justifycenter",""\]\] "foo[bar\]baz<p>extra" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","false"\],["defaultparagraphseparator","p"\],["justifycenter",""\]\] "foo[bar\]baz<p>extra" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","false"\],["defaultparagraphseparator","div"\],["justifycenter",""\]\] "foo[bar<b>baz\]qoz</b>quz<p>extra" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","false"\],["defaultparagraphseparator","p"\],["justifycenter",""\]\] "foo[bar<b>baz\]qoz</b>quz<p>extra" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","true"\],["defaultparagraphseparator","div"\],["justifycenter",""\]\] "<p>foo[\]bar<p>extra" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","false"\],["defaultparagraphseparator","div"\],["justifycenter",""\]\] "<p>foo[\]bar<p>extra" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","true"\],["defaultparagraphseparator","p"\],["justifycenter",""\]\] "<p>foo[\]bar<p>extra" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","false"\],["defaultparagraphseparator","p"\],["justifycenter",""\]\] "<p>foo[\]bar<p>extra" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","true"\],["defaultparagraphseparator","div"\],["justifycenter",""\]\] "<p>foo[bar\]baz<p>extra" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","false"\],["defaultparagraphseparator","div"\],["justifycenter",""\]\] "<p>foo[bar\]baz<p>extra" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","true"\],["defaultparagraphseparator","p"\],["justifycenter",""\]\] "<p>foo[bar\]baz<p>extra" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","false"\],["defaultparagraphseparator","p"\],["justifycenter",""\]\] "<p>foo[bar\]baz<p>extra" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","true"\],["defaultparagraphseparator","div"\],["justifycenter",""\]\] "<h1>foo[bar\]baz</h1><p>extra" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","false"\],["defaultparagraphseparator","div"\],["justifycenter",""\]\] "<h1>foo[bar\]baz</h1><p>extra" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","true"\],["defaultparagraphseparator","p"\],["justifycenter",""\]\] "<h1>foo[bar\]baz</h1><p>extra" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","false"\],["defaultparagraphseparator","p"\],["justifycenter",""\]\] "<h1>foo[bar\]baz</h1><p>extra" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","false"\],["defaultparagraphseparator","div"\],["justifycenter",""\]\] "<pre>foo[bar\]baz</pre><p>extra" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","false"\],["defaultparagraphseparator","p"\],["justifycenter",""\]\] "<pre>foo[bar\]baz</pre><p>extra" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","false"\],["defaultparagraphseparator","div"\],["justifycenter",""\]\] "<xmp>foo[bar\]baz</xmp><p>extra" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","false"\],["defaultparagraphseparator","p"\],["justifycenter",""\]\] "<xmp>foo[bar\]baz</xmp><p>extra" compare innerHTML]
    expected: FAIL

  [[["justifycenter",""\]\] "<center><p>[foo\]<p>bar</center><p>extra" compare innerHTML]
    expected: FAIL

  [[["justifycenter",""\]\] "<center><p>[foo\]<p>bar</center><p>extra" queryCommandState("justifycenter") before]
    expected: FAIL

  [[["justifycenter",""\]\] "<center><p>[foo\]<p>bar</center><p>extra" queryCommandValue("justifycenter") before]
    expected: FAIL

  [[["stylewithcss","true"\],["defaultparagraphseparator","div"\],["justifycenter",""\]\] "<center><p>[foo<p>bar\]</center><p>extra" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","true"\],["defaultparagraphseparator","div"\],["justifycenter",""\]\] "<center><p>[foo<p>bar\]</center><p>extra" queryCommandState("justifycenter") before]
    expected: FAIL

  [[["stylewithcss","true"\],["defaultparagraphseparator","div"\],["justifycenter",""\]\] "<center><p>[foo<p>bar\]</center><p>extra" queryCommandValue("justifycenter") before]
    expected: FAIL

  [[["stylewithcss","false"\],["defaultparagraphseparator","div"\],["justifycenter",""\]\] "<center><p>[foo<p>bar\]</center><p>extra" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","true"\],["defaultparagraphseparator","p"\],["justifycenter",""\]\] "<center><p>[foo<p>bar\]</center><p>extra" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","true"\],["defaultparagraphseparator","p"\],["justifycenter",""\]\] "<center><p>[foo<p>bar\]</center><p>extra" queryCommandState("justifycenter") before]
    expected: FAIL

  [[["stylewithcss","true"\],["defaultparagraphseparator","p"\],["justifycenter",""\]\] "<center><p>[foo<p>bar\]</center><p>extra" queryCommandValue("justifycenter") before]
    expected: FAIL

  [[["stylewithcss","false"\],["defaultparagraphseparator","p"\],["justifycenter",""\]\] "<center><p>[foo<p>bar\]</center><p>extra" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","true"\],["defaultparagraphseparator","div"\],["justifycenter",""\]\] "<table><tbody><tr><td>foo<td>b[a\]r<td>baz</table><p>extra" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","false"\],["defaultparagraphseparator","div"\],["justifycenter",""\]\] "<table><tbody><tr><td>foo<td>b[a\]r<td>baz</table><p>extra" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","true"\],["defaultparagraphseparator","p"\],["justifycenter",""\]\] "<table><tbody><tr><td>foo<td>b[a\]r<td>baz</table><p>extra" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","false"\],["defaultparagraphseparator","p"\],["justifycenter",""\]\] "<table><tbody><tr><td>foo<td>b[a\]r<td>baz</table><p>extra" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","true"\],["defaultparagraphseparator","div"\],["justifycenter",""\]\] "<table><tbody><tr data-start=1 data-end=2><td>foo<td>bar<td>baz</table><p>extra" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","false"\],["defaultparagraphseparator","div"\],["justifycenter",""\]\] "<table><tbody><tr data-start=1 data-end=2><td>foo<td>bar<td>baz</table><p>extra" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","true"\],["defaultparagraphseparator","p"\],["justifycenter",""\]\] "<table><tbody><tr data-start=1 data-end=2><td>foo<td>bar<td>baz</table><p>extra" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","false"\],["defaultparagraphseparator","p"\],["justifycenter",""\]\] "<table><tbody><tr data-start=1 data-end=2><td>foo<td>bar<td>baz</table><p>extra" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","true"\],["defaultparagraphseparator","div"\],["justifycenter",""\]\] "<table><tbody><tr data-start=0 data-end=2><td>foo<td>bar<td>baz</table><p>extra" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","false"\],["defaultparagraphseparator","div"\],["justifycenter",""\]\] "<table><tbody><tr data-start=0 data-end=2><td>foo<td>bar<td>baz</table><p>extra" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","true"\],["defaultparagraphseparator","p"\],["justifycenter",""\]\] "<table><tbody><tr data-start=0 data-end=2><td>foo<td>bar<td>baz</table><p>extra" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","false"\],["defaultparagraphseparator","p"\],["justifycenter",""\]\] "<table><tbody><tr data-start=0 data-end=2><td>foo<td>bar<td>baz</table><p>extra" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","true"\],["defaultparagraphseparator","div"\],["justifycenter",""\]\] "<table><tbody data-start=0 data-end=1><tr><td>foo<td>bar<td>baz</table><p>extra" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","true"\],["defaultparagraphseparator","div"\],["justifycenter",""\]\] "<table><tbody data-start=0 data-end=1><tr><td>foo<td>bar<td>baz</table><p>extra" queryCommandState("justifycenter") after]
    expected: FAIL

  [[["stylewithcss","true"\],["defaultparagraphseparator","div"\],["justifycenter",""\]\] "<table><tbody data-start=0 data-end=1><tr><td>foo<td>bar<td>baz</table><p>extra" queryCommandValue("justifycenter") after]
    expected: FAIL

  [[["stylewithcss","false"\],["defaultparagraphseparator","div"\],["justifycenter",""\]\] "<table><tbody data-start=0 data-end=1><tr><td>foo<td>bar<td>baz</table><p>extra" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","true"\],["defaultparagraphseparator","p"\],["justifycenter",""\]\] "<table><tbody data-start=0 data-end=1><tr><td>foo<td>bar<td>baz</table><p>extra" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","true"\],["defaultparagraphseparator","p"\],["justifycenter",""\]\] "<table><tbody data-start=0 data-end=1><tr><td>foo<td>bar<td>baz</table><p>extra" queryCommandState("justifycenter") after]
    expected: FAIL

  [[["stylewithcss","true"\],["defaultparagraphseparator","p"\],["justifycenter",""\]\] "<table><tbody data-start=0 data-end=1><tr><td>foo<td>bar<td>baz</table><p>extra" queryCommandValue("justifycenter") after]
    expected: FAIL

  [[["stylewithcss","false"\],["defaultparagraphseparator","p"\],["justifycenter",""\]\] "<table><tbody data-start=0 data-end=1><tr><td>foo<td>bar<td>baz</table><p>extra" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","true"\],["defaultparagraphseparator","div"\],["justifycenter",""\]\] "<table data-start=0 data-end=1><tbody><tr><td>foo<td>bar<td>baz</table><p>extra" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","true"\],["defaultparagraphseparator","div"\],["justifycenter",""\]\] "<table data-start=0 data-end=1><tbody><tr><td>foo<td>bar<td>baz</table><p>extra" queryCommandState("justifycenter") after]
    expected: FAIL

  [[["stylewithcss","true"\],["defaultparagraphseparator","div"\],["justifycenter",""\]\] "<table data-start=0 data-end=1><tbody><tr><td>foo<td>bar<td>baz</table><p>extra" queryCommandValue("justifycenter") after]
    expected: FAIL

  [[["stylewithcss","false"\],["defaultparagraphseparator","div"\],["justifycenter",""\]\] "<table data-start=0 data-end=1><tbody><tr><td>foo<td>bar<td>baz</table><p>extra" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","true"\],["defaultparagraphseparator","p"\],["justifycenter",""\]\] "<table data-start=0 data-end=1><tbody><tr><td>foo<td>bar<td>baz</table><p>extra" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","true"\],["defaultparagraphseparator","p"\],["justifycenter",""\]\] "<table data-start=0 data-end=1><tbody><tr><td>foo<td>bar<td>baz</table><p>extra" queryCommandState("justifycenter") after]
    expected: FAIL

  [[["stylewithcss","true"\],["defaultparagraphseparator","p"\],["justifycenter",""\]\] "<table data-start=0 data-end=1><tbody><tr><td>foo<td>bar<td>baz</table><p>extra" queryCommandValue("justifycenter") after]
    expected: FAIL

  [[["stylewithcss","false"\],["defaultparagraphseparator","p"\],["justifycenter",""\]\] "<table data-start=0 data-end=1><tbody><tr><td>foo<td>bar<td>baz</table><p>extra" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","true"\],["defaultparagraphseparator","div"\],["justifycenter",""\]\] "{<table><tr><td>foo<td>bar<td>baz</table>}<p>extra" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","true"\],["defaultparagraphseparator","div"\],["justifycenter",""\]\] "{<table><tr><td>foo<td>bar<td>baz</table>}<p>extra" queryCommandState("justifycenter") after]
    expected: FAIL

  [[["stylewithcss","true"\],["defaultparagraphseparator","div"\],["justifycenter",""\]\] "{<table><tr><td>foo<td>bar<td>baz</table>}<p>extra" queryCommandValue("justifycenter") after]
    expected: FAIL

  [[["stylewithcss","false"\],["defaultparagraphseparator","div"\],["justifycenter",""\]\] "{<table><tr><td>foo<td>bar<td>baz</table>}<p>extra" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","true"\],["defaultparagraphseparator","p"\],["justifycenter",""\]\] "{<table><tr><td>foo<td>bar<td>baz</table>}<p>extra" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","true"\],["defaultparagraphseparator","p"\],["justifycenter",""\]\] "{<table><tr><td>foo<td>bar<td>baz</table>}<p>extra" queryCommandState("justifycenter") after]
    expected: FAIL

  [[["stylewithcss","true"\],["defaultparagraphseparator","p"\],["justifycenter",""\]\] "{<table><tr><td>foo<td>bar<td>baz</table>}<p>extra" queryCommandValue("justifycenter") after]
    expected: FAIL

  [[["stylewithcss","false"\],["defaultparagraphseparator","p"\],["justifycenter",""\]\] "{<table><tr><td>foo<td>bar<td>baz</table>}<p>extra" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","true"\],["defaultparagraphseparator","div"\],["justifycenter",""\]\] "<table align=center><tbody><tr><td>foo<td>b[a\]r<td>baz</table><p>extra" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","false"\],["defaultparagraphseparator","div"\],["justifycenter",""\]\] "<table align=center><tbody><tr><td>foo<td>b[a\]r<td>baz</table><p>extra" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","true"\],["defaultparagraphseparator","p"\],["justifycenter",""\]\] "<table align=center><tbody><tr><td>foo<td>b[a\]r<td>baz</table><p>extra" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","false"\],["defaultparagraphseparator","p"\],["justifycenter",""\]\] "<table align=center><tbody><tr><td>foo<td>b[a\]r<td>baz</table><p>extra" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","true"\],["defaultparagraphseparator","div"\],["justifycenter",""\]\] "<table align=center><tbody><tr data-start=1 data-end=2><td>foo<td>bar<td>baz</table><p>extra" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","false"\],["defaultparagraphseparator","div"\],["justifycenter",""\]\] "<table align=center><tbody><tr data-start=1 data-end=2><td>foo<td>bar<td>baz</table><p>extra" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","true"\],["defaultparagraphseparator","p"\],["justifycenter",""\]\] "<table align=center><tbody><tr data-start=1 data-end=2><td>foo<td>bar<td>baz</table><p>extra" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","false"\],["defaultparagraphseparator","p"\],["justifycenter",""\]\] "<table align=center><tbody><tr data-start=1 data-end=2><td>foo<td>bar<td>baz</table><p>extra" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","true"\],["defaultparagraphseparator","div"\],["justifycenter",""\]\] "<table align=center><tbody><tr data-start=0 data-end=2><td>foo<td>bar<td>baz</table><p>extra" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","false"\],["defaultparagraphseparator","div"\],["justifycenter",""\]\] "<table align=center><tbody><tr data-start=0 data-end=2><td>foo<td>bar<td>baz</table><p>extra" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","true"\],["defaultparagraphseparator","p"\],["justifycenter",""\]\] "<table align=center><tbody><tr data-start=0 data-end=2><td>foo<td>bar<td>baz</table><p>extra" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","false"\],["defaultparagraphseparator","p"\],["justifycenter",""\]\] "<table align=center><tbody><tr data-start=0 data-end=2><td>foo<td>bar<td>baz</table><p>extra" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","true"\],["defaultparagraphseparator","div"\],["justifycenter",""\]\] "<table align=center><tbody data-start=0 data-end=1><tr><td>foo<td>bar<td>baz</table><p>extra" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","true"\],["defaultparagraphseparator","div"\],["justifycenter",""\]\] "<table align=center><tbody data-start=0 data-end=1><tr><td>foo<td>bar<td>baz</table><p>extra" queryCommandState("justifycenter") before]
    expected: FAIL

  [[["stylewithcss","true"\],["defaultparagraphseparator","div"\],["justifycenter",""\]\] "<table align=center><tbody data-start=0 data-end=1><tr><td>foo<td>bar<td>baz</table><p>extra" queryCommandValue("justifycenter") before]
    expected: FAIL

  [[["stylewithcss","true"\],["defaultparagraphseparator","div"\],["justifycenter",""\]\] "<table align=center><tbody data-start=0 data-end=1><tr><td>foo<td>bar<td>baz</table><p>extra" queryCommandState("justifycenter") after]
    expected: FAIL

  [[["stylewithcss","true"\],["defaultparagraphseparator","div"\],["justifycenter",""\]\] "<table align=center><tbody data-start=0 data-end=1><tr><td>foo<td>bar<td>baz</table><p>extra" queryCommandValue("justifycenter") after]
    expected: FAIL

  [[["stylewithcss","false"\],["defaultparagraphseparator","div"\],["justifycenter",""\]\] "<table align=center><tbody data-start=0 data-end=1><tr><td>foo<td>bar<td>baz</table><p>extra" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","true"\],["defaultparagraphseparator","p"\],["justifycenter",""\]\] "<table align=center><tbody data-start=0 data-end=1><tr><td>foo<td>bar<td>baz</table><p>extra" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","true"\],["defaultparagraphseparator","p"\],["justifycenter",""\]\] "<table align=center><tbody data-start=0 data-end=1><tr><td>foo<td>bar<td>baz</table><p>extra" queryCommandState("justifycenter") before]
    expected: FAIL

  [[["stylewithcss","true"\],["defaultparagraphseparator","p"\],["justifycenter",""\]\] "<table align=center><tbody data-start=0 data-end=1><tr><td>foo<td>bar<td>baz</table><p>extra" queryCommandValue("justifycenter") before]
    expected: FAIL

  [[["stylewithcss","true"\],["defaultparagraphseparator","p"\],["justifycenter",""\]\] "<table align=center><tbody data-start=0 data-end=1><tr><td>foo<td>bar<td>baz</table><p>extra" queryCommandState("justifycenter") after]
    expected: FAIL

  [[["stylewithcss","true"\],["defaultparagraphseparator","p"\],["justifycenter",""\]\] "<table align=center><tbody data-start=0 data-end=1><tr><td>foo<td>bar<td>baz</table><p>extra" queryCommandValue("justifycenter") after]
    expected: FAIL

  [[["stylewithcss","false"\],["defaultparagraphseparator","p"\],["justifycenter",""\]\] "<table align=center><tbody data-start=0 data-end=1><tr><td>foo<td>bar<td>baz</table><p>extra" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","true"\],["defaultparagraphseparator","div"\],["justifycenter",""\]\] "<table align=center data-start=0 data-end=1><tbody><tr><td>foo<td>bar<td>baz</table><p>extra" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","true"\],["defaultparagraphseparator","div"\],["justifycenter",""\]\] "<table align=center data-start=0 data-end=1><tbody><tr><td>foo<td>bar<td>baz</table><p>extra" queryCommandState("justifycenter") before]
    expected: FAIL

  [[["stylewithcss","true"\],["defaultparagraphseparator","div"\],["justifycenter",""\]\] "<table align=center data-start=0 data-end=1><tbody><tr><td>foo<td>bar<td>baz</table><p>extra" queryCommandValue("justifycenter") before]
    expected: FAIL

  [[["stylewithcss","true"\],["defaultparagraphseparator","div"\],["justifycenter",""\]\] "<table align=center data-start=0 data-end=1><tbody><tr><td>foo<td>bar<td>baz</table><p>extra" queryCommandState("justifycenter") after]
    expected: FAIL

  [[["stylewithcss","true"\],["defaultparagraphseparator","div"\],["justifycenter",""\]\] "<table align=center data-start=0 data-end=1><tbody><tr><td>foo<td>bar<td>baz</table><p>extra" queryCommandValue("justifycenter") after]
    expected: FAIL

  [[["stylewithcss","false"\],["defaultparagraphseparator","div"\],["justifycenter",""\]\] "<table align=center data-start=0 data-end=1><tbody><tr><td>foo<td>bar<td>baz</table><p>extra" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","true"\],["defaultparagraphseparator","p"\],["justifycenter",""\]\] "<table align=center data-start=0 data-end=1><tbody><tr><td>foo<td>bar<td>baz</table><p>extra" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","true"\],["defaultparagraphseparator","p"\],["justifycenter",""\]\] "<table align=center data-start=0 data-end=1><tbody><tr><td>foo<td>bar<td>baz</table><p>extra" queryCommandState("justifycenter") before]
    expected: FAIL

  [[["stylewithcss","true"\],["defaultparagraphseparator","p"\],["justifycenter",""\]\] "<table align=center data-start=0 data-end=1><tbody><tr><td>foo<td>bar<td>baz</table><p>extra" queryCommandValue("justifycenter") before]
    expected: FAIL

  [[["stylewithcss","true"\],["defaultparagraphseparator","p"\],["justifycenter",""\]\] "<table align=center data-start=0 data-end=1><tbody><tr><td>foo<td>bar<td>baz</table><p>extra" queryCommandState("justifycenter") after]
    expected: FAIL

  [[["stylewithcss","true"\],["defaultparagraphseparator","p"\],["justifycenter",""\]\] "<table align=center data-start=0 data-end=1><tbody><tr><td>foo<td>bar<td>baz</table><p>extra" queryCommandValue("justifycenter") after]
    expected: FAIL

  [[["stylewithcss","false"\],["defaultparagraphseparator","p"\],["justifycenter",""\]\] "<table align=center data-start=0 data-end=1><tbody><tr><td>foo<td>bar<td>baz</table><p>extra" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","true"\],["defaultparagraphseparator","div"\],["justifycenter",""\]\] "{<table align=center><tr><td>foo<td>bar<td>baz</table>}<p>extra" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","true"\],["defaultparagraphseparator","div"\],["justifycenter",""\]\] "{<table align=center><tr><td>foo<td>bar<td>baz</table>}<p>extra" queryCommandState("justifycenter") before]
    expected: FAIL

  [[["stylewithcss","true"\],["defaultparagraphseparator","div"\],["justifycenter",""\]\] "{<table align=center><tr><td>foo<td>bar<td>baz</table>}<p>extra" queryCommandValue("justifycenter") before]
    expected: FAIL

  [[["stylewithcss","true"\],["defaultparagraphseparator","div"\],["justifycenter",""\]\] "{<table align=center><tr><td>foo<td>bar<td>baz</table>}<p>extra" queryCommandState("justifycenter") after]
    expected: FAIL

  [[["stylewithcss","true"\],["defaultparagraphseparator","div"\],["justifycenter",""\]\] "{<table align=center><tr><td>foo<td>bar<td>baz</table>}<p>extra" queryCommandValue("justifycenter") after]
    expected: FAIL

  [[["stylewithcss","false"\],["defaultparagraphseparator","div"\],["justifycenter",""\]\] "{<table align=center><tr><td>foo<td>bar<td>baz</table>}<p>extra" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","true"\],["defaultparagraphseparator","p"\],["justifycenter",""\]\] "{<table align=center><tr><td>foo<td>bar<td>baz</table>}<p>extra" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","true"\],["defaultparagraphseparator","p"\],["justifycenter",""\]\] "{<table align=center><tr><td>foo<td>bar<td>baz</table>}<p>extra" queryCommandState("justifycenter") before]
    expected: FAIL

  [[["stylewithcss","true"\],["defaultparagraphseparator","p"\],["justifycenter",""\]\] "{<table align=center><tr><td>foo<td>bar<td>baz</table>}<p>extra" queryCommandValue("justifycenter") before]
    expected: FAIL

  [[["stylewithcss","true"\],["defaultparagraphseparator","p"\],["justifycenter",""\]\] "{<table align=center><tr><td>foo<td>bar<td>baz</table>}<p>extra" queryCommandState("justifycenter") after]
    expected: FAIL

  [[["stylewithcss","true"\],["defaultparagraphseparator","p"\],["justifycenter",""\]\] "{<table align=center><tr><td>foo<td>bar<td>baz</table>}<p>extra" queryCommandValue("justifycenter") after]
    expected: FAIL

  [[["stylewithcss","false"\],["defaultparagraphseparator","p"\],["justifycenter",""\]\] "{<table align=center><tr><td>foo<td>bar<td>baz</table>}<p>extra" compare innerHTML]
    expected: FAIL

  [[["justifycenter",""\]\] "<table><tbody align=center><tr><td>foo<td>b[a\]r<td>baz</table><p>extra" compare innerHTML]
    expected: FAIL

  [[["justifycenter",""\]\] "<table><tbody align=center><tr data-start=1 data-end=2><td>foo<td>bar<td>baz</table><p>extra" compare innerHTML]
    expected: FAIL

  [[["justifycenter",""\]\] "<table><tbody align=center><tr data-start=0 data-end=2><td>foo<td>bar<td>baz</table><p>extra" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","true"\],["defaultparagraphseparator","div"\],["justifycenter",""\]\] "<table><tbody align=center data-start=0 data-end=1><tr><td>foo<td>bar<td>baz</table><p>extra" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","true"\],["defaultparagraphseparator","div"\],["justifycenter",""\]\] "<table><tbody align=center data-start=0 data-end=1><tr><td>foo<td>bar<td>baz</table><p>extra" queryCommandState("justifycenter") before]
    expected: FAIL

  [[["stylewithcss","true"\],["defaultparagraphseparator","div"\],["justifycenter",""\]\] "<table><tbody align=center data-start=0 data-end=1><tr><td>foo<td>bar<td>baz</table><p>extra" queryCommandValue("justifycenter") before]
    expected: FAIL

  [[["stylewithcss","true"\],["defaultparagraphseparator","div"\],["justifycenter",""\]\] "<table><tbody align=center data-start=0 data-end=1><tr><td>foo<td>bar<td>baz</table><p>extra" queryCommandState("justifycenter") after]
    expected: FAIL

  [[["stylewithcss","true"\],["defaultparagraphseparator","div"\],["justifycenter",""\]\] "<table><tbody align=center data-start=0 data-end=1><tr><td>foo<td>bar<td>baz</table><p>extra" queryCommandValue("justifycenter") after]
    expected: FAIL

  [[["stylewithcss","false"\],["defaultparagraphseparator","div"\],["justifycenter",""\]\] "<table><tbody align=center data-start=0 data-end=1><tr><td>foo<td>bar<td>baz</table><p>extra" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","false"\],["defaultparagraphseparator","div"\],["justifycenter",""\]\] "<table><tbody align=center data-start=0 data-end=1><tr><td>foo<td>bar<td>baz</table><p>extra" queryCommandState("justifycenter") before]
    expected: FAIL

  [[["stylewithcss","false"\],["defaultparagraphseparator","div"\],["justifycenter",""\]\] "<table><tbody align=center data-start=0 data-end=1><tr><td>foo<td>bar<td>baz</table><p>extra" queryCommandValue("justifycenter") before]
    expected: FAIL

  [[["stylewithcss","true"\],["defaultparagraphseparator","p"\],["justifycenter",""\]\] "<table><tbody align=center data-start=0 data-end=1><tr><td>foo<td>bar<td>baz</table><p>extra" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","true"\],["defaultparagraphseparator","p"\],["justifycenter",""\]\] "<table><tbody align=center data-start=0 data-end=1><tr><td>foo<td>bar<td>baz</table><p>extra" queryCommandState("justifycenter") before]
    expected: FAIL

  [[["stylewithcss","true"\],["defaultparagraphseparator","p"\],["justifycenter",""\]\] "<table><tbody align=center data-start=0 data-end=1><tr><td>foo<td>bar<td>baz</table><p>extra" queryCommandValue("justifycenter") before]
    expected: FAIL

  [[["stylewithcss","true"\],["defaultparagraphseparator","p"\],["justifycenter",""\]\] "<table><tbody align=center data-start=0 data-end=1><tr><td>foo<td>bar<td>baz</table><p>extra" queryCommandState("justifycenter") after]
    expected: FAIL

  [[["stylewithcss","true"\],["defaultparagraphseparator","p"\],["justifycenter",""\]\] "<table><tbody align=center data-start=0 data-end=1><tr><td>foo<td>bar<td>baz</table><p>extra" queryCommandValue("justifycenter") after]
    expected: FAIL

  [[["stylewithcss","false"\],["defaultparagraphseparator","p"\],["justifycenter",""\]\] "<table><tbody align=center data-start=0 data-end=1><tr><td>foo<td>bar<td>baz</table><p>extra" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","false"\],["defaultparagraphseparator","p"\],["justifycenter",""\]\] "<table><tbody align=center data-start=0 data-end=1><tr><td>foo<td>bar<td>baz</table><p>extra" queryCommandState("justifycenter") before]
    expected: FAIL

  [[["stylewithcss","false"\],["defaultparagraphseparator","p"\],["justifycenter",""\]\] "<table><tbody align=center data-start=0 data-end=1><tr><td>foo<td>bar<td>baz</table><p>extra" queryCommandValue("justifycenter") before]
    expected: FAIL

  [[["stylewithcss","true"\],["defaultparagraphseparator","div"\],["justifycenter",""\]\] "<table data-start=0 data-end=1><tbody align=center><tr><td>foo<td>bar<td>baz</table><p>extra" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","true"\],["defaultparagraphseparator","div"\],["justifycenter",""\]\] "<table data-start=0 data-end=1><tbody align=center><tr><td>foo<td>bar<td>baz</table><p>extra" queryCommandState("justifycenter") before]
    expected: FAIL

  [[["stylewithcss","true"\],["defaultparagraphseparator","div"\],["justifycenter",""\]\] "<table data-start=0 data-end=1><tbody align=center><tr><td>foo<td>bar<td>baz</table><p>extra" queryCommandValue("justifycenter") before]
    expected: FAIL

  [[["stylewithcss","true"\],["defaultparagraphseparator","div"\],["justifycenter",""\]\] "<table data-start=0 data-end=1><tbody align=center><tr><td>foo<td>bar<td>baz</table><p>extra" queryCommandState("justifycenter") after]
    expected: FAIL

  [[["stylewithcss","true"\],["defaultparagraphseparator","div"\],["justifycenter",""\]\] "<table data-start=0 data-end=1><tbody align=center><tr><td>foo<td>bar<td>baz</table><p>extra" queryCommandValue("justifycenter") after]
    expected: FAIL

  [[["stylewithcss","false"\],["defaultparagraphseparator","div"\],["justifycenter",""\]\] "<table data-start=0 data-end=1><tbody align=center><tr><td>foo<td>bar<td>baz</table><p>extra" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","false"\],["defaultparagraphseparator","div"\],["justifycenter",""\]\] "<table data-start=0 data-end=1><tbody align=center><tr><td>foo<td>bar<td>baz</table><p>extra" queryCommandState("justifycenter") before]
    expected: FAIL

  [[["stylewithcss","false"\],["defaultparagraphseparator","div"\],["justifycenter",""\]\] "<table data-start=0 data-end=1><tbody align=center><tr><td>foo<td>bar<td>baz</table><p>extra" queryCommandValue("justifycenter") before]
    expected: FAIL

  [[["stylewithcss","true"\],["defaultparagraphseparator","p"\],["justifycenter",""\]\] "<table data-start=0 data-end=1><tbody align=center><tr><td>foo<td>bar<td>baz</table><p>extra" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","true"\],["defaultparagraphseparator","p"\],["justifycenter",""\]\] "<table data-start=0 data-end=1><tbody align=center><tr><td>foo<td>bar<td>baz</table><p>extra" queryCommandState("justifycenter") before]
    expected: FAIL

  [[["stylewithcss","true"\],["defaultparagraphseparator","p"\],["justifycenter",""\]\] "<table data-start=0 data-end=1><tbody align=center><tr><td>foo<td>bar<td>baz</table><p>extra" queryCommandValue("justifycenter") before]
    expected: FAIL

  [[["stylewithcss","true"\],["defaultparagraphseparator","p"\],["justifycenter",""\]\] "<table data-start=0 data-end=1><tbody align=center><tr><td>foo<td>bar<td>baz</table><p>extra" queryCommandState("justifycenter") after]
    expected: FAIL

  [[["stylewithcss","true"\],["defaultparagraphseparator","p"\],["justifycenter",""\]\] "<table data-start=0 data-end=1><tbody align=center><tr><td>foo<td>bar<td>baz</table><p>extra" queryCommandValue("justifycenter") after]
    expected: FAIL

  [[["stylewithcss","false"\],["defaultparagraphseparator","p"\],["justifycenter",""\]\] "<table data-start=0 data-end=1><tbody align=center><tr><td>foo<td>bar<td>baz</table><p>extra" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","false"\],["defaultparagraphseparator","p"\],["justifycenter",""\]\] "<table data-start=0 data-end=1><tbody align=center><tr><td>foo<td>bar<td>baz</table><p>extra" queryCommandState("justifycenter") before]
    expected: FAIL

  [[["stylewithcss","false"\],["defaultparagraphseparator","p"\],["justifycenter",""\]\] "<table data-start=0 data-end=1><tbody align=center><tr><td>foo<td>bar<td>baz</table><p>extra" queryCommandValue("justifycenter") before]
    expected: FAIL

  [[["stylewithcss","true"\],["defaultparagraphseparator","div"\],["justifycenter",""\]\] "{<table><tbody align=center><tr><td>foo<td>bar<td>baz</table>}<p>extra" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","true"\],["defaultparagraphseparator","div"\],["justifycenter",""\]\] "{<table><tbody align=center><tr><td>foo<td>bar<td>baz</table>}<p>extra" queryCommandState("justifycenter") before]
    expected: FAIL

  [[["stylewithcss","true"\],["defaultparagraphseparator","div"\],["justifycenter",""\]\] "{<table><tbody align=center><tr><td>foo<td>bar<td>baz</table>}<p>extra" queryCommandValue("justifycenter") before]
    expected: FAIL

  [[["stylewithcss","true"\],["defaultparagraphseparator","div"\],["justifycenter",""\]\] "{<table><tbody align=center><tr><td>foo<td>bar<td>baz</table>}<p>extra" queryCommandState("justifycenter") after]
    expected: FAIL

  [[["stylewithcss","true"\],["defaultparagraphseparator","div"\],["justifycenter",""\]\] "{<table><tbody align=center><tr><td>foo<td>bar<td>baz</table>}<p>extra" queryCommandValue("justifycenter") after]
    expected: FAIL

  [[["stylewithcss","false"\],["defaultparagraphseparator","div"\],["justifycenter",""\]\] "{<table><tbody align=center><tr><td>foo<td>bar<td>baz</table>}<p>extra" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","false"\],["defaultparagraphseparator","div"\],["justifycenter",""\]\] "{<table><tbody align=center><tr><td>foo<td>bar<td>baz</table>}<p>extra" queryCommandState("justifycenter") before]
    expected: FAIL

  [[["stylewithcss","false"\],["defaultparagraphseparator","div"\],["justifycenter",""\]\] "{<table><tbody align=center><tr><td>foo<td>bar<td>baz</table>}<p>extra" queryCommandValue("justifycenter") before]
    expected: FAIL

  [[["stylewithcss","true"\],["defaultparagraphseparator","p"\],["justifycenter",""\]\] "{<table><tbody align=center><tr><td>foo<td>bar<td>baz</table>}<p>extra" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","true"\],["defaultparagraphseparator","p"\],["justifycenter",""\]\] "{<table><tbody align=center><tr><td>foo<td>bar<td>baz</table>}<p>extra" queryCommandState("justifycenter") before]
    expected: FAIL

  [[["stylewithcss","true"\],["defaultparagraphseparator","p"\],["justifycenter",""\]\] "{<table><tbody align=center><tr><td>foo<td>bar<td>baz</table>}<p>extra" queryCommandValue("justifycenter") before]
    expected: FAIL

  [[["stylewithcss","true"\],["defaultparagraphseparator","p"\],["justifycenter",""\]\] "{<table><tbody align=center><tr><td>foo<td>bar<td>baz</table>}<p>extra" queryCommandState("justifycenter") after]
    expected: FAIL

  [[["stylewithcss","true"\],["defaultparagraphseparator","p"\],["justifycenter",""\]\] "{<table><tbody align=center><tr><td>foo<td>bar<td>baz</table>}<p>extra" queryCommandValue("justifycenter") after]
    expected: FAIL

  [[["stylewithcss","false"\],["defaultparagraphseparator","p"\],["justifycenter",""\]\] "{<table><tbody align=center><tr><td>foo<td>bar<td>baz</table>}<p>extra" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","false"\],["defaultparagraphseparator","p"\],["justifycenter",""\]\] "{<table><tbody align=center><tr><td>foo<td>bar<td>baz</table>}<p>extra" queryCommandState("justifycenter") before]
    expected: FAIL

  [[["stylewithcss","false"\],["defaultparagraphseparator","p"\],["justifycenter",""\]\] "{<table><tbody align=center><tr><td>foo<td>bar<td>baz</table>}<p>extra" queryCommandValue("justifycenter") before]
    expected: FAIL

  [[["justifycenter",""\]\] "<table><tbody><tr align=center><td>foo<td>b[a\]r<td>baz</table><p>extra" compare innerHTML]
    expected: FAIL

  [[["justifycenter",""\]\] "<table><tbody><tr align=center data-start=1 data-end=2><td>foo<td>bar<td>baz</table><p>extra" compare innerHTML]
    expected: FAIL

  [[["justifycenter",""\]\] "<table><tbody><tr align=center data-start=0 data-end=2><td>foo<td>bar<td>baz</table><p>extra" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","true"\],["defaultparagraphseparator","div"\],["justifycenter",""\]\] "<table><tbody data-start=0 data-end=1><tr align=center><td>foo<td>bar<td>baz</table><p>extra" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","true"\],["defaultparagraphseparator","div"\],["justifycenter",""\]\] "<table><tbody data-start=0 data-end=1><tr align=center><td>foo<td>bar<td>baz</table><p>extra" queryCommandState("justifycenter") before]
    expected: FAIL

  [[["stylewithcss","true"\],["defaultparagraphseparator","div"\],["justifycenter",""\]\] "<table><tbody data-start=0 data-end=1><tr align=center><td>foo<td>bar<td>baz</table><p>extra" queryCommandValue("justifycenter") before]
    expected: FAIL

  [[["stylewithcss","true"\],["defaultparagraphseparator","div"\],["justifycenter",""\]\] "<table><tbody data-start=0 data-end=1><tr align=center><td>foo<td>bar<td>baz</table><p>extra" queryCommandState("justifycenter") after]
    expected: FAIL

  [[["stylewithcss","true"\],["defaultparagraphseparator","div"\],["justifycenter",""\]\] "<table><tbody data-start=0 data-end=1><tr align=center><td>foo<td>bar<td>baz</table><p>extra" queryCommandValue("justifycenter") after]
    expected: FAIL

  [[["stylewithcss","false"\],["defaultparagraphseparator","div"\],["justifycenter",""\]\] "<table><tbody data-start=0 data-end=1><tr align=center><td>foo<td>bar<td>baz</table><p>extra" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","false"\],["defaultparagraphseparator","div"\],["justifycenter",""\]\] "<table><tbody data-start=0 data-end=1><tr align=center><td>foo<td>bar<td>baz</table><p>extra" queryCommandState("justifycenter") before]
    expected: FAIL

  [[["stylewithcss","false"\],["defaultparagraphseparator","div"\],["justifycenter",""\]\] "<table><tbody data-start=0 data-end=1><tr align=center><td>foo<td>bar<td>baz</table><p>extra" queryCommandValue("justifycenter") before]
    expected: FAIL

  [[["stylewithcss","true"\],["defaultparagraphseparator","p"\],["justifycenter",""\]\] "<table><tbody data-start=0 data-end=1><tr align=center><td>foo<td>bar<td>baz</table><p>extra" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","true"\],["defaultparagraphseparator","p"\],["justifycenter",""\]\] "<table><tbody data-start=0 data-end=1><tr align=center><td>foo<td>bar<td>baz</table><p>extra" queryCommandState("justifycenter") before]
    expected: FAIL

  [[["stylewithcss","true"\],["defaultparagraphseparator","p"\],["justifycenter",""\]\] "<table><tbody data-start=0 data-end=1><tr align=center><td>foo<td>bar<td>baz</table><p>extra" queryCommandValue("justifycenter") before]
    expected: FAIL

  [[["stylewithcss","true"\],["defaultparagraphseparator","p"\],["justifycenter",""\]\] "<table><tbody data-start=0 data-end=1><tr align=center><td>foo<td>bar<td>baz</table><p>extra" queryCommandState("justifycenter") after]
    expected: FAIL

  [[["stylewithcss","true"\],["defaultparagraphseparator","p"\],["justifycenter",""\]\] "<table><tbody data-start=0 data-end=1><tr align=center><td>foo<td>bar<td>baz</table><p>extra" queryCommandValue("justifycenter") after]
    expected: FAIL

  [[["stylewithcss","false"\],["defaultparagraphseparator","p"\],["justifycenter",""\]\] "<table><tbody data-start=0 data-end=1><tr align=center><td>foo<td>bar<td>baz</table><p>extra" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","false"\],["defaultparagraphseparator","p"\],["justifycenter",""\]\] "<table><tbody data-start=0 data-end=1><tr align=center><td>foo<td>bar<td>baz</table><p>extra" queryCommandState("justifycenter") before]
    expected: FAIL

  [[["stylewithcss","false"\],["defaultparagraphseparator","p"\],["justifycenter",""\]\] "<table><tbody data-start=0 data-end=1><tr align=center><td>foo<td>bar<td>baz</table><p>extra" queryCommandValue("justifycenter") before]
    expected: FAIL

  [[["stylewithcss","true"\],["defaultparagraphseparator","div"\],["justifycenter",""\]\] "<table data-start=0 data-end=1><tbody><tr align=center><td>foo<td>bar<td>baz</table><p>extra" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","true"\],["defaultparagraphseparator","div"\],["justifycenter",""\]\] "<table data-start=0 data-end=1><tbody><tr align=center><td>foo<td>bar<td>baz</table><p>extra" queryCommandState("justifycenter") before]
    expected: FAIL

  [[["stylewithcss","true"\],["defaultparagraphseparator","div"\],["justifycenter",""\]\] "<table data-start=0 data-end=1><tbody><tr align=center><td>foo<td>bar<td>baz</table><p>extra" queryCommandValue("justifycenter") before]
    expected: FAIL

  [[["stylewithcss","true"\],["defaultparagraphseparator","div"\],["justifycenter",""\]\] "<table data-start=0 data-end=1><tbody><tr align=center><td>foo<td>bar<td>baz</table><p>extra" queryCommandState("justifycenter") after]
    expected: FAIL

  [[["stylewithcss","true"\],["defaultparagraphseparator","div"\],["justifycenter",""\]\] "<table data-start=0 data-end=1><tbody><tr align=center><td>foo<td>bar<td>baz</table><p>extra" queryCommandValue("justifycenter") after]
    expected: FAIL

  [[["stylewithcss","false"\],["defaultparagraphseparator","div"\],["justifycenter",""\]\] "<table data-start=0 data-end=1><tbody><tr align=center><td>foo<td>bar<td>baz</table><p>extra" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","false"\],["defaultparagraphseparator","div"\],["justifycenter",""\]\] "<table data-start=0 data-end=1><tbody><tr align=center><td>foo<td>bar<td>baz</table><p>extra" queryCommandState("justifycenter") before]
    expected: FAIL

  [[["stylewithcss","false"\],["defaultparagraphseparator","div"\],["justifycenter",""\]\] "<table data-start=0 data-end=1><tbody><tr align=center><td>foo<td>bar<td>baz</table><p>extra" queryCommandValue("justifycenter") before]
    expected: FAIL

  [[["stylewithcss","true"\],["defaultparagraphseparator","p"\],["justifycenter",""\]\] "<table data-start=0 data-end=1><tbody><tr align=center><td>foo<td>bar<td>baz</table><p>extra" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","true"\],["defaultparagraphseparator","p"\],["justifycenter",""\]\] "<table data-start=0 data-end=1><tbody><tr align=center><td>foo<td>bar<td>baz</table><p>extra" queryCommandState("justifycenter") before]
    expected: FAIL

  [[["stylewithcss","true"\],["defaultparagraphseparator","p"\],["justifycenter",""\]\] "<table data-start=0 data-end=1><tbody><tr align=center><td>foo<td>bar<td>baz</table><p>extra" queryCommandValue("justifycenter") before]
    expected: FAIL

  [[["stylewithcss","true"\],["defaultparagraphseparator","p"\],["justifycenter",""\]\] "<table data-start=0 data-end=1><tbody><tr align=center><td>foo<td>bar<td>baz</table><p>extra" queryCommandState("justifycenter") after]
    expected: FAIL

  [[["stylewithcss","true"\],["defaultparagraphseparator","p"\],["justifycenter",""\]\] "<table data-start=0 data-end=1><tbody><tr align=center><td>foo<td>bar<td>baz</table><p>extra" queryCommandValue("justifycenter") after]
    expected: FAIL

  [[["stylewithcss","false"\],["defaultparagraphseparator","p"\],["justifycenter",""\]\] "<table data-start=0 data-end=1><tbody><tr align=center><td>foo<td>bar<td>baz</table><p>extra" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","false"\],["defaultparagraphseparator","p"\],["justifycenter",""\]\] "<table data-start=0 data-end=1><tbody><tr align=center><td>foo<td>bar<td>baz</table><p>extra" queryCommandState("justifycenter") before]
    expected: FAIL

  [[["stylewithcss","false"\],["defaultparagraphseparator","p"\],["justifycenter",""\]\] "<table data-start=0 data-end=1><tbody><tr align=center><td>foo<td>bar<td>baz</table><p>extra" queryCommandValue("justifycenter") before]
    expected: FAIL

  [[["stylewithcss","true"\],["defaultparagraphseparator","div"\],["justifycenter",""\]\] "{<table><tr align=center><td>foo<td>bar<td>baz</table>}<p>extra" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","true"\],["defaultparagraphseparator","div"\],["justifycenter",""\]\] "{<table><tr align=center><td>foo<td>bar<td>baz</table>}<p>extra" queryCommandState("justifycenter") before]
    expected: FAIL

  [[["stylewithcss","true"\],["defaultparagraphseparator","div"\],["justifycenter",""\]\] "{<table><tr align=center><td>foo<td>bar<td>baz</table>}<p>extra" queryCommandValue("justifycenter") before]
    expected: FAIL

  [[["stylewithcss","true"\],["defaultparagraphseparator","div"\],["justifycenter",""\]\] "{<table><tr align=center><td>foo<td>bar<td>baz</table>}<p>extra" queryCommandState("justifycenter") after]
    expected: FAIL

  [[["stylewithcss","true"\],["defaultparagraphseparator","div"\],["justifycenter",""\]\] "{<table><tr align=center><td>foo<td>bar<td>baz</table>}<p>extra" queryCommandValue("justifycenter") after]
    expected: FAIL

  [[["stylewithcss","false"\],["defaultparagraphseparator","div"\],["justifycenter",""\]\] "{<table><tr align=center><td>foo<td>bar<td>baz</table>}<p>extra" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","false"\],["defaultparagraphseparator","div"\],["justifycenter",""\]\] "{<table><tr align=center><td>foo<td>bar<td>baz</table>}<p>extra" queryCommandState("justifycenter") before]
    expected: FAIL

  [[["stylewithcss","false"\],["defaultparagraphseparator","div"\],["justifycenter",""\]\] "{<table><tr align=center><td>foo<td>bar<td>baz</table>}<p>extra" queryCommandValue("justifycenter") before]
    expected: FAIL

  [[["stylewithcss","true"\],["defaultparagraphseparator","p"\],["justifycenter",""\]\] "{<table><tr align=center><td>foo<td>bar<td>baz</table>}<p>extra" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","true"\],["defaultparagraphseparator","p"\],["justifycenter",""\]\] "{<table><tr align=center><td>foo<td>bar<td>baz</table>}<p>extra" queryCommandState("justifycenter") before]
    expected: FAIL

  [[["stylewithcss","true"\],["defaultparagraphseparator","p"\],["justifycenter",""\]\] "{<table><tr align=center><td>foo<td>bar<td>baz</table>}<p>extra" queryCommandValue("justifycenter") before]
    expected: FAIL

  [[["stylewithcss","true"\],["defaultparagraphseparator","p"\],["justifycenter",""\]\] "{<table><tr align=center><td>foo<td>bar<td>baz</table>}<p>extra" queryCommandState("justifycenter") after]
    expected: FAIL

  [[["stylewithcss","true"\],["defaultparagraphseparator","p"\],["justifycenter",""\]\] "{<table><tr align=center><td>foo<td>bar<td>baz</table>}<p>extra" queryCommandValue("justifycenter") after]
    expected: FAIL

  [[["stylewithcss","false"\],["defaultparagraphseparator","p"\],["justifycenter",""\]\] "{<table><tr align=center><td>foo<td>bar<td>baz</table>}<p>extra" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","false"\],["defaultparagraphseparator","p"\],["justifycenter",""\]\] "{<table><tr align=center><td>foo<td>bar<td>baz</table>}<p>extra" queryCommandState("justifycenter") before]
    expected: FAIL

  [[["stylewithcss","false"\],["defaultparagraphseparator","p"\],["justifycenter",""\]\] "{<table><tr align=center><td>foo<td>bar<td>baz</table>}<p>extra" queryCommandValue("justifycenter") before]
    expected: FAIL

  [[["justifycenter",""\]\] "<div align=center><p>[foo\]<p>bar</div><p>extra" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","false"\],["justifycenter",""\]\] "<div align=center><p>[foo<p>bar}</div><p>extra" compare innerHTML]
    expected: FAIL

  [[["justifycenter",""\]\] "<div style=text-align:center><p>[foo\]<p>bar</div><p>extra" compare innerHTML]
    expected: FAIL

  [[["justifycenter",""\]\] "<div style=text-align:center><p>[foo\]<p>bar</div><p>extra" queryCommandState("justifycenter") before]
    expected: FAIL

  [[["justifycenter",""\]\] "<div style=text-align:center><p>[foo\]<p>bar</div><p>extra" queryCommandValue("justifycenter") before]
    expected: FAIL

  [[["justifycenter",""\]\] "<div style=text-align:center><p>[foo<p>bar\]</div><p>extra" compare innerHTML]
    expected: FAIL

  [[["justifycenter",""\]\] "<div style=text-align:center><p>[foo<p>bar\]</div><p>extra" queryCommandState("justifycenter") before]
    expected: FAIL

  [[["justifycenter",""\]\] "<div style=text-align:center><p>[foo<p>bar\]</div><p>extra" queryCommandValue("justifycenter") before]
    expected: FAIL

  [[["stylewithcss","true"\],["defaultparagraphseparator","div"\],["justifycenter",""\]\] "<div align=justify><p>[foo\]<p>bar</div><p>extra" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","false"\],["defaultparagraphseparator","div"\],["justifycenter",""\]\] "<div align=justify><p>[foo\]<p>bar</div><p>extra" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","true"\],["defaultparagraphseparator","p"\],["justifycenter",""\]\] "<div align=justify><p>[foo\]<p>bar</div><p>extra" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","false"\],["defaultparagraphseparator","p"\],["justifycenter",""\]\] "<div align=justify><p>[foo\]<p>bar</div><p>extra" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","false"\],["justifycenter",""\]\] "<div align=justify><p>[foo<p>bar}</div><p>extra" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","true"\],["defaultparagraphseparator","div"\],["justifycenter",""\]\] "<div style=text-align:justify><p>[foo\]<p>bar</div><p>extra" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","true"\],["defaultparagraphseparator","div"\],["justifycenter",""\]\] "<div style=text-align:justify><p>[foo\]<p>bar</div><p>extra" queryCommandValue("justifycenter") before]
    expected: FAIL

  [[["stylewithcss","false"\],["defaultparagraphseparator","div"\],["justifycenter",""\]\] "<div style=text-align:justify><p>[foo\]<p>bar</div><p>extra" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","true"\],["defaultparagraphseparator","p"\],["justifycenter",""\]\] "<div style=text-align:justify><p>[foo\]<p>bar</div><p>extra" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","true"\],["defaultparagraphseparator","p"\],["justifycenter",""\]\] "<div style=text-align:justify><p>[foo\]<p>bar</div><p>extra" queryCommandValue("justifycenter") before]
    expected: FAIL

  [[["stylewithcss","false"\],["defaultparagraphseparator","p"\],["justifycenter",""\]\] "<div style=text-align:justify><p>[foo\]<p>bar</div><p>extra" compare innerHTML]
    expected: FAIL

  [[["justifycenter",""\]\] "<div style=text-align:justify><p>[foo<p>bar\]</div><p>extra" compare innerHTML]
    expected: FAIL

  [[["justifycenter",""\]\] "<div style=text-align:justify><p>[foo<p>bar\]</div><p>extra" queryCommandValue("justifycenter") before]
    expected: FAIL

  [[["stylewithcss","true"\],["defaultparagraphseparator","div"\],["justifycenter",""\]\] "<div align=left><p>[foo\]<p>bar</div><p>extra" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","false"\],["defaultparagraphseparator","div"\],["justifycenter",""\]\] "<div align=left><p>[foo\]<p>bar</div><p>extra" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","true"\],["defaultparagraphseparator","p"\],["justifycenter",""\]\] "<div align=left><p>[foo\]<p>bar</div><p>extra" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","false"\],["defaultparagraphseparator","p"\],["justifycenter",""\]\] "<div align=left><p>[foo\]<p>bar</div><p>extra" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","false"\],["justifycenter",""\]\] "<div align=left><p>[foo<p>bar}</div><p>extra" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","true"\],["defaultparagraphseparator","div"\],["justifycenter",""\]\] "<div style=text-align:left><p>[foo\]<p>bar</div><p>extra" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","false"\],["defaultparagraphseparator","div"\],["justifycenter",""\]\] "<div style=text-align:left><p>[foo\]<p>bar</div><p>extra" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","true"\],["defaultparagraphseparator","p"\],["justifycenter",""\]\] "<div style=text-align:left><p>[foo\]<p>bar</div><p>extra" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","false"\],["defaultparagraphseparator","p"\],["justifycenter",""\]\] "<div style=text-align:left><p>[foo\]<p>bar</div><p>extra" compare innerHTML]
    expected: FAIL

  [[["justifycenter",""\]\] "<div style=text-align:left><p>[foo<p>bar\]</div><p>extra" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","true"\],["defaultparagraphseparator","div"\],["justifycenter",""\]\] "<div align=right><p>[foo\]<p>bar</div><p>extra" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","false"\],["defaultparagraphseparator","div"\],["justifycenter",""\]\] "<div align=right><p>[foo\]<p>bar</div><p>extra" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","true"\],["defaultparagraphseparator","p"\],["justifycenter",""\]\] "<div align=right><p>[foo\]<p>bar</div><p>extra" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","false"\],["defaultparagraphseparator","p"\],["justifycenter",""\]\] "<div align=right><p>[foo\]<p>bar</div><p>extra" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","false"\],["justifycenter",""\]\] "<div align=right><p>[foo<p>bar}</div><p>extra" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","true"\],["defaultparagraphseparator","div"\],["justifycenter",""\]\] "<div style=text-align:right><p>[foo\]<p>bar</div><p>extra" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","true"\],["defaultparagraphseparator","div"\],["justifycenter",""\]\] "<div style=text-align:right><p>[foo\]<p>bar</div><p>extra" queryCommandValue("justifycenter") before]
    expected: FAIL

  [[["stylewithcss","false"\],["defaultparagraphseparator","div"\],["justifycenter",""\]\] "<div style=text-align:right><p>[foo\]<p>bar</div><p>extra" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","true"\],["defaultparagraphseparator","p"\],["justifycenter",""\]\] "<div style=text-align:right><p>[foo\]<p>bar</div><p>extra" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","true"\],["defaultparagraphseparator","p"\],["justifycenter",""\]\] "<div style=text-align:right><p>[foo\]<p>bar</div><p>extra" queryCommandValue("justifycenter") before]
    expected: FAIL

  [[["stylewithcss","false"\],["defaultparagraphseparator","p"\],["justifycenter",""\]\] "<div style=text-align:right><p>[foo\]<p>bar</div><p>extra" compare innerHTML]
    expected: FAIL

  [[["justifycenter",""\]\] "<div style=text-align:right><p>[foo<p>bar\]</div><p>extra" compare innerHTML]
    expected: FAIL

  [[["justifycenter",""\]\] "<div style=text-align:right><p>[foo<p>bar\]</div><p>extra" queryCommandValue("justifycenter") before]
    expected: FAIL

  [[["stylewithcss","false"\],["defaultparagraphseparator","div"\],["justifycenter",""\]\] "<center>foo</center>[bar\]<p>extra" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","false"\],["defaultparagraphseparator","p"\],["justifycenter",""\]\] "<center>foo</center>[bar\]<p>extra" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","false"\],["defaultparagraphseparator","div"\],["justifycenter",""\]\] "[foo\]<center>bar</center><p>extra" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","false"\],["defaultparagraphseparator","p"\],["justifycenter",""\]\] "[foo\]<center>bar</center><p>extra" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","false"\],["defaultparagraphseparator","div"\],["justifycenter",""\]\] "<center>foo</center>[bar\]<center>baz</center><p>extra" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","false"\],["defaultparagraphseparator","p"\],["justifycenter",""\]\] "<center>foo</center>[bar\]<center>baz</center><p>extra" compare innerHTML]
    expected: FAIL

  [[["justifycenter",""\]\] "<div align=center>foo</div>[bar\]<p>extra" compare innerHTML]
    expected: FAIL

  [[["justifycenter",""\]\] "[foo\]<div align=center>bar</div><p>extra" compare innerHTML]
    expected: FAIL

  [[["defaultparagraphseparator","div"\],["justifycenter",""\]\] "<div align=center>foo</div>[bar\]<div align=center>baz</div><p>extra" compare innerHTML]
    expected: FAIL

  [[["defaultparagraphseparator","p"\],["justifycenter",""\]\] "<div align=center>foo</div>[bar\]<div align=center>baz</div><p>extra" compare innerHTML]
    expected: FAIL

  [[["justifycenter",""\]\] "<div align=center><p>foo</div><p>[bar\]<p>extra" compare innerHTML]
    expected: FAIL

  [[["justifycenter",""\]\] "<p>[foo\]<div align=center><p>bar</div><p>extra" compare innerHTML]
    expected: FAIL

  [[["defaultparagraphseparator","div"\],["justifycenter",""\]\] "<div align=center><p>foo</div><p>[bar\]<div align=center><p>baz</div><p>extra" compare innerHTML]
    expected: FAIL

  [[["defaultparagraphseparator","p"\],["justifycenter",""\]\] "<div align=center><p>foo</div><p>[bar\]<div align=center><p>baz</div><p>extra" compare innerHTML]
    expected: FAIL

  [[["justifycenter",""\]\] "<div style=text-align:center>foo</div>[bar\]<p>extra" compare innerHTML]
    expected: FAIL

  [[["justifycenter",""\]\] "[foo\]<div style=text-align:center>bar</div><p>extra" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","true"\],["defaultparagraphseparator","div"\],["justifycenter",""\]\] "<div style=text-align:center>foo</div>[bar\]<div style=text-align:center>baz</div><p>extra" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","false"\],["defaultparagraphseparator","div"\],["justifycenter",""\]\] "<div style=text-align:center>foo</div>[bar\]<div style=text-align:center>baz</div><p>extra" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","true"\],["defaultparagraphseparator","p"\],["justifycenter",""\]\] "<div style=text-align:center>foo</div>[bar\]<div style=text-align:center>baz</div><p>extra" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","false"\],["defaultparagraphseparator","p"\],["justifycenter",""\]\] "<div style=text-align:center>foo</div>[bar\]<div style=text-align:center>baz</div><p>extra" compare innerHTML]
    expected: FAIL

  [[["justifycenter",""\]\] "<div style=text-align:center><p>foo</div><p>[bar\]<p>extra" compare innerHTML]
    expected: FAIL

  [[["justifycenter",""\]\] "<p>[foo\]<div style=text-align:center><p>bar</div><p>extra" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","true"\],["defaultparagraphseparator","div"\],["justifycenter",""\]\] "<div style=text-align:center><p>foo</div><p>[bar\]<div style=text-align:center><p>baz</div><p>extra" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","false"\],["defaultparagraphseparator","div"\],["justifycenter",""\]\] "<div style=text-align:center><p>foo</div><p>[bar\]<div style=text-align:center><p>baz</div><p>extra" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","true"\],["defaultparagraphseparator","p"\],["justifycenter",""\]\] "<div style=text-align:center><p>foo</div><p>[bar\]<div style=text-align:center><p>baz</div><p>extra" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","false"\],["defaultparagraphseparator","p"\],["justifycenter",""\]\] "<div style=text-align:center><p>foo</div><p>[bar\]<div style=text-align:center><p>baz</div><p>extra" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","true"\],["defaultparagraphseparator","div"\],["justifycenter",""\]\] "<p align=center>foo<p>[bar\]<p>extra" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","false"\],["defaultparagraphseparator","div"\],["justifycenter",""\]\] "<p align=center>foo<p>[bar\]<p>extra" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","true"\],["defaultparagraphseparator","p"\],["justifycenter",""\]\] "<p align=center>foo<p>[bar\]<p>extra" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","false"\],["defaultparagraphseparator","p"\],["justifycenter",""\]\] "<p align=center>foo<p>[bar\]<p>extra" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","true"\],["defaultparagraphseparator","div"\],["justifycenter",""\]\] "<p>[foo\]<p align=center>bar<p>extra" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","false"\],["defaultparagraphseparator","div"\],["justifycenter",""\]\] "<p>[foo\]<p align=center>bar<p>extra" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","true"\],["defaultparagraphseparator","p"\],["justifycenter",""\]\] "<p>[foo\]<p align=center>bar<p>extra" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","false"\],["defaultparagraphseparator","p"\],["justifycenter",""\]\] "<p>[foo\]<p align=center>bar<p>extra" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","true"\],["defaultparagraphseparator","div"\],["justifycenter",""\]\] "<p align=center>foo<p>[bar\]<p align=center>baz<p>extra" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","false"\],["defaultparagraphseparator","div"\],["justifycenter",""\]\] "<p align=center>foo<p>[bar\]<p align=center>baz<p>extra" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","true"\],["defaultparagraphseparator","p"\],["justifycenter",""\]\] "<p align=center>foo<p>[bar\]<p align=center>baz<p>extra" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","false"\],["defaultparagraphseparator","p"\],["justifycenter",""\]\] "<p align=center>foo<p>[bar\]<p align=center>baz<p>extra" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","true"\],["defaultparagraphseparator","div"\],["justifycenter",""\]\] "<center>[foo</center>bar\]<p>extra" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","true"\],["defaultparagraphseparator","div"\],["justifycenter",""\]\] "<center>[foo</center>bar\]<p>extra" queryCommandIndeterm("justifycenter") before]
    expected: FAIL

  [[["stylewithcss","true"\],["defaultparagraphseparator","div"\],["justifycenter",""\]\] "<center>[foo</center>bar\]<p>extra" queryCommandValue("justifycenter") before]
    expected: FAIL

  [[["stylewithcss","true"\],["defaultparagraphseparator","div"\],["justifycenter",""\]\] "<center>[foo</center>bar\]<p>extra" queryCommandState("justifycenter") after]
    expected: FAIL

  [[["stylewithcss","true"\],["defaultparagraphseparator","div"\],["justifycenter",""\]\] "<center>[foo</center>bar\]<p>extra" queryCommandValue("justifycenter") after]
    expected: FAIL

  [[["stylewithcss","false"\],["defaultparagraphseparator","div"\],["justifycenter",""\]\] "<center>[foo</center>bar\]<p>extra" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","false"\],["defaultparagraphseparator","div"\],["justifycenter",""\]\] "<center>[foo</center>bar\]<p>extra" queryCommandIndeterm("justifycenter") before]
    expected: FAIL

  [[["stylewithcss","false"\],["defaultparagraphseparator","div"\],["justifycenter",""\]\] "<center>[foo</center>bar\]<p>extra" queryCommandValue("justifycenter") before]
    expected: FAIL

  [[["stylewithcss","true"\],["defaultparagraphseparator","p"\],["justifycenter",""\]\] "<center>[foo</center>bar\]<p>extra" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","true"\],["defaultparagraphseparator","p"\],["justifycenter",""\]\] "<center>[foo</center>bar\]<p>extra" queryCommandIndeterm("justifycenter") before]
    expected: FAIL

  [[["stylewithcss","true"\],["defaultparagraphseparator","p"\],["justifycenter",""\]\] "<center>[foo</center>bar\]<p>extra" queryCommandValue("justifycenter") before]
    expected: FAIL

  [[["stylewithcss","true"\],["defaultparagraphseparator","p"\],["justifycenter",""\]\] "<center>[foo</center>bar\]<p>extra" queryCommandState("justifycenter") after]
    expected: FAIL

  [[["stylewithcss","true"\],["defaultparagraphseparator","p"\],["justifycenter",""\]\] "<center>[foo</center>bar\]<p>extra" queryCommandValue("justifycenter") after]
    expected: FAIL

  [[["stylewithcss","false"\],["defaultparagraphseparator","p"\],["justifycenter",""\]\] "<center>[foo</center>bar\]<p>extra" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","false"\],["defaultparagraphseparator","p"\],["justifycenter",""\]\] "<center>[foo</center>bar\]<p>extra" queryCommandIndeterm("justifycenter") before]
    expected: FAIL

  [[["stylewithcss","false"\],["defaultparagraphseparator","p"\],["justifycenter",""\]\] "<center>[foo</center>bar\]<p>extra" queryCommandValue("justifycenter") before]
    expected: FAIL

  [[["stylewithcss","true"\],["defaultparagraphseparator","div"\],["justifycenter",""\]\] "<center>fo[o</center>b\]ar<p>extra" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","true"\],["defaultparagraphseparator","div"\],["justifycenter",""\]\] "<center>fo[o</center>b\]ar<p>extra" queryCommandIndeterm("justifycenter") before]
    expected: FAIL

  [[["stylewithcss","true"\],["defaultparagraphseparator","div"\],["justifycenter",""\]\] "<center>fo[o</center>b\]ar<p>extra" queryCommandValue("justifycenter") before]
    expected: FAIL

  [[["stylewithcss","true"\],["defaultparagraphseparator","div"\],["justifycenter",""\]\] "<center>fo[o</center>b\]ar<p>extra" queryCommandState("justifycenter") after]
    expected: FAIL

  [[["stylewithcss","true"\],["defaultparagraphseparator","div"\],["justifycenter",""\]\] "<center>fo[o</center>b\]ar<p>extra" queryCommandValue("justifycenter") after]
    expected: FAIL

  [[["stylewithcss","false"\],["defaultparagraphseparator","div"\],["justifycenter",""\]\] "<center>fo[o</center>b\]ar<p>extra" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","false"\],["defaultparagraphseparator","div"\],["justifycenter",""\]\] "<center>fo[o</center>b\]ar<p>extra" queryCommandIndeterm("justifycenter") before]
    expected: FAIL

  [[["stylewithcss","false"\],["defaultparagraphseparator","div"\],["justifycenter",""\]\] "<center>fo[o</center>b\]ar<p>extra" queryCommandValue("justifycenter") before]
    expected: FAIL

  [[["stylewithcss","true"\],["defaultparagraphseparator","p"\],["justifycenter",""\]\] "<center>fo[o</center>b\]ar<p>extra" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","true"\],["defaultparagraphseparator","p"\],["justifycenter",""\]\] "<center>fo[o</center>b\]ar<p>extra" queryCommandIndeterm("justifycenter") before]
    expected: FAIL

  [[["stylewithcss","true"\],["defaultparagraphseparator","p"\],["justifycenter",""\]\] "<center>fo[o</center>b\]ar<p>extra" queryCommandValue("justifycenter") before]
    expected: FAIL

  [[["stylewithcss","true"\],["defaultparagraphseparator","p"\],["justifycenter",""\]\] "<center>fo[o</center>b\]ar<p>extra" queryCommandState("justifycenter") after]
    expected: FAIL

  [[["stylewithcss","true"\],["defaultparagraphseparator","p"\],["justifycenter",""\]\] "<center>fo[o</center>b\]ar<p>extra" queryCommandValue("justifycenter") after]
    expected: FAIL

  [[["stylewithcss","false"\],["defaultparagraphseparator","p"\],["justifycenter",""\]\] "<center>fo[o</center>b\]ar<p>extra" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","false"\],["defaultparagraphseparator","p"\],["justifycenter",""\]\] "<center>fo[o</center>b\]ar<p>extra" queryCommandIndeterm("justifycenter") before]
    expected: FAIL

  [[["stylewithcss","false"\],["defaultparagraphseparator","p"\],["justifycenter",""\]\] "<center>fo[o</center>b\]ar<p>extra" queryCommandValue("justifycenter") before]
    expected: FAIL

  [[["stylewithcss","true"\],["justifycenter",""\]\] "<div align=center>[foo</div>bar\]<p>extra" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","true"\],["justifycenter",""\]\] "<div align=center>[foo</div>bar\]<p>extra" queryCommandIndeterm("justifycenter") before]
    expected: FAIL

  [[["stylewithcss","true"\],["justifycenter",""\]\] "<div align=center>[foo</div>bar\]<p>extra" queryCommandState("justifycenter") before]
    expected: FAIL

  [[["stylewithcss","false"\],["justifycenter",""\]\] "<div align=center>[foo</div>bar\]<p>extra" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","false"\],["justifycenter",""\]\] "<div align=center>[foo</div>bar\]<p>extra" queryCommandIndeterm("justifycenter") before]
    expected: FAIL

  [[["stylewithcss","false"\],["justifycenter",""\]\] "<div align=center>[foo</div>bar\]<p>extra" queryCommandState("justifycenter") before]
    expected: FAIL

  [[["stylewithcss","true"\],["justifycenter",""\]\] "<div align=center>fo[o</div>b\]ar<p>extra" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","true"\],["justifycenter",""\]\] "<div align=center>fo[o</div>b\]ar<p>extra" queryCommandIndeterm("justifycenter") before]
    expected: FAIL

  [[["stylewithcss","true"\],["justifycenter",""\]\] "<div align=center>fo[o</div>b\]ar<p>extra" queryCommandState("justifycenter") before]
    expected: FAIL

  [[["stylewithcss","false"\],["justifycenter",""\]\] "<div align=center>fo[o</div>b\]ar<p>extra" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","false"\],["justifycenter",""\]\] "<div align=center>fo[o</div>b\]ar<p>extra" queryCommandIndeterm("justifycenter") before]
    expected: FAIL

  [[["stylewithcss","false"\],["justifycenter",""\]\] "<div align=center>fo[o</div>b\]ar<p>extra" queryCommandState("justifycenter") before]
    expected: FAIL

  [[["justifycenter",""\]\] "<div style=text-align:center>[foo</div>bar\]<p>extra" compare innerHTML]
    expected: FAIL

  [[["justifycenter",""\]\] "<div style=text-align:center>[foo</div>bar\]<p>extra" queryCommandIndeterm("justifycenter") before]
    expected: FAIL

  [[["justifycenter",""\]\] "<div style=text-align:center>[foo</div>bar\]<p>extra" queryCommandValue("justifycenter") before]
    expected: FAIL

  [[["justifycenter",""\]\] "<div style=text-align:center>fo[o</div>b\]ar<p>extra" compare innerHTML]
    expected: FAIL

  [[["justifycenter",""\]\] "<div style=text-align:center>fo[o</div>b\]ar<p>extra" queryCommandIndeterm("justifycenter") before]
    expected: FAIL

  [[["justifycenter",""\]\] "<div style=text-align:center>fo[o</div>b\]ar<p>extra" queryCommandValue("justifycenter") before]
    expected: FAIL

  [[["defaultparagraphseparator","div"\],["justifycenter",""\]\] "<span style=text-align:center>[foo\]</span><p>extra" compare innerHTML]
    expected: FAIL

  [[["defaultparagraphseparator","p"\],["justifycenter",""\]\] "<span style=text-align:center>[foo\]</span><p>extra" compare innerHTML]
    expected: FAIL

  [[["defaultparagraphseparator","div"\],["justifycenter",""\]\] "<span style=text-align:center>f[o\]o</span><p>extra" compare innerHTML]
    expected: FAIL

  [[["defaultparagraphseparator","p"\],["justifycenter",""\]\] "<span style=text-align:center>f[o\]o</span><p>extra" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","true"\],["defaultparagraphseparator","div"\],["justifycenter",""\]\] "<div style=text-align:center>[foo<div style=text-align:left contenteditable=false>bar</div>baz\]</div><p>extra" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","true"\],["defaultparagraphseparator","div"\],["justifycenter",""\]\] "<div style=text-align:center>[foo<div style=text-align:left contenteditable=false>bar</div>baz\]</div><p>extra" queryCommandState("justifycenter") before]
    expected: FAIL

  [[["stylewithcss","true"\],["defaultparagraphseparator","div"\],["justifycenter",""\]\] "<div style=text-align:center>[foo<div style=text-align:left contenteditable=false>bar</div>baz\]</div><p>extra" queryCommandValue("justifycenter") before]
    expected: FAIL

  [[["stylewithcss","false"\],["defaultparagraphseparator","div"\],["justifycenter",""\]\] "<div style=text-align:center>[foo<div style=text-align:left contenteditable=false>bar</div>baz\]</div><p>extra" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","true"\],["defaultparagraphseparator","p"\],["justifycenter",""\]\] "<div style=text-align:center>[foo<div style=text-align:left contenteditable=false>bar</div>baz\]</div><p>extra" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","true"\],["defaultparagraphseparator","p"\],["justifycenter",""\]\] "<div style=text-align:center>[foo<div style=text-align:left contenteditable=false>bar</div>baz\]</div><p>extra" queryCommandState("justifycenter") before]
    expected: FAIL

  [[["stylewithcss","true"\],["defaultparagraphseparator","p"\],["justifycenter",""\]\] "<div style=text-align:center>[foo<div style=text-align:left contenteditable=false>bar</div>baz\]</div><p>extra" queryCommandValue("justifycenter") before]
    expected: FAIL

  [[["stylewithcss","false"\],["defaultparagraphseparator","p"\],["justifycenter",""\]\] "<div style=text-align:center>[foo<div style=text-align:left contenteditable=false>bar</div>baz\]</div><p>extra" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","false"\],["justifycenter",""\]\] "<div align=nonsense><p>[foo\]</div><p>extra" compare innerHTML]
    expected: FAIL

  [[["justifycenter",""\]\] "<div style=text-align:inherit><p>[foo\]</div><p>extra" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","true"\],["defaultparagraphseparator","div"\],["justifycenter",""\]\] "<quasit align=right><p>[foo\]</p></quasit><p>extra" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","false"\],["defaultparagraphseparator","div"\],["justifycenter",""\]\] "<quasit align=right><p>[foo\]</p></quasit><p>extra" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","true"\],["defaultparagraphseparator","p"\],["justifycenter",""\]\] "<quasit align=right><p>[foo\]</p></quasit><p>extra" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","false"\],["defaultparagraphseparator","p"\],["justifycenter",""\]\] "<quasit align=right><p>[foo\]</p></quasit><p>extra" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","true"\],["defaultparagraphseparator","div"\],["justifycenter",""\]\] "<div align=center>{<div align=left>foo</div>}</div>" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","true"\],["defaultparagraphseparator","div"\],["justifycenter",""\]\] "<div align=center>{<div align=left>foo</div>}</div>" queryCommandState("justifycenter") before]
    expected: FAIL

  [[["stylewithcss","true"\],["defaultparagraphseparator","div"\],["justifycenter",""\]\] "<div align=center>{<div align=left>foo</div>}</div>" queryCommandValue("justifycenter") before]
    expected: FAIL

  [[["stylewithcss","false"\],["defaultparagraphseparator","div"\],["justifycenter",""\]\] "<div align=center>{<div align=left>foo</div>}</div>" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","false"\],["defaultparagraphseparator","div"\],["justifycenter",""\]\] "<div align=center>{<div align=left>foo</div>}</div>" queryCommandState("justifycenter") before]
    expected: FAIL

  [[["stylewithcss","false"\],["defaultparagraphseparator","div"\],["justifycenter",""\]\] "<div align=center>{<div align=left>foo</div>}</div>" queryCommandValue("justifycenter") before]
    expected: FAIL

  [[["stylewithcss","true"\],["defaultparagraphseparator","p"\],["justifycenter",""\]\] "<div align=center>{<div align=left>foo</div>}</div>" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","true"\],["defaultparagraphseparator","p"\],["justifycenter",""\]\] "<div align=center>{<div align=left>foo</div>}</div>" queryCommandState("justifycenter") before]
    expected: FAIL

  [[["stylewithcss","true"\],["defaultparagraphseparator","p"\],["justifycenter",""\]\] "<div align=center>{<div align=left>foo</div>}</div>" queryCommandValue("justifycenter") before]
    expected: FAIL

  [[["stylewithcss","false"\],["defaultparagraphseparator","p"\],["justifycenter",""\]\] "<div align=center>{<div align=left>foo</div>}</div>" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","false"\],["defaultparagraphseparator","p"\],["justifycenter",""\]\] "<div align=center>{<div align=left>foo</div>}</div>" queryCommandState("justifycenter") before]
    expected: FAIL

  [[["stylewithcss","false"\],["defaultparagraphseparator","p"\],["justifycenter",""\]\] "<div align=center>{<div align=left>foo</div>}</div>" queryCommandValue("justifycenter") before]
    expected: FAIL

  [[["stylewithcss","true"\],["defaultparagraphseparator","div"\],["justifycenter",""\]\] "<div align=left>{<div align=center>foo</div>}</div>" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","true"\],["defaultparagraphseparator","div"\],["justifycenter",""\]\] "<div align=left>{<div align=center>foo</div>}</div>" queryCommandState("justifycenter") before]
    expected: FAIL

  [[["stylewithcss","true"\],["defaultparagraphseparator","div"\],["justifycenter",""\]\] "<div align=left>{<div align=center>foo</div>}</div>" queryCommandValue("justifycenter") before]
    expected: FAIL

  [[["stylewithcss","false"\],["defaultparagraphseparator","div"\],["justifycenter",""\]\] "<div align=left>{<div align=center>foo</div>}</div>" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","false"\],["defaultparagraphseparator","div"\],["justifycenter",""\]\] "<div align=left>{<div align=center>foo</div>}</div>" queryCommandState("justifycenter") before]
    expected: FAIL

  [[["stylewithcss","false"\],["defaultparagraphseparator","div"\],["justifycenter",""\]\] "<div align=left>{<div align=center>foo</div>}</div>" queryCommandValue("justifycenter") before]
    expected: FAIL

  [[["stylewithcss","true"\],["defaultparagraphseparator","p"\],["justifycenter",""\]\] "<div align=left>{<div align=center>foo</div>}</div>" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","true"\],["defaultparagraphseparator","p"\],["justifycenter",""\]\] "<div align=left>{<div align=center>foo</div>}</div>" queryCommandState("justifycenter") before]
    expected: FAIL

  [[["stylewithcss","true"\],["defaultparagraphseparator","p"\],["justifycenter",""\]\] "<div align=left>{<div align=center>foo</div>}</div>" queryCommandValue("justifycenter") before]
    expected: FAIL

  [[["stylewithcss","false"\],["defaultparagraphseparator","p"\],["justifycenter",""\]\] "<div align=left>{<div align=center>foo</div>}</div>" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","false"\],["defaultparagraphseparator","p"\],["justifycenter",""\]\] "<div align=left>{<div align=center>foo</div>}</div>" queryCommandState("justifycenter") before]
    expected: FAIL

  [[["stylewithcss","false"\],["defaultparagraphseparator","p"\],["justifycenter",""\]\] "<div align=left>{<div align=center>foo</div>}</div>" queryCommandValue("justifycenter") before]
    expected: FAIL

  [[["stylewithcss","true"\],["defaultparagraphseparator","div"\],["justifycenter",""\]\] "<div align=center>{<div align=left>foo</div>bar}</div>" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","true"\],["defaultparagraphseparator","div"\],["justifycenter",""\]\] "<div align=center>{<div align=left>foo</div>bar}</div>" queryCommandIndeterm("justifycenter") before]
    expected: FAIL

  [[["stylewithcss","true"\],["defaultparagraphseparator","div"\],["justifycenter",""\]\] "<div align=center>{<div align=left>foo</div>bar}</div>" queryCommandState("justifycenter") before]
    expected: FAIL

  [[["stylewithcss","true"\],["defaultparagraphseparator","div"\],["justifycenter",""\]\] "<div align=center>{<div align=left>foo</div>bar}</div>" queryCommandValue("justifycenter") before]
    expected: FAIL

  [[["stylewithcss","false"\],["defaultparagraphseparator","div"\],["justifycenter",""\]\] "<div align=center>{<div align=left>foo</div>bar}</div>" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","false"\],["defaultparagraphseparator","div"\],["justifycenter",""\]\] "<div align=center>{<div align=left>foo</div>bar}</div>" queryCommandIndeterm("justifycenter") before]
    expected: FAIL

  [[["stylewithcss","false"\],["defaultparagraphseparator","div"\],["justifycenter",""\]\] "<div align=center>{<div align=left>foo</div>bar}</div>" queryCommandState("justifycenter") before]
    expected: FAIL

  [[["stylewithcss","false"\],["defaultparagraphseparator","div"\],["justifycenter",""\]\] "<div align=center>{<div align=left>foo</div>bar}</div>" queryCommandValue("justifycenter") before]
    expected: FAIL

  [[["stylewithcss","true"\],["defaultparagraphseparator","p"\],["justifycenter",""\]\] "<div align=center>{<div align=left>foo</div>bar}</div>" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","true"\],["defaultparagraphseparator","p"\],["justifycenter",""\]\] "<div align=center>{<div align=left>foo</div>bar}</div>" queryCommandIndeterm("justifycenter") before]
    expected: FAIL

  [[["stylewithcss","true"\],["defaultparagraphseparator","p"\],["justifycenter",""\]\] "<div align=center>{<div align=left>foo</div>bar}</div>" queryCommandState("justifycenter") before]
    expected: FAIL

  [[["stylewithcss","true"\],["defaultparagraphseparator","p"\],["justifycenter",""\]\] "<div align=center>{<div align=left>foo</div>bar}</div>" queryCommandValue("justifycenter") before]
    expected: FAIL

  [[["stylewithcss","false"\],["defaultparagraphseparator","p"\],["justifycenter",""\]\] "<div align=center>{<div align=left>foo</div>bar}</div>" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","false"\],["defaultparagraphseparator","p"\],["justifycenter",""\]\] "<div align=center>{<div align=left>foo</div>bar}</div>" queryCommandIndeterm("justifycenter") before]
    expected: FAIL

  [[["stylewithcss","false"\],["defaultparagraphseparator","p"\],["justifycenter",""\]\] "<div align=center>{<div align=left>foo</div>bar}</div>" queryCommandState("justifycenter") before]
    expected: FAIL

  [[["stylewithcss","false"\],["defaultparagraphseparator","p"\],["justifycenter",""\]\] "<div align=center>{<div align=left>foo</div>bar}</div>" queryCommandValue("justifycenter") before]
    expected: FAIL

  [[["stylewithcss","true"\],["defaultparagraphseparator","div"\],["justifycenter",""\]\] "<div align=left>{<div align=center>foo</div>bar}</div>" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","true"\],["defaultparagraphseparator","div"\],["justifycenter",""\]\] "<div align=left>{<div align=center>foo</div>bar}</div>" queryCommandIndeterm("justifycenter") before]
    expected: FAIL

  [[["stylewithcss","true"\],["defaultparagraphseparator","div"\],["justifycenter",""\]\] "<div align=left>{<div align=center>foo</div>bar}</div>" queryCommandValue("justifycenter") before]
    expected: FAIL

  [[["stylewithcss","false"\],["defaultparagraphseparator","div"\],["justifycenter",""\]\] "<div align=left>{<div align=center>foo</div>bar}</div>" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","false"\],["defaultparagraphseparator","div"\],["justifycenter",""\]\] "<div align=left>{<div align=center>foo</div>bar}</div>" queryCommandIndeterm("justifycenter") before]
    expected: FAIL

  [[["stylewithcss","false"\],["defaultparagraphseparator","div"\],["justifycenter",""\]\] "<div align=left>{<div align=center>foo</div>bar}</div>" queryCommandValue("justifycenter") before]
    expected: FAIL

  [[["stylewithcss","true"\],["defaultparagraphseparator","p"\],["justifycenter",""\]\] "<div align=left>{<div align=center>foo</div>bar}</div>" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","true"\],["defaultparagraphseparator","p"\],["justifycenter",""\]\] "<div align=left>{<div align=center>foo</div>bar}</div>" queryCommandIndeterm("justifycenter") before]
    expected: FAIL

  [[["stylewithcss","true"\],["defaultparagraphseparator","p"\],["justifycenter",""\]\] "<div align=left>{<div align=center>foo</div>bar}</div>" queryCommandValue("justifycenter") before]
    expected: FAIL

  [[["stylewithcss","false"\],["defaultparagraphseparator","p"\],["justifycenter",""\]\] "<div align=left>{<div align=center>foo</div>bar}</div>" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","false"\],["defaultparagraphseparator","p"\],["justifycenter",""\]\] "<div align=left>{<div align=center>foo</div>bar}</div>" queryCommandIndeterm("justifycenter") before]
    expected: FAIL

  [[["stylewithcss","false"\],["defaultparagraphseparator","p"\],["justifycenter",""\]\] "<div align=left>{<div align=center>foo</div>bar}</div>" queryCommandValue("justifycenter") before]
    expected: FAIL

  [[["stylewithcss","true"\],["defaultparagraphseparator","div"\],["justifycenter",""\]\] "<div align=center>{<div align=left>foo</div><img src=/img/lion.svg>}</div>" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","true"\],["defaultparagraphseparator","div"\],["justifycenter",""\]\] "<div align=center>{<div align=left>foo</div><img src=/img/lion.svg>}</div>" queryCommandIndeterm("justifycenter") before]
    expected: FAIL

  [[["stylewithcss","true"\],["defaultparagraphseparator","div"\],["justifycenter",""\]\] "<div align=center>{<div align=left>foo</div><img src=/img/lion.svg>}</div>" queryCommandState("justifycenter") before]
    expected: FAIL

  [[["stylewithcss","true"\],["defaultparagraphseparator","div"\],["justifycenter",""\]\] "<div align=center>{<div align=left>foo</div><img src=/img/lion.svg>}</div>" queryCommandValue("justifycenter") before]
    expected: FAIL

  [[["stylewithcss","false"\],["defaultparagraphseparator","div"\],["justifycenter",""\]\] "<div align=center>{<div align=left>foo</div><img src=/img/lion.svg>}</div>" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","false"\],["defaultparagraphseparator","div"\],["justifycenter",""\]\] "<div align=center>{<div align=left>foo</div><img src=/img/lion.svg>}</div>" queryCommandIndeterm("justifycenter") before]
    expected: FAIL

  [[["stylewithcss","false"\],["defaultparagraphseparator","div"\],["justifycenter",""\]\] "<div align=center>{<div align=left>foo</div><img src=/img/lion.svg>}</div>" queryCommandState("justifycenter") before]
    expected: FAIL

  [[["stylewithcss","false"\],["defaultparagraphseparator","div"\],["justifycenter",""\]\] "<div align=center>{<div align=left>foo</div><img src=/img/lion.svg>}</div>" queryCommandValue("justifycenter") before]
    expected: FAIL

  [[["stylewithcss","true"\],["defaultparagraphseparator","p"\],["justifycenter",""\]\] "<div align=center>{<div align=left>foo</div><img src=/img/lion.svg>}</div>" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","true"\],["defaultparagraphseparator","p"\],["justifycenter",""\]\] "<div align=center>{<div align=left>foo</div><img src=/img/lion.svg>}</div>" queryCommandIndeterm("justifycenter") before]
    expected: FAIL

  [[["stylewithcss","true"\],["defaultparagraphseparator","p"\],["justifycenter",""\]\] "<div align=center>{<div align=left>foo</div><img src=/img/lion.svg>}</div>" queryCommandState("justifycenter") before]
    expected: FAIL

  [[["stylewithcss","true"\],["defaultparagraphseparator","p"\],["justifycenter",""\]\] "<div align=center>{<div align=left>foo</div><img src=/img/lion.svg>}</div>" queryCommandValue("justifycenter") before]
    expected: FAIL

  [[["stylewithcss","false"\],["defaultparagraphseparator","p"\],["justifycenter",""\]\] "<div align=center>{<div align=left>foo</div><img src=/img/lion.svg>}</div>" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","false"\],["defaultparagraphseparator","p"\],["justifycenter",""\]\] "<div align=center>{<div align=left>foo</div><img src=/img/lion.svg>}</div>" queryCommandIndeterm("justifycenter") before]
    expected: FAIL

  [[["stylewithcss","false"\],["defaultparagraphseparator","p"\],["justifycenter",""\]\] "<div align=center>{<div align=left>foo</div><img src=/img/lion.svg>}</div>" queryCommandState("justifycenter") before]
    expected: FAIL

  [[["stylewithcss","false"\],["defaultparagraphseparator","p"\],["justifycenter",""\]\] "<div align=center>{<div align=left>foo</div><img src=/img/lion.svg>}</div>" queryCommandValue("justifycenter") before]
    expected: FAIL

  [[["stylewithcss","true"\],["defaultparagraphseparator","div"\],["justifycenter",""\]\] "<div align=left>{<div align=center>foo</div><img src=/img/lion.svg>}</div>" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","true"\],["defaultparagraphseparator","div"\],["justifycenter",""\]\] "<div align=left>{<div align=center>foo</div><img src=/img/lion.svg>}</div>" queryCommandIndeterm("justifycenter") before]
    expected: FAIL

  [[["stylewithcss","true"\],["defaultparagraphseparator","div"\],["justifycenter",""\]\] "<div align=left>{<div align=center>foo</div><img src=/img/lion.svg>}</div>" queryCommandValue("justifycenter") before]
    expected: FAIL

  [[["stylewithcss","false"\],["defaultparagraphseparator","div"\],["justifycenter",""\]\] "<div align=left>{<div align=center>foo</div><img src=/img/lion.svg>}</div>" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","false"\],["defaultparagraphseparator","div"\],["justifycenter",""\]\] "<div align=left>{<div align=center>foo</div><img src=/img/lion.svg>}</div>" queryCommandIndeterm("justifycenter") before]
    expected: FAIL

  [[["stylewithcss","false"\],["defaultparagraphseparator","div"\],["justifycenter",""\]\] "<div align=left>{<div align=center>foo</div><img src=/img/lion.svg>}</div>" queryCommandValue("justifycenter") before]
    expected: FAIL

  [[["stylewithcss","true"\],["defaultparagraphseparator","p"\],["justifycenter",""\]\] "<div align=left>{<div align=center>foo</div><img src=/img/lion.svg>}</div>" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","true"\],["defaultparagraphseparator","p"\],["justifycenter",""\]\] "<div align=left>{<div align=center>foo</div><img src=/img/lion.svg>}</div>" queryCommandIndeterm("justifycenter") before]
    expected: FAIL

  [[["stylewithcss","true"\],["defaultparagraphseparator","p"\],["justifycenter",""\]\] "<div align=left>{<div align=center>foo</div><img src=/img/lion.svg>}</div>" queryCommandValue("justifycenter") before]
    expected: FAIL

  [[["stylewithcss","false"\],["defaultparagraphseparator","p"\],["justifycenter",""\]\] "<div align=left>{<div align=center>foo</div><img src=/img/lion.svg>}</div>" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","false"\],["defaultparagraphseparator","p"\],["justifycenter",""\]\] "<div align=left>{<div align=center>foo</div><img src=/img/lion.svg>}</div>" queryCommandIndeterm("justifycenter") before]
    expected: FAIL

  [[["stylewithcss","false"\],["defaultparagraphseparator","p"\],["justifycenter",""\]\] "<div align=left>{<div align=center>foo</div><img src=/img/lion.svg>}</div>" queryCommandValue("justifycenter") before]
    expected: FAIL

  [[["stylewithcss","true"\],["defaultparagraphseparator","div"\],["justifycenter",""\]\] "<div align=center>{<div align=left>foo</div><!-- bar -->}</div>" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","true"\],["defaultparagraphseparator","div"\],["justifycenter",""\]\] "<div align=center>{<div align=left>foo</div><!-- bar -->}</div>" queryCommandState("justifycenter") before]
    expected: FAIL

  [[["stylewithcss","true"\],["defaultparagraphseparator","div"\],["justifycenter",""\]\] "<div align=center>{<div align=left>foo</div><!-- bar -->}</div>" queryCommandValue("justifycenter") before]
    expected: FAIL

  [[["stylewithcss","false"\],["defaultparagraphseparator","div"\],["justifycenter",""\]\] "<div align=center>{<div align=left>foo</div><!-- bar -->}</div>" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","false"\],["defaultparagraphseparator","div"\],["justifycenter",""\]\] "<div align=center>{<div align=left>foo</div><!-- bar -->}</div>" queryCommandState("justifycenter") before]
    expected: FAIL

  [[["stylewithcss","false"\],["defaultparagraphseparator","div"\],["justifycenter",""\]\] "<div align=center>{<div align=left>foo</div><!-- bar -->}</div>" queryCommandValue("justifycenter") before]
    expected: FAIL

  [[["stylewithcss","true"\],["defaultparagraphseparator","p"\],["justifycenter",""\]\] "<div align=center>{<div align=left>foo</div><!-- bar -->}</div>" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","true"\],["defaultparagraphseparator","p"\],["justifycenter",""\]\] "<div align=center>{<div align=left>foo</div><!-- bar -->}</div>" queryCommandState("justifycenter") before]
    expected: FAIL

  [[["stylewithcss","true"\],["defaultparagraphseparator","p"\],["justifycenter",""\]\] "<div align=center>{<div align=left>foo</div><!-- bar -->}</div>" queryCommandValue("justifycenter") before]
    expected: FAIL

  [[["stylewithcss","false"\],["defaultparagraphseparator","p"\],["justifycenter",""\]\] "<div align=center>{<div align=left>foo</div><!-- bar -->}</div>" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","false"\],["defaultparagraphseparator","p"\],["justifycenter",""\]\] "<div align=center>{<div align=left>foo</div><!-- bar -->}</div>" queryCommandState("justifycenter") before]
    expected: FAIL

  [[["stylewithcss","false"\],["defaultparagraphseparator","p"\],["justifycenter",""\]\] "<div align=center>{<div align=left>foo</div><!-- bar -->}</div>" queryCommandValue("justifycenter") before]
    expected: FAIL

  [[["stylewithcss","true"\],["defaultparagraphseparator","div"\],["justifycenter",""\]\] "<div align=left>{<div align=center>foo</div><!-- bar -->}</div>" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","true"\],["defaultparagraphseparator","div"\],["justifycenter",""\]\] "<div align=left>{<div align=center>foo</div><!-- bar -->}</div>" queryCommandState("justifycenter") before]
    expected: FAIL

  [[["stylewithcss","true"\],["defaultparagraphseparator","div"\],["justifycenter",""\]\] "<div align=left>{<div align=center>foo</div><!-- bar -->}</div>" queryCommandValue("justifycenter") before]
    expected: FAIL

  [[["stylewithcss","false"\],["defaultparagraphseparator","div"\],["justifycenter",""\]\] "<div align=left>{<div align=center>foo</div><!-- bar -->}</div>" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","false"\],["defaultparagraphseparator","div"\],["justifycenter",""\]\] "<div align=left>{<div align=center>foo</div><!-- bar -->}</div>" queryCommandState("justifycenter") before]
    expected: FAIL

  [[["stylewithcss","false"\],["defaultparagraphseparator","div"\],["justifycenter",""\]\] "<div align=left>{<div align=center>foo</div><!-- bar -->}</div>" queryCommandValue("justifycenter") before]
    expected: FAIL

  [[["stylewithcss","true"\],["defaultparagraphseparator","p"\],["justifycenter",""\]\] "<div align=left>{<div align=center>foo</div><!-- bar -->}</div>" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","true"\],["defaultparagraphseparator","p"\],["justifycenter",""\]\] "<div align=left>{<div align=center>foo</div><!-- bar -->}</div>" queryCommandState("justifycenter") before]
    expected: FAIL

  [[["stylewithcss","true"\],["defaultparagraphseparator","p"\],["justifycenter",""\]\] "<div align=left>{<div align=center>foo</div><!-- bar -->}</div>" queryCommandValue("justifycenter") before]
    expected: FAIL

  [[["stylewithcss","false"\],["defaultparagraphseparator","p"\],["justifycenter",""\]\] "<div align=left>{<div align=center>foo</div><!-- bar -->}</div>" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","false"\],["defaultparagraphseparator","p"\],["justifycenter",""\]\] "<div align=left>{<div align=center>foo</div><!-- bar -->}</div>" queryCommandState("justifycenter") before]
    expected: FAIL

  [[["stylewithcss","false"\],["defaultparagraphseparator","p"\],["justifycenter",""\]\] "<div align=left>{<div align=center>foo</div><!-- bar -->}</div>" queryCommandValue("justifycenter") before]
    expected: FAIL

  [[["justifycenter",""\]\] "<div style=text-align:start>[foo\]</div><p>extra" compare innerHTML]
    expected: FAIL

  [[["justifycenter",""\]\] "<div style=text-align:end>[foo\]</div><p>extra" compare innerHTML]
    expected: FAIL

  [[["justifycenter",""\]\] "<div style=text-align:end>[foo\]</div><p>extra" queryCommandValue("justifycenter") before]
    expected: FAIL

  [[["defaultparagraphseparator","div"\],["justifycenter",""\]\] "<div dir=rtl style=text-align:start>[foo\]</div><p>extra" compare innerHTML]
    expected: FAIL

  [[["defaultparagraphseparator","div"\],["justifycenter",""\]\] "<div dir=rtl style=text-align:start>[foo\]</div><p>extra" queryCommandValue("justifycenter") before]
    expected: FAIL

  [[["defaultparagraphseparator","p"\],["justifycenter",""\]\] "<div dir=rtl style=text-align:start>[foo\]</div><p>extra" compare innerHTML]
    expected: FAIL

  [[["defaultparagraphseparator","p"\],["justifycenter",""\]\] "<div dir=rtl style=text-align:start>[foo\]</div><p>extra" queryCommandValue("justifycenter") before]
    expected: FAIL

  [[["defaultparagraphseparator","div"\],["justifycenter",""\]\] "<div dir=rtl style=text-align:end>[foo\]</div><p>extra" compare innerHTML]
    expected: FAIL

  [[["defaultparagraphseparator","p"\],["justifycenter",""\]\] "<div dir=rtl style=text-align:end>[foo\]</div><p>extra" compare innerHTML]
    expected: FAIL

  [[["justifycenter",""\]\] "<div style=text-align:center><p>foo</div> <p>[bar\]" compare innerHTML]
    expected: FAIL

  [[["justifycenter",""\]\] "<div align=center><p>foo</div> <p>[bar\]" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","true"\],["defaultparagraphseparator","div"\],["justifycenter",""\]\] "<center><p>foo</center> <p>[bar\]" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","false"\],["defaultparagraphseparator","div"\],["justifycenter",""\]\] "<center><p>foo</center> <p>[bar\]" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","true"\],["defaultparagraphseparator","p"\],["justifycenter",""\]\] "<center><p>foo</center> <p>[bar\]" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","false"\],["defaultparagraphseparator","p"\],["justifycenter",""\]\] "<center><p>foo</center> <p>[bar\]" compare innerHTML]
    expected: FAIL

  [[["justifycenter",""\]\] "<p>[foo\]</p> <div style=text-align:center><p>bar</div>" compare innerHTML]
    expected: FAIL

  [[["justifycenter",""\]\] "<p>[foo\]</p> <div align=center><p>bar</div>" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","true"\],["defaultparagraphseparator","div"\],["justifycenter",""\]\] "<p>[foo\]</p> <center><p>bar</center>" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","false"\],["defaultparagraphseparator","div"\],["justifycenter",""\]\] "<p>[foo\]</p> <center><p>bar</center>" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","true"\],["defaultparagraphseparator","p"\],["justifycenter",""\]\] "<p>[foo\]</p> <center><p>bar</center>" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","false"\],["defaultparagraphseparator","p"\],["justifycenter",""\]\] "<p>[foo\]</p> <center><p>bar</center>" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","true"\],["defaultparagraphseparator","div"\],["justifycenter",""\]\] "<div style=text-align:center><p>foo</div> <p>[bar\]</p> <div style=text-align:center><p>baz</div>" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","false"\],["defaultparagraphseparator","div"\],["justifycenter",""\]\] "<div style=text-align:center><p>foo</div> <p>[bar\]</p> <div style=text-align:center><p>baz</div>" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","true"\],["defaultparagraphseparator","p"\],["justifycenter",""\]\] "<div style=text-align:center><p>foo</div> <p>[bar\]</p> <div style=text-align:center><p>baz</div>" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","false"\],["defaultparagraphseparator","p"\],["justifycenter",""\]\] "<div style=text-align:center><p>foo</div> <p>[bar\]</p> <div style=text-align:center><p>baz</div>" compare innerHTML]
    expected: FAIL

  [[["defaultparagraphseparator","div"\],["justifycenter",""\]\] "<div align=center><p>foo</div> <p>[bar\]</p> <div align=center><p>baz</div>" compare innerHTML]
    expected: FAIL

  [[["defaultparagraphseparator","p"\],["justifycenter",""\]\] "<div align=center><p>foo</div> <p>[bar\]</p> <div align=center><p>baz</div>" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","true"\],["defaultparagraphseparator","div"\],["justifycenter",""\]\] "<center><p>foo</center> <p>[bar\]</p> <center><p>baz</center>" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","false"\],["defaultparagraphseparator","div"\],["justifycenter",""\]\] "<center><p>foo</center> <p>[bar\]</p> <center><p>baz</center>" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","true"\],["defaultparagraphseparator","p"\],["justifycenter",""\]\] "<center><p>foo</center> <p>[bar\]</p> <center><p>baz</center>" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","false"\],["defaultparagraphseparator","p"\],["justifycenter",""\]\] "<center><p>foo</center> <p>[bar\]</p> <center><p>baz</center>" compare innerHTML]
    expected: FAIL

