This is a testharness.js-based test. Found 61 FAIL, 0 TIMEOUT, 0 NOTRUN. [FAIL] [["stylewithcss","true"],["inserthtml","abcd"]] "foo[]bar" queryCommandState("stylewithcss") before assert_equals: Wrong result returned expected false but got true [FAIL] [["defaultparagraphseparator","div"],["inserthtml","

abc"]] "

foo[bar]baz" compare innerHTML assert_equals: Unexpected innerHTML (after normalizing inline style) expected "

foo

abc

baz

" but got "

fooabcbaz

" [FAIL] [["defaultparagraphseparator","p"],["inserthtml","

abc"]] "

foo[bar]baz" compare innerHTML assert_equals: Unexpected innerHTML (after normalizing inline style) expected "

foo

abc

baz

" but got "

fooabcbaz

" [FAIL] [["defaultparagraphseparator","div"],["inserthtml","
  • abc"]] "

    foo[bar]baz" compare innerHTML assert_equals: Unexpected innerHTML (after normalizing inline style) expected "

    foo

    abc

    baz

    " but got "

    foo

  • abc
  • baz

    " [FAIL] [["defaultparagraphseparator","p"],["inserthtml","
  • abc"]] "

    foo[bar]baz" compare innerHTML assert_equals: Unexpected innerHTML (after normalizing inline style) expected "

    foo

    abc

    baz

    " but got "

    foo

  • abc
  • baz

    " [FAIL] [["defaultparagraphseparator","div"],["inserthtml","

    abc"]] "

      {
    1. foo
    2. }
    3. bar
    " compare innerHTML assert_equals: Unexpected innerHTML (after normalizing inline style) expected "

    abc

    1. bar
    " but got "
    1. abcbar
    " [FAIL] [["defaultparagraphseparator","p"],["inserthtml","

    abc"]] "

      {
    1. foo
    2. }
    3. bar
    " compare innerHTML assert_equals: Unexpected innerHTML (after normalizing inline style) expected "

    abc

    1. bar
    " but got "
    1. abcbar
    " [FAIL] [["defaultparagraphseparator","div"],["inserthtml","

    abc"]] "

    1. foo
    2. {
    3. bar
    4. }
    5. baz
    " compare innerHTML assert_equals: Unexpected innerHTML (after normalizing inline style) expected "
    1. foo

    abc

    1. baz
    " but got "
    1. foo
    2. abcbaz
    " [FAIL] [["defaultparagraphseparator","p"],["inserthtml","

    abc"]] "

    1. foo
    2. {
    3. bar
    4. }
    5. baz
    " compare innerHTML assert_equals: Unexpected innerHTML (after normalizing inline style) expected "
    1. foo

    abc

    1. baz
    " but got "
    1. foo
    2. abcbaz
    " [FAIL] [["inserthtml","abc"]] "bar" compare innerHTML assert_equals: Unexpected innerHTML (after normalizing inline style) expected "bar" but got "abcbar" [FAIL] [["stylewithcss","true"],["inserthtml","abc"]] "bar" compare innerHTML assert_equals: Unexpected innerHTML (after normalizing inline style) expected "bar" but got "abcbar" [FAIL] [["stylewithcss","false"],["inserthtml","abc"]] "bar" compare innerHTML assert_equals: Unexpected innerHTML (after normalizing inline style) expected "bar" but got "abcbar" [FAIL] [["inserthtml","abc"]] "f[o]o" compare innerHTML assert_equals: Unexpected innerHTML (after normalizing inline style) expected "fabco" but got "fabco" [FAIL] [["inserthtml","abc"]] "f[o]o" compare innerHTML assert_equals: Unexpected innerHTML (after normalizing inline style) expected "fabco" but got "fabco" [FAIL] [["inserthtml","
    abc
    "]] "
    f[o]o
    bar
    " compare innerHTML assert_equals: Unexpected innerHTML (after normalizing inline style) expected "
    f
    abc
    o
    bar
    " but got "
    f
    abc
    o
    bar
    " [FAIL] [["inserthtml","
    abc
    "]] "
    foo
    b[a]r
    " compare innerHTML assert_equals: Unexpected innerHTML (after normalizing inline style) expected "
    foo
    b
    abc
    r
    " but got "
    foo
    b
    abc
    r
    " [FAIL] [["inserthtml","
    abc
    "]] "
    f[o]o
    bar
    " compare innerHTML assert_equals: Unexpected innerHTML (after normalizing inline style) expected "
    f
    abc
    o
    bar
    " but got "
    f
    abc
    o
    bar
    " [FAIL] [["inserthtml","
    abc
    "]] "
    foo
    b[a]r
    " compare innerHTML assert_equals: Unexpected innerHTML (after normalizing inline style) expected "
    foo
    b
    abc
    r
    " but got "
    foo
    b
    abc
    r
    " [FAIL] [["inserthtml","
    abc
    "]] "f[o]o" compare innerHTML assert_equals: Unexpected innerHTML (after normalizing inline style) expected "f
    abc
    o" but got "f
    abc
    o" [FAIL] [["inserthtml","
    abc
    "]] "
    1. f[o]o
    " compare innerHTML assert_equals: Unexpected innerHTML (after normalizing inline style) expected "
    1. f
      abc
      o
    " but got "
    1. f
    2. abc
    3. o
    " [FAIL] [["inserthtml","
    abc
    "]] "f[o]o" compare innerHTML assert_equals: Unexpected innerHTML (after normalizing inline style) expected "f
    abc
    o" but got "f
    abc
    o" [FAIL] [["inserthtml","
    abc
    "]] "
    1. f[o]o
    " compare innerHTML assert_equals: Unexpected innerHTML (after normalizing inline style) expected "
    1. f
      abc
      o
    " but got "
    1. f
    2. abc
    3. o
    " [FAIL] [["inserthtml","
    1. abc
    "]] "
  • f[o]o
  • " compare innerHTML assert_equals: Unexpected innerHTML (after normalizing inline style) expected "
  • f
    1. abc
    o
  • " but got "
  • f
  • abc
  • o
  • " [FAIL] [["inserthtml","
    1. abc
    "]] "
    1. f[o]o
    " compare innerHTML assert_equals: Unexpected innerHTML (after normalizing inline style) expected "
    1. f
      1. abc
      o
    " but got "
    1. f
    2. abc
    3. o
    " [FAIL] [["inserthtml","
    1. abc
    "]] "" compare innerHTML assert_equals: Unexpected innerHTML (after normalizing inline style) expected "" but got "" [FAIL] [["inserthtml",""]] "
  • f[o]o
  • " compare innerHTML assert_equals: Unexpected innerHTML (after normalizing inline style) expected "
  • fo
  • " but got "
  • f
  • abc
  • o
  • " [FAIL] [["inserthtml",""]] "
    1. f[o]o
    " compare innerHTML assert_equals: Unexpected innerHTML (after normalizing inline style) expected "
    1. fo
    " but got "
    1. f
    2. abc
    3. o
    " [FAIL] [["inserthtml",""]] "" compare innerHTML assert_equals: Unexpected innerHTML (after normalizing inline style) expected "" but got "" [FAIL] [["defaultparagraphseparator","div"],["inserthtml","
  • abc
  • "]] "f[o]o" compare innerHTML assert_equals: Unexpected innerHTML (after normalizing inline style) expected "f
    abc
    o" but got "f
  • abc
  • o" [FAIL] [["defaultparagraphseparator","p"],["inserthtml","
  • abc
  • "]] "f[o]o" compare innerHTML assert_equals: Unexpected innerHTML (after normalizing inline style) expected "f

    abc

    o" but got "f
  • abc
  • o" [FAIL] [["inserthtml","abc"]] "f[o]o" compare innerHTML assert_equals: Unexpected innerHTML (after normalizing inline style) expected "fabco" but got "fabco" [FAIL] [["stylewithcss","true"],["defaultparagraphseparator","div"],["inserthtml","

    abc"]] "foo[]bar" compare innerHTML assert_equals: Unexpected innerHTML (after normalizing inline style) expected "foo

    abc

    bar" but got "fooabcbar
    " [FAIL] [["stylewithcss","false"],["defaultparagraphseparator","div"],["inserthtml","

    abc"]] "foo[]bar" compare innerHTML assert_equals: Unexpected innerHTML (after normalizing inline style) expected "foo

    abc

    bar" but got "fooabcbar
    " [FAIL] [["stylewithcss","true"],["defaultparagraphseparator","p"],["inserthtml","

    abc"]] "foo[]bar" compare innerHTML assert_equals: Unexpected innerHTML (after normalizing inline style) expected "foo

    abc

    bar" but got "fooabcbar
    " [FAIL] [["stylewithcss","false"],["defaultparagraphseparator","p"],["inserthtml","

    abc"]] "foo[]bar" compare innerHTML assert_equals: Unexpected innerHTML (after normalizing inline style) expected "foo

    abc

    bar" but got "fooabcbar
    " [FAIL] [["stylewithcss","true"],["defaultparagraphseparator","div"],["inserthtml","

    abc"]] "foo[]bar" compare innerHTML assert_equals: Unexpected innerHTML (after normalizing inline style) expected "foo

    abc

    bar" but got "fooabcbar
    " [FAIL] [["stylewithcss","false"],["defaultparagraphseparator","div"],["inserthtml","

    abc"]] "foo[]bar" compare innerHTML assert_equals: Unexpected innerHTML (after normalizing inline style) expected "foo

    abc

    bar" but got "fooabcbar
    " [FAIL] [["stylewithcss","true"],["defaultparagraphseparator","p"],["inserthtml","

    abc"]] "foo[]bar" compare innerHTML assert_equals: Unexpected innerHTML (after normalizing inline style) expected "foo

    abc

    bar" but got "fooabcbar
    " [FAIL] [["stylewithcss","false"],["defaultparagraphseparator","p"],["inserthtml","

    abc"]] "foo[]bar" compare innerHTML assert_equals: Unexpected innerHTML (after normalizing inline style) expected "foo

    abc

    bar" but got "fooabcbar
    " [FAIL] [["stylewithcss","true"],["defaultparagraphseparator","div"],["inserthtml","

    abc"]] "foo[]bar" compare innerHTML assert_equals: Unexpected innerHTML (after normalizing inline style) expected "foo

    abc

    bar" but got "fooabcbar
    " [FAIL] [["stylewithcss","false"],["defaultparagraphseparator","div"],["inserthtml","

    abc"]] "foo[]bar" compare innerHTML assert_equals: Unexpected innerHTML (after normalizing inline style) expected "foo

    abc

    bar" but got "fooabcbar
    " [FAIL] [["stylewithcss","true"],["defaultparagraphseparator","p"],["inserthtml","

    abc"]] "foo[]bar" compare innerHTML assert_equals: Unexpected innerHTML (after normalizing inline style) expected "foo

    abc

    bar" but got "fooabcbar
    " [FAIL] [["stylewithcss","false"],["defaultparagraphseparator","p"],["inserthtml","

    abc"]] "foo[]bar" compare innerHTML assert_equals: Unexpected innerHTML (after normalizing inline style) expected "foo

    abc

    bar" but got "fooabcbar
    " [FAIL] [["inserthtml"," "]] "

    [foo]

    " compare innerHTML assert_equals: Unexpected innerHTML (after normalizing inline style) expected "


    " but got "

    " [FAIL] [["inserthtml",""]] "

    [foo]

    " compare innerHTML assert_equals: Unexpected innerHTML (after normalizing inline style) expected "


    " but got "

    " [FAIL] [["inserthtml",""]] "

    {}

    " compare innerHTML assert_equals: Unexpected innerHTML (after normalizing inline style) expected "


    " but got "

    " [FAIL] [["inserthtml","abc"]] "

    {}

    " compare innerHTML assert_equals: Unexpected innerHTML (after normalizing inline style) expected "

    abc

    " but got "

    abc

    " [FAIL] [["inserthtml",""]] "

    {}

    " compare innerHTML assert_equals: Unexpected innerHTML (after normalizing inline style) expected "


    " but got "

    " [FAIL] [["inserthtml","abc"]] "

    {}

    " compare innerHTML assert_equals: Unexpected innerHTML (after normalizing inline style) expected "

    abc

    " but got "

    abc

    " [FAIL] [["inserthtml",""]] "

    {}

    " compare innerHTML assert_equals: Unexpected innerHTML (after normalizing inline style) expected "


    " but got "

    " [FAIL] [["inserthtml",""]] "


    {}

    " compare innerHTML assert_in_array: Unexpected innerHTML (after normalizing inline style) value "

    " not in array ["


    ", "


    "] [FAIL] [["inserthtml","abc"]] "


    {}

    " compare innerHTML assert_in_array: Unexpected innerHTML (after normalizing inline style) value "

    abc

    " not in array ["

    abc

    ", "

    abc

    "] [FAIL] [["inserthtml",""]] "


    {}

    " compare innerHTML assert_equals: Unexpected innerHTML (after normalizing inline style) expected "


    " but got "

    " [FAIL] [["inserthtml","abc"]] "


    {}

    " compare innerHTML assert_equals: Unexpected innerHTML (after normalizing inline style) expected "

    abc

    " but got "

    abc

    " [FAIL] [["inserthtml",""]] "


    {}

    " compare innerHTML assert_in_array: Unexpected innerHTML (after normalizing inline style) value "

    " not in array ["


    ", "


    "] [FAIL] [["inserthtml","
    abc
    "]] "
    12[]34
    " compare innerHTML assert_equals: Unexpected innerHTML (after normalizing inline style) expected "
    12abc34
    " but got "
    12abc34
    " [FAIL] [["inserthtml","
    abc
    "]] "
    1[23]4
    " compare innerHTML assert_equals: Unexpected innerHTML (after normalizing inline style) expected "
    1abc4
    " but got "
    1abc4
    " [FAIL] [["inserthtml","
    abc
    "]] "
    [1234]
    " compare innerHTML assert_in_array: Unexpected innerHTML (after normalizing inline style) value "
    abc
    " not in array ["
    abc
    ", "
    abc
    "] [FAIL] [["inserthtml",""]] "
    a[]b
    " compare innerHTML assert_in_array: Unexpected innerHTML (after normalizing inline style) value "
    ab
    " not in array ["
    ab
    ", "
    ab
    "] [FAIL] [["inserthtml","X"]] "
    []\\n
    " compare innerHTML assert_equals: Unexpected innerHTML (after normalizing inline style) expected "
    X
    " but got "
    X\\n
    " [FAIL] [["inserthtml","X"]] "
    []\\n
    " compare innerHTML assert_equals: Unexpected innerHTML (after normalizing inline style) expected "
    X
    " but got "
    X\\n
    " Harness: the test ran to completion.