[insertimage.html]
  type: testharness
  prefs: [editor.use_div_for_default_newlines: true]
  [[["insertimage","/img/lion.svg"\]\] "foo{<span style=color:#aBcDeF>bar</span>}baz" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","true"\],["insertimage","/img/lion.svg"\]\] "[foo<span style=color:#aBcDeF>bar\]</span>baz" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","false"\],["insertimage","/img/lion.svg"\]\] "[foo<span style=color:#aBcDeF>bar\]</span>baz" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","true"\],["insertimage","/img/lion.svg"\]\] "{foo<span style=color:#aBcDeF>bar}</span>baz" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","false"\],["insertimage","/img/lion.svg"\]\] "{foo<span style=color:#aBcDeF>bar}</span>baz" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","true"\],["insertimage","/img/lion.svg"\]\] "foo<span style=color:#aBcDeF>[bar</span><span style=color:#fEdCbA>baz\]</span>quz" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","false"\],["insertimage","/img/lion.svg"\]\] "foo<span style=color:#aBcDeF>[bar</span><span style=color:#fEdCbA>baz\]</span>quz" compare innerHTML]
    expected: FAIL

  [[["insertimage","/img/lion.svg"\]\] "foo{<b>bar</b>}baz" compare innerHTML]
    expected: FAIL

  [[["insertimage","/img/lion.svg"\]\] "foo{<span>bar</span>}baz" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","true"\],["defaultparagraphseparator","div"\],["insertimage","/img/lion.svg"\]\] "<p>foo[bar<p style=color:blue>baz\]quz" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","false"\],["defaultparagraphseparator","div"\],["insertimage","/img/lion.svg"\]\] "<p>foo[bar<p style=color:blue>baz\]quz" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","true"\],["defaultparagraphseparator","p"\],["insertimage","/img/lion.svg"\]\] "<p>foo[bar<p style=color:blue>baz\]quz" compare innerHTML]
    expected: FAIL

  [[["stylewithcss","false"\],["defaultparagraphseparator","p"\],["insertimage","/img/lion.svg"\]\] "<p>foo[bar<p style=color:blue>baz\]quz" compare innerHTML]
    expected: FAIL

  [[["defaultparagraphseparator","div"\],["insertimage","/img/lion.svg"\]\] "<div><p>foo<p>[bar<p>baz\]</div>" compare innerHTML]
    expected: FAIL

  [[["defaultparagraphseparator","p"\],["insertimage","/img/lion.svg"\]\] "<div><p>foo<p>[bar<p>baz\]</div>" compare innerHTML]
    expected: FAIL

  [[["insertimage","/img/lion.svg"\]\] "foo[<p>\]bar<br>baz</p>" compare innerHTML]
    expected: FAIL

  [[["defaultparagraphseparator","div"\],["insertimage","/img/lion.svg"\]\] "foo[<p>\]bar</p>baz" compare innerHTML]
    expected: FAIL

  [[["defaultparagraphseparator","p"\],["insertimage","/img/lion.svg"\]\] "foo[<p>\]bar</p>baz" compare innerHTML]
    expected: FAIL

  [[["insertimage","/img/lion.svg"\]\] "<p>foo[</p>\]bar<br>baz" compare innerHTML]
    expected: FAIL

  [[["defaultparagraphseparator","div"\],["insertimage","/img/lion.svg"\]\] "foo[<div><p>\]bar</div>" compare innerHTML]
    expected: FAIL

  [[["defaultparagraphseparator","p"\],["insertimage","/img/lion.svg"\]\] "foo[<div><p>\]bar</div>" compare innerHTML]
    expected: FAIL

