[inserthtml.html] type: testharness [[["stylewithcss","true"\],["inserthtml","abcd"\]\] "[foobar\]baz" compare innerHTML] expected: FAIL [[["stylewithcss","false"\],["inserthtml","abcd"\]\] "[foobar\]baz" compare innerHTML] expected: FAIL [[["stylewithcss","true"\],["inserthtml","abcd"\]\] "{foobar}baz" compare innerHTML] expected: FAIL [[["stylewithcss","false"\],["inserthtml","abcd"\]\] "{foobar}baz" compare innerHTML] expected: FAIL [[["stylewithcss","true"\],["inserthtml","abcd"\]\] "foo[barbaz\]quz" compare innerHTML] expected: FAIL [[["stylewithcss","false"\],["inserthtml","abcd"\]\] "foo[barbaz\]quz" compare innerHTML] expected: FAIL [[["stylewithcss","true"\],["inserthtml",""\]\] "foo[bar\]baz" compare innerHTML] expected: FAIL [[["stylewithcss","false"\],["inserthtml",""\]\] "foo[bar\]baz" compare innerHTML] expected: FAIL [[["defaultparagraphseparator","div"\],["inserthtml","

abc"\]\] "

foo[bar\]baz": execCommand("defaultparagraphseparator", false, "div") return value] expected: FAIL [[["defaultparagraphseparator","div"\],["inserthtml","

abc"\]\] "

foo[bar\]baz" queryCommandValue("defaultparagraphseparator") before] expected: FAIL [[["defaultparagraphseparator","div"\],["inserthtml","

abc"\]\] "

foo[bar\]baz" queryCommandValue("defaultparagraphseparator") after] expected: FAIL [[["defaultparagraphseparator","p"\],["inserthtml","

abc"\]\] "

foo[bar\]baz": execCommand("defaultparagraphseparator", false, "p") return value] expected: FAIL [[["defaultparagraphseparator","p"\],["inserthtml","

abc"\]\] "

foo[bar\]baz" queryCommandValue("defaultparagraphseparator") before] expected: FAIL [[["defaultparagraphseparator","p"\],["inserthtml","

abc"\]\] "

foo[bar\]baz" queryCommandValue("defaultparagraphseparator") after] expected: FAIL [[["defaultparagraphseparator","div"\],["inserthtml","

  • abc"\]\] "

    foo[bar\]baz": execCommand("defaultparagraphseparator", false, "div") return value] expected: FAIL [[["defaultparagraphseparator","div"\],["inserthtml","

  • abc"\]\] "

    foo[bar\]baz" compare innerHTML] expected: FAIL [[["defaultparagraphseparator","div"\],["inserthtml","

  • abc"\]\] "

    foo[bar\]baz" queryCommandValue("defaultparagraphseparator") before] expected: FAIL [[["defaultparagraphseparator","div"\],["inserthtml","

  • abc"\]\] "

    foo[bar\]baz" queryCommandValue("defaultparagraphseparator") after] expected: FAIL [[["defaultparagraphseparator","p"\],["inserthtml","

  • abc"\]\] "

    foo[bar\]baz": execCommand("defaultparagraphseparator", false, "p") return value] expected: FAIL [[["defaultparagraphseparator","p"\],["inserthtml","

  • abc"\]\] "

    foo[bar\]baz" compare innerHTML] expected: FAIL [[["defaultparagraphseparator","p"\],["inserthtml","

  • abc"\]\] "

    foo[bar\]baz" queryCommandValue("defaultparagraphseparator") before] expected: FAIL [[["defaultparagraphseparator","p"\],["inserthtml","

  • abc"\]\] "

    foo[bar\]baz" queryCommandValue("defaultparagraphseparator") after] expected: FAIL [[["defaultparagraphseparator","div"\],["inserthtml","

    abc"\]\] "

      {
    1. foo
    2. }
    3. bar
    ": execCommand("defaultparagraphseparator", false, "div") return value] expected: FAIL [[["defaultparagraphseparator","div"\],["inserthtml","

    abc"\]\] "

      {
    1. foo
    2. }
    3. bar
    " queryCommandValue("defaultparagraphseparator") before] expected: FAIL [[["defaultparagraphseparator","div"\],["inserthtml","

    abc"\]\] "

      {
    1. foo
    2. }
    3. bar
    " queryCommandValue("defaultparagraphseparator") after] expected: FAIL [[["defaultparagraphseparator","p"\],["inserthtml","

    abc"\]\] "

      {
    1. foo
    2. }
    3. bar
    ": execCommand("defaultparagraphseparator", false, "p") return value] expected: FAIL [[["defaultparagraphseparator","p"\],["inserthtml","

    abc"\]\] "

      {
    1. foo
    2. }
    3. bar
    " queryCommandValue("defaultparagraphseparator") before] expected: FAIL [[["defaultparagraphseparator","p"\],["inserthtml","

    abc"\]\] "

      {
    1. foo
    2. }
    3. bar
    " queryCommandValue("defaultparagraphseparator") after] expected: FAIL [[["defaultparagraphseparator","div"\],["inserthtml","

    abc"\]\] "

    1. foo
    2. {
    3. bar
    4. }
    5. baz
    ": execCommand("defaultparagraphseparator", false, "div") return value] expected: FAIL [[["defaultparagraphseparator","div"\],["inserthtml","

    abc"\]\] "

    1. foo
    2. {
    3. bar
    4. }
    5. baz
    " queryCommandValue("defaultparagraphseparator") before] expected: FAIL [[["defaultparagraphseparator","div"\],["inserthtml","

    abc"\]\] "

    1. foo
    2. {
    3. bar
    4. }
    5. baz
    " queryCommandValue("defaultparagraphseparator") after] expected: FAIL [[["defaultparagraphseparator","p"\],["inserthtml","

    abc"\]\] "

    1. foo
    2. {
    3. bar
    4. }
    5. baz
    ": execCommand("defaultparagraphseparator", false, "p") return value] expected: FAIL [[["defaultparagraphseparator","p"\],["inserthtml","

    abc"\]\] "

    1. foo
    2. {
    3. bar
    4. }
    5. baz
    " queryCommandValue("defaultparagraphseparator") before] expected: FAIL [[["defaultparagraphseparator","p"\],["inserthtml","

    abc"\]\] "

    1. foo
    2. {
    3. bar
    4. }
    5. baz
    " queryCommandValue("defaultparagraphseparator") after] expected: FAIL [[["defaultparagraphseparator","div"\],["inserthtml","

    abc"\]\] "

    1. [foo\]
    2. bar
    ": execCommand("defaultparagraphseparator", false, "div") return value] expected: FAIL [[["defaultparagraphseparator","div"\],["inserthtml","

    abc"\]\] "

    1. [foo\]
    2. bar
    " queryCommandValue("defaultparagraphseparator") before] expected: FAIL [[["defaultparagraphseparator","div"\],["inserthtml","

    abc"\]\] "

    1. [foo\]
    2. bar
    " queryCommandValue("defaultparagraphseparator") after] expected: FAIL [[["defaultparagraphseparator","p"\],["inserthtml","

    abc"\]\] "

    1. [foo\]
    2. bar
    ": execCommand("defaultparagraphseparator", false, "p") return value] expected: FAIL [[["defaultparagraphseparator","p"\],["inserthtml","

    abc"\]\] "

    1. [foo\]
    2. bar
    " queryCommandValue("defaultparagraphseparator") before] expected: FAIL [[["defaultparagraphseparator","p"\],["inserthtml","

    abc"\]\] "

    1. [foo\]
    2. bar
    " queryCommandValue("defaultparagraphseparator") after] expected: FAIL [[["inserthtml","abc"\]\] "f[o\]o" compare innerHTML] expected: FAIL [[["stylewithcss","true"\],["inserthtml","abc"\]\] "f[o\]o" compare innerHTML] expected: FAIL [[["stylewithcss","false"\],["inserthtml","abc"\]\] "f[o\]o" compare innerHTML] expected: FAIL [[["stylewithcss","true"\],["inserthtml","abc"\]\] "bar" compare innerHTML] expected: FAIL [[["stylewithcss","false"\],["inserthtml","abc"\]\] "bar" compare innerHTML] expected: FAIL [[["defaultparagraphseparator","div"\],["inserthtml","
    "\]\] "

    f[o\]o": execCommand("defaultparagraphseparator", false, "div") return value] expected: FAIL [[["defaultparagraphseparator","div"\],["inserthtml","


    "\]\] "

    f[o\]o" queryCommandValue("defaultparagraphseparator") before] expected: FAIL [[["defaultparagraphseparator","div"\],["inserthtml","


    "\]\] "

    f[o\]o" queryCommandValue("defaultparagraphseparator") after] expected: FAIL [[["defaultparagraphseparator","p"\],["inserthtml","


    "\]\] "

    f[o\]o": execCommand("defaultparagraphseparator", false, "p") return value] expected: FAIL [[["defaultparagraphseparator","p"\],["inserthtml","


    "\]\] "

    f[o\]o" queryCommandValue("defaultparagraphseparator") before] expected: FAIL [[["defaultparagraphseparator","p"\],["inserthtml","


    "\]\] "

    f[o\]o" queryCommandValue("defaultparagraphseparator") after] expected: FAIL [[["inserthtml","

    abc
    "\]\] "
    f[o\]o
    bar
    " compare innerHTML] expected: FAIL [[["inserthtml","
    abc
    "\]\] "f[o\]o" compare innerHTML] expected: FAIL [[["inserthtml","
    abc
    "\]\] "
    1. f[o\]o
    " compare innerHTML] expected: FAIL [[["inserthtml","
    abc
    "\]\] "f[o\]o" compare innerHTML] expected: FAIL [[["inserthtml","
    abc
    "\]\] "
    1. f[o\]o
    " compare innerHTML] expected: FAIL [[["inserthtml","
    1. abc
    "\]\] "
  • f[o\]o
  • " compare innerHTML] expected: FAIL [[["inserthtml","
    1. abc
    "\]\] "
    1. f[o\]o
    " compare innerHTML] expected: FAIL [[["inserthtml","
    1. abc
    "\]\] "
    • f[o\]o
    " compare innerHTML] expected: FAIL [[["inserthtml","
    • abc
    "\]\] "
  • f[o\]o
  • " compare innerHTML] expected: FAIL [[["inserthtml","
    • abc
    "\]\] "
    1. f[o\]o
    " compare innerHTML] expected: FAIL [[["inserthtml","
    • abc
    "\]\] "
    • f[o\]o
    " compare innerHTML] expected: FAIL [[["defaultparagraphseparator","div"\],["inserthtml","
  • abc
  • "\]\] "f[o\]o": execCommand("defaultparagraphseparator", false, "div") return value] expected: FAIL [[["defaultparagraphseparator","div"\],["inserthtml","
  • abc
  • "\]\] "f[o\]o" compare innerHTML] expected: FAIL [[["defaultparagraphseparator","div"\],["inserthtml","
  • abc
  • "\]\] "f[o\]o" queryCommandValue("defaultparagraphseparator") before] expected: FAIL [[["defaultparagraphseparator","div"\],["inserthtml","
  • abc
  • "\]\] "f[o\]o" queryCommandValue("defaultparagraphseparator") after] expected: FAIL [[["defaultparagraphseparator","p"\],["inserthtml","
  • abc
  • "\]\] "f[o\]o": execCommand("defaultparagraphseparator", false, "p") return value] expected: FAIL [[["defaultparagraphseparator","p"\],["inserthtml","
  • abc
  • "\]\] "f[o\]o" compare innerHTML] expected: FAIL [[["defaultparagraphseparator","p"\],["inserthtml","
  • abc
  • "\]\] "f[o\]o" queryCommandValue("defaultparagraphseparator") before] expected: FAIL [[["defaultparagraphseparator","p"\],["inserthtml","
  • abc
  • "\]\] "f[o\]o" queryCommandValue("defaultparagraphseparator") after] expected: FAIL [[["inserthtml","abc"\]\] "f[o\]o" compare innerHTML] expected: FAIL [[["stylewithcss","true"\],["defaultparagraphseparator","div"\],["inserthtml","

    abc"\]\] "foo[\]bar": execCommand("defaultparagraphseparator", false, "div") return value] expected: FAIL [[["stylewithcss","true"\],["defaultparagraphseparator","div"\],["inserthtml","

    abc"\]\] "foo[\]bar" compare innerHTML] expected: FAIL [[["stylewithcss","true"\],["defaultparagraphseparator","div"\],["inserthtml","

    abc"\]\] "foo[\]bar" queryCommandValue("defaultparagraphseparator") before] expected: FAIL [[["stylewithcss","true"\],["defaultparagraphseparator","div"\],["inserthtml","

    abc"\]\] "foo[\]bar" queryCommandValue("defaultparagraphseparator") after] expected: FAIL [[["stylewithcss","false"\],["defaultparagraphseparator","div"\],["inserthtml","

    abc"\]\] "foo[\]bar": execCommand("defaultparagraphseparator", false, "div") return value] expected: FAIL [[["stylewithcss","false"\],["defaultparagraphseparator","div"\],["inserthtml","

    abc"\]\] "foo[\]bar" compare innerHTML] expected: FAIL [[["stylewithcss","false"\],["defaultparagraphseparator","div"\],["inserthtml","

    abc"\]\] "foo[\]bar" queryCommandValue("defaultparagraphseparator") before] expected: FAIL [[["stylewithcss","false"\],["defaultparagraphseparator","div"\],["inserthtml","

    abc"\]\] "foo[\]bar" queryCommandValue("defaultparagraphseparator") after] expected: FAIL [[["stylewithcss","true"\],["defaultparagraphseparator","p"\],["inserthtml","

    abc"\]\] "foo[\]bar": execCommand("defaultparagraphseparator", false, "p") return value] expected: FAIL [[["stylewithcss","true"\],["defaultparagraphseparator","p"\],["inserthtml","

    abc"\]\] "foo[\]bar" compare innerHTML] expected: FAIL [[["stylewithcss","true"\],["defaultparagraphseparator","p"\],["inserthtml","

    abc"\]\] "foo[\]bar" queryCommandValue("defaultparagraphseparator") before] expected: FAIL [[["stylewithcss","true"\],["defaultparagraphseparator","p"\],["inserthtml","

    abc"\]\] "foo[\]bar" queryCommandValue("defaultparagraphseparator") after] expected: FAIL [[["stylewithcss","false"\],["defaultparagraphseparator","p"\],["inserthtml","

    abc"\]\] "foo[\]bar": execCommand("defaultparagraphseparator", false, "p") return value] expected: FAIL [[["stylewithcss","false"\],["defaultparagraphseparator","p"\],["inserthtml","

    abc"\]\] "foo[\]bar" compare innerHTML] expected: FAIL [[["stylewithcss","false"\],["defaultparagraphseparator","p"\],["inserthtml","

    abc"\]\] "foo[\]bar" queryCommandValue("defaultparagraphseparator") before] expected: FAIL [[["stylewithcss","false"\],["defaultparagraphseparator","p"\],["inserthtml","

    abc"\]\] "foo[\]bar" queryCommandValue("defaultparagraphseparator") after] expected: FAIL [[["stylewithcss","true"\],["defaultparagraphseparator","div"\],["inserthtml","

    abc"\]\] "foo[\]bar": execCommand("defaultparagraphseparator", false, "div") return value] expected: FAIL [[["stylewithcss","true"\],["defaultparagraphseparator","div"\],["inserthtml","

    abc"\]\] "foo[\]bar" compare innerHTML] expected: FAIL [[["stylewithcss","true"\],["defaultparagraphseparator","div"\],["inserthtml","

    abc"\]\] "foo[\]bar" queryCommandValue("defaultparagraphseparator") before] expected: FAIL [[["stylewithcss","true"\],["defaultparagraphseparator","div"\],["inserthtml","

    abc"\]\] "foo[\]bar" queryCommandValue("defaultparagraphseparator") after] expected: FAIL [[["stylewithcss","false"\],["defaultparagraphseparator","div"\],["inserthtml","

    abc"\]\] "foo[\]bar": execCommand("defaultparagraphseparator", false, "div") return value] expected: FAIL [[["stylewithcss","false"\],["defaultparagraphseparator","div"\],["inserthtml","

    abc"\]\] "foo[\]bar" compare innerHTML] expected: FAIL [[["stylewithcss","false"\],["defaultparagraphseparator","div"\],["inserthtml","

    abc"\]\] "foo[\]bar" queryCommandValue("defaultparagraphseparator") before] expected: FAIL [[["stylewithcss","false"\],["defaultparagraphseparator","div"\],["inserthtml","

    abc"\]\] "foo[\]bar" queryCommandValue("defaultparagraphseparator") after] expected: FAIL [[["stylewithcss","true"\],["defaultparagraphseparator","p"\],["inserthtml","

    abc"\]\] "foo[\]bar": execCommand("defaultparagraphseparator", false, "p") return value] expected: FAIL [[["stylewithcss","true"\],["defaultparagraphseparator","p"\],["inserthtml","

    abc"\]\] "foo[\]bar" compare innerHTML] expected: FAIL [[["stylewithcss","true"\],["defaultparagraphseparator","p"\],["inserthtml","

    abc"\]\] "foo[\]bar" queryCommandValue("defaultparagraphseparator") before] expected: FAIL [[["stylewithcss","true"\],["defaultparagraphseparator","p"\],["inserthtml","

    abc"\]\] "foo[\]bar" queryCommandValue("defaultparagraphseparator") after] expected: FAIL [[["stylewithcss","false"\],["defaultparagraphseparator","p"\],["inserthtml","

    abc"\]\] "foo[\]bar": execCommand("defaultparagraphseparator", false, "p") return value] expected: FAIL [[["stylewithcss","false"\],["defaultparagraphseparator","p"\],["inserthtml","

    abc"\]\] "foo[\]bar" compare innerHTML] expected: FAIL [[["stylewithcss","false"\],["defaultparagraphseparator","p"\],["inserthtml","

    abc"\]\] "foo[\]bar" queryCommandValue("defaultparagraphseparator") before] expected: FAIL [[["stylewithcss","false"\],["defaultparagraphseparator","p"\],["inserthtml","

    abc"\]\] "foo[\]bar" queryCommandValue("defaultparagraphseparator") after] expected: FAIL [[["stylewithcss","true"\],["defaultparagraphseparator","div"\],["inserthtml","

    abc"\]\] "foo[\]bar": execCommand("defaultparagraphseparator", false, "div") return value] expected: FAIL [[["stylewithcss","true"\],["defaultparagraphseparator","div"\],["inserthtml","

    abc"\]\] "foo[\]bar" queryCommandValue("defaultparagraphseparator") before] expected: FAIL [[["stylewithcss","true"\],["defaultparagraphseparator","div"\],["inserthtml","

    abc"\]\] "foo[\]bar" queryCommandValue("defaultparagraphseparator") after] expected: FAIL [[["stylewithcss","false"\],["defaultparagraphseparator","div"\],["inserthtml","

    abc"\]\] "foo[\]bar": execCommand("defaultparagraphseparator", false, "div") return value] expected: FAIL [[["stylewithcss","false"\],["defaultparagraphseparator","div"\],["inserthtml","

    abc"\]\] "foo[\]bar" queryCommandValue("defaultparagraphseparator") before] expected: FAIL [[["stylewithcss","false"\],["defaultparagraphseparator","div"\],["inserthtml","

    abc"\]\] "foo[\]bar" queryCommandValue("defaultparagraphseparator") after] expected: FAIL [[["stylewithcss","true"\],["defaultparagraphseparator","p"\],["inserthtml","

    abc"\]\] "foo[\]bar": execCommand("defaultparagraphseparator", false, "p") return value] expected: FAIL [[["stylewithcss","true"\],["defaultparagraphseparator","p"\],["inserthtml","

    abc"\]\] "foo[\]bar" queryCommandValue("defaultparagraphseparator") before] expected: FAIL [[["stylewithcss","true"\],["defaultparagraphseparator","p"\],["inserthtml","

    abc"\]\] "foo[\]bar" queryCommandValue("defaultparagraphseparator") after] expected: FAIL [[["stylewithcss","false"\],["defaultparagraphseparator","p"\],["inserthtml","

    abc"\]\] "foo[\]bar": execCommand("defaultparagraphseparator", false, "p") return value] expected: FAIL [[["stylewithcss","false"\],["defaultparagraphseparator","p"\],["inserthtml","

    abc"\]\] "foo[\]bar" queryCommandValue("defaultparagraphseparator") before] expected: FAIL [[["stylewithcss","false"\],["defaultparagraphseparator","p"\],["inserthtml","

    abc"\]\] "foo[\]bar" queryCommandValue("defaultparagraphseparator") after] expected: FAIL [[["inserthtml"," "\]\] "

    [foo\]

    " compare innerHTML] expected: FAIL [[["stylewithcss","true"\],["inserthtml",""\]\] "

    [foo\]

    " compare innerHTML] expected: FAIL [[["stylewithcss","false"\],["inserthtml",""\]\] "

    [foo\]

    " compare innerHTML] expected: FAIL [[["inserthtml",""\]\] "

    [foo\]

    " compare innerHTML] expected: FAIL [[["inserthtml",""\]\] "

    {}

    " compare innerHTML] expected: FAIL [[["inserthtml","abc"\]\] "

    {}

    " compare innerHTML] expected: FAIL [[["inserthtml",""\]\] "

    {}

    " compare innerHTML] expected: FAIL [[["inserthtml","abc"\]\] "

    {}

    " compare innerHTML] expected: FAIL [[["inserthtml",""\]\] "

    {}

    " compare innerHTML] expected: FAIL [[["inserthtml",""\]\] "


    {}

    " compare innerHTML] expected: FAIL [[["inserthtml",""\]\] "


    {}

    " compare innerHTML] expected: FAIL [[["inserthtml",""\]\] "


    {}

    " compare innerHTML] expected: FAIL