This is a testharness.js-based test.
Found 17 FAIL, 0 TIMEOUT, 0 NOTRUN.
[FAIL] [["stylewithcss","true"],["defaultparagraphseparator","p"],["insertparagraph",""]] "
foo[]bar
" queryCommandState("stylewithcss") before
assert_equals: Wrong result returned expected false but got true
[FAIL] [["defaultparagraphseparator","div"],["insertparagraph",""]] "foo[]bar" compare innerHTML
assert_equals: Unexpected innerHTML (after normalizing inline style) expected "" but got "foo"
[FAIL] [["defaultparagraphseparator","p"],["insertparagraph",""]] "foo[]bar" compare innerHTML
assert_equals: Unexpected innerHTML (after normalizing inline style) expected "foo
bar
" but got "foobar
"
[FAIL] [["defaultparagraphseparator","div"],["insertparagraph",""]] "foo[]barbaz" compare innerHTML
assert_equals: Unexpected innerHTML (after normalizing inline style) expected "" but got "foo"
[FAIL] [["defaultparagraphseparator","p"],["insertparagraph",""]] "foo[]barbaz" compare innerHTML
assert_equals: Unexpected innerHTML (after normalizing inline style) expected "foo
barbaz
" but got "foobarbaz
"
[FAIL] [["defaultparagraphseparator","div"],["insertparagraph",""]] "foo[]bar" compare innerHTML
assert_equals: Unexpected innerHTML (after normalizing inline style) expected "bar
" but got "foobar
"
[FAIL] [["defaultparagraphseparator","p"],["insertparagraph",""]] "foo[]bar" compare innerHTML
assert_equals: Unexpected innerHTML (after normalizing inline style) expected "foo
bar
" but got "foobar
"
[FAIL] [["defaultparagraphseparator","div"],["insertparagraph",""]] "foo[]bar" compare innerHTML
assert_equals: Unexpected innerHTML (after normalizing inline style) expected "foo
" but got "foo"
[FAIL] [["defaultparagraphseparator","p"],["insertparagraph",""]] "foo[]bar" compare innerHTML
assert_equals: Unexpected innerHTML (after normalizing inline style) expected "foo
bar
" but got "foobar
"
[FAIL] [["defaultparagraphseparator","div"],["insertparagraph",""]] "foo[]
" compare innerHTML
assert_equals: Unexpected innerHTML (after normalizing inline style) expected "foo
" but got "foo
"
[FAIL] [["defaultparagraphseparator","p"],["insertparagraph",""]] "" compare innerHTML
assert_equals: Unexpected innerHTML (after normalizing inline style) expected "
" but got "
"
[FAIL] [["defaultparagraphseparator","div"],["insertparagraph",""]] "[]foo
" compare innerHTML
assert_equals: Unexpected innerHTML (after normalizing inline style) expected "
foo
" but got "
foo
"
[FAIL] [["defaultparagraphseparator","p"],["insertparagraph",""]] "" compare innerHTML
assert_equals: Unexpected innerHTML (after normalizing inline style) expected "
" but got "
"
[FAIL] [["defaultparagraphseparator","div"],["insertparagraph",""]] "foo[]" compare innerHTML
assert_equals: Unexpected innerHTML (after normalizing inline style) expected "
foo
" but got "foo
"
[FAIL] [["defaultparagraphseparator","p"],["insertparagraph",""]] "foo[]" compare innerHTML
assert_equals: Unexpected innerHTML (after normalizing inline style) expected "
foo
" but got "foo
"
[FAIL] [["defaultparagraphseparator","div"],["insertparagraph",""]] "[]bar" compare innerHTML
assert_equals: Unexpected innerHTML (after normalizing inline style) expected "
bar
" but got "
bar
"
[FAIL] [["defaultparagraphseparator","p"],["insertparagraph",""]] "[]bar" compare innerHTML
assert_equals: Unexpected innerHTML (after normalizing inline style) expected "
bar
" but got "
bar
"
Harness: the test ran to completion.