This is a testharness.js-based test. Found 65 FAIL, 0 TIMEOUT, 0 NOTRUN. [FAIL] [["defaultparagraphseparator","p"],["formatblock","

"]] "

[foo
bar]

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

foo
bar

" but got "

foo
bar

" [FAIL] [["defaultparagraphseparator","p"],["formatblock","

"]] "

[foo
bar]

" queryCommandValue("defaultparagraphseparator") after assert_equals: Wrong result returned expected "p" but got "div" [FAIL] [["defaultparagraphseparator","p"],["formatblock","

"]] "

[foo
bar]

" queryCommandValue("formatblock") after assert_equals: Wrong result returned expected "p" but got "h1" [FAIL] [["formatblock","
"]] "

[foo]
bar

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

bar

" but got "

foo
bar

" [FAIL] [["formatblock","
"]] "

foo
[bar]

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

foo

bar
" but got "

foo
bar

" [FAIL] [["formatblock","
"]] "

[foo]
bar

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

bar

" but got "

foo
bar

" [FAIL] [["formatblock","
"]] "

foo
[bar]

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

foo

bar
" but got "

foo
bar

" [FAIL] [["formatblock","

"]] "

[foo]
bar

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

foo

bar

" but got "

foo

bar" [FAIL] [["formatblock","

"]] "

foo
[bar]

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

foo

bar

" but got "

foo

bar

" [FAIL] [["formatblock","

"]] "

[foo]
bar

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

foo

bar

" but got "

foo

bar

" [FAIL] [["formatblock","

"]] "

foo
[bar]

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

foo

bar

" but got "

foo

bar

" [FAIL] [["defaultparagraphseparator","div"],["formatblock","

"]] "

[foo
bar]

" queryCommandValue("defaultparagraphseparator") before assert_equals: Wrong result returned expected "p" but got "div" [FAIL] [["formatblock","
"]] "

[foo]
bar

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

bar

" but got "

foo
bar

" [FAIL] [["formatblock","
"]] "

foo
[bar]

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

foo

bar
" but got "

foo

bar

" [FAIL] [["formatblock","
"]] "

[foo]
bar

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

bar

" but got "

foo
bar

" [FAIL] [["formatblock","
"]] "

foo
[bar]

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

foo

bar
" but got "

foo

bar

" [FAIL] [["defaultparagraphseparator","div"],["formatblock","

"]] "

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

foo

bar
" but got "

foo

bar
" [FAIL] [["defaultparagraphseparator","p"],["formatblock","

"]] "

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

foo

bar
" but got "

foo

bar
" [FAIL] [["defaultparagraphseparator","div"],["formatblock","

"]] "

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

bar

" but got "
foo

bar

" [FAIL] [["defaultparagraphseparator","p"],["formatblock","

"]] "

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

bar

" but got "
foo

bar

" [FAIL] [["formatblock","
"]] "
[foo]
bar
" compare innerHTML assert_equals: Unexpected innerHTML (after normalizing inline style) expected "
foo
bar
" but got "
foo
bar
" [FAIL] [["formatblock","
"]] "
foo
[bar]
" compare innerHTML assert_equals: Unexpected innerHTML (after normalizing inline style) expected "
foo
bar
" but got "
foo
bar
" [FAIL] [["formatblock","

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

foo

bar
" but got "

foo

bar
" [FAIL] [["formatblock","

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

bar

" but got "
foo

bar

" [FAIL] [["defaultparagraphseparator","div"],["formatblock","

"]] "

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

foo

bar
" but got "

foo

bar
" [FAIL] [["defaultparagraphseparator","p"],["formatblock","

"]] "

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

foo

bar
" but got "

foo

bar
" [FAIL] [["defaultparagraphseparator","div"],["formatblock","

"]] "

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

bar

" but got "
foo

bar

" [FAIL] [["defaultparagraphseparator","p"],["formatblock","

"]] "

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

bar

" but got "
foo

bar

" [FAIL] [["formatblock","
"]] "
[foo]
bar
" compare innerHTML assert_equals: Unexpected innerHTML (after normalizing inline style) expected "
foo
bar
" but got "
foo
bar
" [FAIL] [["formatblock","
"]] "
foo
[bar]
" compare innerHTML assert_equals: Unexpected innerHTML (after normalizing inline style) expected "
foo
bar
" but got "
foo
bar
" [FAIL] [["formatblock","

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

foo

bar
" but got "

foo

bar
" [FAIL] [["formatblock","

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

bar

" but got "
foo

bar

" [FAIL] [["defaultparagraphseparator","div"],["formatblock","

"]] "

[foo

bar]" queryCommandIndeterm("formatblock") before assert_equals: Wrong result returned expected true but got false [FAIL] [["defaultparagraphseparator","p"],["formatblock","

"]] "

[foo

bar]" queryCommandIndeterm("formatblock") before assert_equals: Wrong result returned expected true but got false [FAIL] [["defaultparagraphseparator","div"],["formatblock","

"]] "[foo

bar]

" queryCommandIndeterm("formatblock") before assert_equals: Wrong result returned expected true but got false [FAIL] [["defaultparagraphseparator","p"],["formatblock","

"]] "[foo

bar]

" queryCommandIndeterm("formatblock") before assert_equals: Wrong result returned expected true but got false [FAIL] [["defaultparagraphseparator","div"],["formatblock","

"]] "

[foo

bar]

" queryCommandIndeterm("formatblock") before assert_equals: Wrong result returned expected true but got false [FAIL] [["defaultparagraphseparator","div"],["formatblock","

"]] "

[foo

bar]

" queryCommandValue("formatblock") before assert_equals: Wrong result returned expected "" but got "div" [FAIL] [["defaultparagraphseparator","div"],["formatblock","

"]] "

[foo

bar]

" queryCommandValue("formatblock") after assert_equals: Wrong result returned expected "p" but got "" [FAIL] [["defaultparagraphseparator","p"],["formatblock","

"]] "

[foo

bar]

" queryCommandIndeterm("formatblock") before assert_equals: Wrong result returned expected true but got false [FAIL] [["defaultparagraphseparator","p"],["formatblock","

"]] "

[foo

bar]

" queryCommandValue("formatblock") before assert_equals: Wrong result returned expected "" but got "div" [FAIL] [["defaultparagraphseparator","p"],["formatblock","

"]] "

[foo

bar]

" queryCommandValue("formatblock") after assert_equals: Wrong result returned expected "p" but got "" [FAIL] [["defaultparagraphseparator","div"],["formatblock","
"]] "
[foo]
" compare innerHTML assert_equals: Unexpected innerHTML (after normalizing inline style) expected "
foo
" but got "
foo
" [FAIL] [["defaultparagraphseparator","div"],["formatblock","
"]] "
[foo]
" queryCommandValue("formatblock") before assert_equals: Wrong result returned expected "" but got "div" [FAIL] [["defaultparagraphseparator","p"],["formatblock","
"]] "
[foo]
" compare innerHTML assert_equals: Unexpected innerHTML (after normalizing inline style) expected "
foo
" but got "
foo
" [FAIL] [["defaultparagraphseparator","p"],["formatblock","
"]] "
[foo]
" queryCommandValue("formatblock") before assert_equals: Wrong result returned expected "" but got "div" [FAIL] [["defaultparagraphseparator","div"],["formatblock","
"]] "

[foo

bar]

" compare innerHTML assert_equals: Unexpected innerHTML (after normalizing inline style) expected "
foo
bar
" but got "
foo
bar
" [FAIL] [["defaultparagraphseparator","div"],["formatblock","
"]] "

[foo

bar]

" queryCommandIndeterm("formatblock") before assert_equals: Wrong result returned expected true but got false [FAIL] [["defaultparagraphseparator","p"],["formatblock","
"]] "

[foo

bar]

" compare innerHTML assert_equals: Unexpected innerHTML (after normalizing inline style) expected "
foo
bar
" but got "
foo
bar
" [FAIL] [["defaultparagraphseparator","p"],["formatblock","
"]] "

[foo

bar]

" queryCommandIndeterm("formatblock") before assert_equals: Wrong result returned expected true but got false [FAIL] [["defaultparagraphseparator","div"],["formatblock","
"]] "

[foo

bar]

" compare innerHTML assert_equals: Unexpected innerHTML (after normalizing inline style) expected "
foo
bar
" but got "
foo
bar
" [FAIL] [["defaultparagraphseparator","div"],["formatblock","
"]] "

[foo

bar]

" queryCommandIndeterm("formatblock") before assert_equals: Wrong result returned expected true but got false [FAIL] [["defaultparagraphseparator","p"],["formatblock","
"]] "

[foo

bar]

" compare innerHTML assert_equals: Unexpected innerHTML (after normalizing inline style) expected "
foo
bar
" but got "
foo
bar
" [FAIL] [["defaultparagraphseparator","p"],["formatblock","
"]] "

[foo

bar]

" queryCommandIndeterm("formatblock") before assert_equals: Wrong result returned expected true but got false [FAIL] [["defaultparagraphseparator","div"],["formatblock","
"]] "
[foo
bar]" queryCommandIndeterm("formatblock") before assert_equals: Wrong result returned expected true but got false [FAIL] [["defaultparagraphseparator","div"],["formatblock","
"]] "
[foo
bar]" queryCommandValue("formatblock") after assert_equals: Wrong result returned expected "div" but got "" [FAIL] [["defaultparagraphseparator","p"],["formatblock","
"]] "
[foo
bar]" queryCommandIndeterm("formatblock") before assert_equals: Wrong result returned expected true but got false [FAIL] [["defaultparagraphseparator","p"],["formatblock","
"]] "
[foo
bar]" queryCommandValue("formatblock") after assert_equals: Wrong result returned expected "div" but got "" [FAIL] [["stylewithcss","true"],["defaultparagraphseparator","div"],["formatblock","

"]] "

[foo]
" queryCommandState("stylewithcss") before assert_equals: Wrong result returned expected false but got true [FAIL] [["defaultparagraphseparator","div"],["formatblock","

"]] "{

foo

ba]r" queryCommandIndeterm("formatblock") before assert_equals: Wrong result returned expected true but got false [FAIL] [["defaultparagraphseparator","p"],["formatblock","

"]] "{

foo

ba]r" queryCommandIndeterm("formatblock") before assert_equals: Wrong result returned expected true but got false [FAIL] [["formatblock","p"]] "
[foo]
": execCommand("formatblock", false, "p") return value assert_equals: expected false but got true [FAIL] [["formatblock","p"]] "
[foo]
" compare innerHTML assert_equals: Unexpected innerHTML (after normalizing inline style) expected "
foo
" but got "

foo

" [FAIL] [["formatblock","p"]] "
[foo]
" queryCommandValue("formatblock") after assert_equals: Wrong result returned expected "" but got "p" [FAIL] [["formatblock","p"]] "

[foo]

": execCommand("formatblock", false, "p") return value assert_equals: expected false but got true Harness: the test ran to completion.