Tests queryCommandValue('formatBlock')
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
Basic cases
PASS queryCommand('formatBlock') returned "" selecting none of "hello"
PASS queryCommand('formatBlock') returned "" selecting first position of "hello"
PASS queryCommand('formatBlock') returned "" selecting first position of "
hello
"
PASS queryCommand('formatBlock') returned "" selecting first position of "
hello
"
PASS queryCommand('formatBlock') returned "" selecting first position of "
hello
"
PASS queryCommand('formatBlock') returned "" selecting first position of "
hello
"
PASS queryCommand('formatBlock') returned "" selecting first position of "hello"
PASS queryCommand('formatBlock') returned "" selecting first position of "hello"
PASS queryCommand('formatBlock') returned "" selecting first position of "hello"
PASS queryCommand('formatBlock') returned "" selecting first position of "hello"
PASS queryCommand('formatBlock') returned "" selecting first position of "hello"
PASS queryCommand('formatBlock') returned "" selecting first position of "hello"
PASS queryCommand('formatBlock') returned "" selecting first position of ""
PASS queryCommand('formatBlock') returned "" selecting first position of "
hello
"
PASS queryCommand('formatBlock') returned "" selecting first position of "
hello
"
PASS queryCommand('formatBlock') returned "" selecting first position of "hello"
PASS queryCommand('formatBlock') returned "" selecting first position of "hello"
PASS queryCommand('formatBlock') returned "" selecting first position of "hello"
PASS queryCommand('formatBlock') returned "" selecting first position of "hello"
PASS queryCommand('formatBlock') returned "" selecting first position of "hello"
PASS queryCommand('formatBlock') returned "" selecting first position of "hello"
PASS queryCommand('formatBlock') returned "" selecting first position of ""
PASS queryCommand('formatBlock') returned "" selecting first position of "hello"
PASS queryCommand('formatBlock') returned "" selecting first position of ""
PASS queryCommand('formatBlock') returned "" selecting first position of "hello"
PASS queryCommand('formatBlock') returned "" selecting first position of "hello"
PASS queryCommand('formatBlock') returned "" selecting first position of ""
PASS queryCommand('formatBlock') returned "" selecting first position of ""
PASS queryCommand('formatBlock') returned "" selecting first position of "
hello
"
PASS queryCommand('formatBlock') returned "" selecting first position of ""
PASS queryCommand('formatBlock') returned "" selecting first position of "hello"
PASS queryCommand('formatBlock') returned "" selecting first position of "hello"
PASS queryCommand('formatBlock') returned "" selecting first position of "hello"
PASS queryCommand('formatBlock') returned "" selecting first position of "hello"
PASS queryCommand('formatBlock') returned "" selecting first position of "hello"
PASS queryCommand('formatBlock') returned "" selecting first position of "hello"
PASS queryCommand('formatBlock') returned "" selecting first position of "hello"
PASS queryCommand('formatBlock') returned "" selecting first position of "hello"
PASS queryCommand('formatBlock') returned "" selecting first position of "hello"
PASS queryCommand('formatBlock') returned "" selecting first position of "hello"
PASS queryCommand('formatBlock') returned "" selecting first position of "
hello
"
PASS queryCommand('formatBlock') returned "" selecting first position of "
hello
"
PASS queryCommand('formatBlock') returned "" selecting first position of "hello"
PASS queryCommand('formatBlock') returned "" selecting first position of "hello"
PASS queryCommand('formatBlock') returned "" selecting first position of "
hello
"
PASS queryCommand('formatBlock') returned "" selecting first position of "hello"
PASS queryCommand('formatBlock') returned "address" selecting first position of "hello"
PASS queryCommand('formatBlock') returned "article" selecting first position of "hello"
PASS queryCommand('formatBlock') returned "aside" selecting first position of ""
PASS queryCommand('formatBlock') returned "blockquote" selecting first position of "
hello
"
PASS queryCommand('formatBlock') returned "dd" selecting first position of "
hello
"
PASS queryCommand('formatBlock') returned "dd" selecting first position of "
hello
"
PASS queryCommand('formatBlock') returned "div" selecting first position of "
hello
"
PASS queryCommand('formatBlock') returned "dl" selecting first position of "
hello
"
PASS queryCommand('formatBlock') returned "dt" selecting first position of "
hello
"
PASS queryCommand('formatBlock') returned "dt" selecting first position of "
hello
"
PASS queryCommand('formatBlock') returned "footer" selecting first position of ""
PASS queryCommand('formatBlock') returned "h1" selecting first position of "
hello
"
PASS queryCommand('formatBlock') returned "h2" selecting first position of "
hello
"
PASS queryCommand('formatBlock') returned "h3" selecting first position of "
hello
"
PASS queryCommand('formatBlock') returned "h4" selecting first position of "
hello
"
PASS queryCommand('formatBlock') returned "h5" selecting first position of "
hello
"
PASS queryCommand('formatBlock') returned "h6" selecting first position of "
hello
"
PASS queryCommand('formatBlock') returned "header" selecting first position of "hello"
PASS queryCommand('formatBlock') returned "hgroup" selecting first position of "hello"
PASS queryCommand('formatBlock') returned "main" selecting first position of "hello"
PASS queryCommand('formatBlock') returned "nav" selecting first position of ""
PASS queryCommand('formatBlock') returned "p" selecting first position of "
hello
"
PASS queryCommand('formatBlock') returned "pre" selecting first position of "
hello
"
PASS queryCommand('formatBlock') returned "section" selecting first position of "hello"
Nested cases
PASS queryCommand('formatBlock') returned "h2" selecting first position of "
hello
"
PASS queryCommand('formatBlock') returned "address" selecting first position of "
hello
"
PASS queryCommand('formatBlock') returned "pre" selecting first position of "
hello
world
"
PASS queryCommand('formatBlock') returned "pre" selecting "llo wo" of "
hello
world
"
PASS queryCommand('formatBlock') returned "address" selecting "llo wo" of "
hello
world"
PASS queryCommand('formatBlock') returned "" selecting "llo wo" of "
hello
world"
PASS successfullyParsed is true
TEST COMPLETE