[justifyleft.html]
  prefs: [editor.use_div_for_default_newlines:true]
  [[["justifyleft",""\]\] "foo[\]bar<p>extra" compare innerHTML]
    expected: FAIL

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

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

  [[["justifyleft",""\]\] "foo[bar\]baz<p>extra" compare innerHTML]
    expected: FAIL

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

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

  [[["justifyleft",""\]\] "<p>foo[bar\]baz<p>extra" compare innerHTML]
    expected: FAIL

  [[["justifyleft",""\]\] "<h1>foo[bar\]baz</h1><p>extra" compare innerHTML]
    expected: FAIL

  [[["justifyleft",""\]\] "<pre>foo[bar\]baz</pre><p>extra" compare innerHTML]
    expected: FAIL

  [[["justifyleft",""\]\] "<xmp>foo[bar\]baz</xmp><p>extra" compare innerHTML]
    expected: FAIL

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

  [[["justifyleft",""\]\] "{<table align=left><tr><td>foo<td>bar<td>baz</table>}<p>extra" compare innerHTML]
    expected: FAIL

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

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

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

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

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

  [[["justifyleft",""\]\] "{<table><tbody align=left><tr><td>foo<td>bar<td>baz</table>}<p>extra" compare innerHTML]
    expected: FAIL

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

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

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

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

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

  [[["justifyleft",""\]\] "{<table><tr align=left><td>foo<td>bar<td>baz</table>}<p>extra" compare innerHTML]
    expected: FAIL

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

  [[["justifyleft",""\]\] "<p align=left>foo<p>[bar\]<p>extra" compare innerHTML]
    expected: FAIL

  [[["justifyleft",""\]\] "<p>[foo\]<p align=left>bar<p>extra" compare innerHTML]
    expected: FAIL

  [[["justifyleft",""\]\] "<p align=left>foo<p>[bar\]<p align=left>baz<p>extra" compare innerHTML]
    expected: FAIL

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

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

  [[["defaultparagraphseparator","div"\],["justifyleft",""\]\] "<div align=left>fo[o</div>b\]ar<p>extra" compare innerHTML]
    expected: FAIL

  [[["defaultparagraphseparator","p"\],["justifyleft",""\]\] "<div align=left>fo[o</div>b\]ar<p>extra" compare innerHTML]
    expected: FAIL

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

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

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

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

  [[["stylewithcss","true"\],["defaultparagraphseparator","div"\],["justifyleft",""\]\] "<div style=text-align:left>fo[o</div>b\]ar<p>extra" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","false"\],["defaultparagraphseparator","div"\],["justifyleft",""\]\] "<div style=text-align:left>fo[o</div>b\]ar<p>extra" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","true"\],["defaultparagraphseparator","p"\],["justifyleft",""\]\] "<div style=text-align:left>fo[o</div>b\]ar<p>extra" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","false"\],["defaultparagraphseparator","p"\],["justifyleft",""\]\] "<div style=text-align:left>fo[o</div>b\]ar<p>extra" compare innerHTML]
    expected: FAIL

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

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

  [[["stylewithcss","true"\],["justifyleft",""\]\] "<span style=text-align:left>f[o\]o</span><p>extra" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","false"\],["justifyleft",""\]\] "<span style=text-align:left>f[o\]o</span><p>extra" compare innerHTML]
    expected: FAIL

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

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

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

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

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

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

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

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

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

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

  [[["justifyleft",""\]\] "<quasit align=center><p>[foo\]</p></quasit><p>extra" compare innerHTML]
    expected: FAIL

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

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

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

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

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

  [[["stylewithcss","true"\],["defaultparagraphseparator","div"\],["justifyleft",""\]\] "<div style=text-align:end>[foo\]</div><p>extra" queryCommandState("justifyleft") before]
    expected: FAIL

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

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

  [[["stylewithcss","false"\],["defaultparagraphseparator","div"\],["justifyleft",""\]\] "<div style=text-align:end>[foo\]</div><p>extra" queryCommandState("justifyleft") before]
    expected: FAIL

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

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

  [[["stylewithcss","true"\],["defaultparagraphseparator","p"\],["justifyleft",""\]\] "<div style=text-align:end>[foo\]</div><p>extra" queryCommandState("justifyleft") before]
    expected: FAIL

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

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

  [[["stylewithcss","false"\],["defaultparagraphseparator","p"\],["justifyleft",""\]\] "<div style=text-align:end>[foo\]</div><p>extra" queryCommandState("justifyleft") before]
    expected: FAIL

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

  [justifyleft - HTML editing conformance tests]
    expected: FAIL


[justifyleft.html?2001-last]
  [[["stylewithcss","false"\],["defaultparagraphseparator","p"\],["justifyleft",""\]\] "<div style=text-align:left>[foo<div style=text-align:left contenteditable=false>bar</div>baz\]</div><p>extra" queryCommandValue("defaultparagraphseparator") before]
    expected: FAIL

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

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

  [[["defaultparagraphseparator","div"\],["justifyleft",""\]\] "<div align=nonsense><p>[foo\]</div><p>extra" queryCommandValue("defaultparagraphseparator") before]
    expected: FAIL

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

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

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

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

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

  [[["justifyleft",""\]\] "<quasit align=center><p>[foo\]</p></quasit><p>extra" compare innerHTML]
    expected: FAIL

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

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

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

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

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

  [[["stylewithcss","true"\],["defaultparagraphseparator","div"\],["justifyleft",""\]\] "<div style=text-align:end>[foo\]</div><p>extra" queryCommandState("justifyleft") before]
    expected: FAIL

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

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

  [[["stylewithcss","false"\],["defaultparagraphseparator","div"\],["justifyleft",""\]\] "<div style=text-align:end>[foo\]</div><p>extra" queryCommandState("justifyleft") before]
    expected: FAIL

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

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

  [[["stylewithcss","true"\],["defaultparagraphseparator","p"\],["justifyleft",""\]\] "<div style=text-align:end>[foo\]</div><p>extra" queryCommandState("justifyleft") before]
    expected: FAIL

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

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

  [[["stylewithcss","false"\],["defaultparagraphseparator","p"\],["justifyleft",""\]\] "<div style=text-align:end>[foo\]</div><p>extra" queryCommandState("justifyleft") before]
    expected: FAIL

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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


[justifyleft.html?1-1000]
  [[["justifyleft",""\]\] "foo[\]bar<p>extra" compare innerHTML]
    expected: FAIL

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

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

  [[["justifyleft",""\]\] "foo[bar\]baz<p>extra" compare innerHTML]
    expected: FAIL

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

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

  [[["justifyleft",""\]\] "<p>foo[bar\]baz<p>extra" compare innerHTML]
    expected: FAIL

  [[["justifyleft",""\]\] "<h1>foo[bar\]baz</h1><p>extra" compare innerHTML]
    expected: FAIL

  [[["justifyleft",""\]\] "<pre>foo[bar\]baz</pre><p>extra" compare innerHTML]
    expected: FAIL

  [[["justifyleft",""\]\] "<xmp>foo[bar\]baz</xmp><p>extra" compare innerHTML]
    expected: FAIL

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

  [[["justifyleft",""\]\] "{<table align=left><tr><td>foo<td>bar<td>baz</table>}<p>extra" compare innerHTML]
    expected: FAIL

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

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

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

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

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

  [[["justifyleft",""\]\] "{<table><tbody align=left><tr><td>foo<td>bar<td>baz</table>}<p>extra" compare innerHTML]
    expected: FAIL

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

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

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

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

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

  [[["justifyleft",""\]\] "{<table><tr align=left><td>foo<td>bar<td>baz</table>}<p>extra" compare innerHTML]
    expected: FAIL

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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


[justifyleft.html?1001-2000]
  [[["stylewithcss","false"\],["defaultparagraphseparator","p"\],["justifyleft",""\]\] "<div style=text-align:justify><p>[foo<p>bar\]</div><p>extra" compare innerHTML]
    expected: FAIL

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

  [[["justifyleft",""\]\] "<p align=left>foo<p>[bar\]<p>extra" compare innerHTML]
    expected: FAIL

  [[["justifyleft",""\]\] "<p>[foo\]<p align=left>bar<p>extra" compare innerHTML]
    expected: FAIL

  [[["justifyleft",""\]\] "<p align=left>foo<p>[bar\]<p align=left>baz<p>extra" compare innerHTML]
    expected: FAIL

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

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

  [[["defaultparagraphseparator","div"\],["justifyleft",""\]\] "<div align=left>fo[o</div>b\]ar<p>extra" compare innerHTML]
    expected: FAIL

  [[["defaultparagraphseparator","p"\],["justifyleft",""\]\] "<div align=left>fo[o</div>b\]ar<p>extra" compare innerHTML]
    expected: FAIL

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

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

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

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

  [[["stylewithcss","true"\],["defaultparagraphseparator","div"\],["justifyleft",""\]\] "<div style=text-align:left>fo[o</div>b\]ar<p>extra" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","false"\],["defaultparagraphseparator","div"\],["justifyleft",""\]\] "<div style=text-align:left>fo[o</div>b\]ar<p>extra" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","true"\],["defaultparagraphseparator","p"\],["justifyleft",""\]\] "<div style=text-align:left>fo[o</div>b\]ar<p>extra" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","false"\],["defaultparagraphseparator","p"\],["justifyleft",""\]\] "<div style=text-align:left>fo[o</div>b\]ar<p>extra" compare innerHTML]
    expected: FAIL

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

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

  [[["stylewithcss","true"\],["justifyleft",""\]\] "<span style=text-align:left>f[o\]o</span><p>extra" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","false"\],["justifyleft",""\]\] "<span style=text-align:left>f[o\]o</span><p>extra" compare innerHTML]
    expected: FAIL

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

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

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

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

