[inserttext.html] type: testharness [[["inserttext",""\]\] "foo[bar\]baz": execCommand("inserttext", false, "") return value] expected: FAIL [[["inserttext",""\]\] "foo[bar\]baz" compare innerHTML] expected: FAIL [[["inserttext","\\t"\]\] "foo[\]bar" compare innerHTML] expected: FAIL [[["defaultparagraphseparator","div"\],["inserttext","\\n"\]\] "foo[\]bar": execCommand("defaultparagraphseparator", false, "div") return value] expected: FAIL [[["defaultparagraphseparator","div"\],["inserttext","\\n"\]\] "foo[\]bar" compare innerHTML] expected: FAIL [[["defaultparagraphseparator","div"\],["inserttext","\\n"\]\] "foo[\]bar" queryCommandValue("defaultparagraphseparator") before] expected: FAIL [[["defaultparagraphseparator","div"\],["inserttext","\\n"\]\] "foo[\]bar" queryCommandValue("defaultparagraphseparator") after] expected: FAIL [[["defaultparagraphseparator","p"\],["inserttext","\\n"\]\] "foo[\]bar": execCommand("defaultparagraphseparator", false, "p") return value] expected: FAIL [[["defaultparagraphseparator","p"\],["inserttext","\\n"\]\] "foo[\]bar" compare innerHTML] expected: FAIL [[["defaultparagraphseparator","p"\],["inserttext","\\n"\]\] "foo[\]bar" queryCommandValue("defaultparagraphseparator") before] expected: FAIL [[["defaultparagraphseparator","p"\],["inserttext","\\n"\]\] "foo[\]bar" queryCommandValue("defaultparagraphseparator") after] expected: FAIL [[["defaultparagraphseparator","div"\],["inserttext","abc\\ndef"\]\] "foo[\]bar": execCommand("defaultparagraphseparator", false, "div") return value] expected: FAIL [[["defaultparagraphseparator","div"\],["inserttext","abc\\ndef"\]\] "foo[\]bar" compare innerHTML] expected: FAIL [[["defaultparagraphseparator","div"\],["inserttext","abc\\ndef"\]\] "foo[\]bar" queryCommandValue("defaultparagraphseparator") before] expected: FAIL [[["defaultparagraphseparator","div"\],["inserttext","abc\\ndef"\]\] "foo[\]bar" queryCommandValue("defaultparagraphseparator") after] expected: FAIL [[["defaultparagraphseparator","p"\],["inserttext","abc\\ndef"\]\] "foo[\]bar": execCommand("defaultparagraphseparator", false, "p") return value] expected: FAIL [[["defaultparagraphseparator","p"\],["inserttext","abc\\ndef"\]\] "foo[\]bar" compare innerHTML] expected: FAIL [[["defaultparagraphseparator","p"\],["inserttext","abc\\ndef"\]\] "foo[\]bar" queryCommandValue("defaultparagraphseparator") before] expected: FAIL [[["defaultparagraphseparator","p"\],["inserttext","abc\\ndef"\]\] "foo[\]bar" queryCommandValue("defaultparagraphseparator") after] expected: FAIL [[["inserttext"," "\]\] "foo[\]  bar" compare innerHTML] expected: FAIL [[["inserttext"," "\]\] "foo  [\]bar" compare innerHTML] expected: FAIL [[["inserttext"," "\]\] "foo  [\]bar" compare innerHTML] expected: FAIL [[["inserttext"," "\]\] "foo[\]  bar" compare innerHTML] expected: FAIL [[["inserttext"," "\]\] "foo [\]  bar" compare innerHTML] expected: FAIL [[["inserttext"," "\]\] "foo [\]bar" compare innerHTML] expected: FAIL [[["inserttext"," "\]\] "foo[\]" compare innerHTML] expected: FAIL [[["inserttext"," "\]\] "foo{}" compare innerHTML] expected: FAIL [[["inserttext"," "\]\] "foo [\]" compare innerHTML] expected: FAIL [[["inserttext"," "\]\] "foo {}" compare innerHTML] expected: FAIL [[["inserttext"," "\]\] "foo  [\]" compare innerHTML] expected: FAIL [[["inserttext"," "\]\] "foo  {}" compare innerHTML] expected: FAIL [[["inserttext"," "\]\] "foo[\] " compare innerHTML] expected: FAIL [[["inserttext"," "\]\] " foo [\] " compare innerHTML] expected: FAIL [[["inserttext"," "\]\] " [\]foo" compare innerHTML] expected: FAIL [[["inserttext"," "\]\] " [\] foo " compare innerHTML] expected: FAIL [[["inserttext"," "\]\] " [\]foo" compare innerHTML] expected: FAIL [[["inserttext"," "\]\] " [\]foo" compare innerHTML] expected: FAIL [[["inserttext"," "\]\] "{}
" compare innerHTML] expected: FAIL [[["inserttext"," "\]\] "

{}
" compare innerHTML] expected: FAIL [[["inserttext"," "\]\] "

foo[\]

bar" compare innerHTML] expected: FAIL [[["inserttext"," "\]\] "

foo [\]

bar" compare innerHTML] expected: FAIL [[["inserttext"," "\]\] "

foo[\]

 bar" compare innerHTML] expected: FAIL [[["inserttext"," "\]\] "

foo[\]
" compare innerHTML] expected: FAIL [[["inserttext"," "\]\] "
foo [\]
" compare innerHTML] expected: FAIL [[["inserttext"," "\]\] "
foo [\]
" compare innerHTML] expected: FAIL [[["inserttext"," "\]\] "
foo[\]
" compare innerHTML] expected: FAIL [[["inserttext"," "\]\] "
foo [\]
" compare innerHTML] expected: FAIL [[["inserttext"," "\]\] "
foo [\]
" compare innerHTML] expected: FAIL [[["inserttext"," "\]\] "http://a[\]" compare innerHTML] expected: FAIL [[["inserttext"," "\]\] "ftp://a[\]" compare innerHTML] expected: FAIL [[["inserttext"," "\]\] "quasit://a[\]" compare innerHTML] expected: FAIL [[["inserttext"," "\]\] ".x-++-.://a[\]" compare innerHTML] expected: FAIL [[["inserttext"," "\]\] "(http://a)[\]" compare innerHTML] expected: FAIL [[["inserttext"," "\]\] "<http://a>[\]" compare innerHTML] expected: FAIL [[["inserttext"," "\]\] "http://a![\]" compare innerHTML] expected: FAIL [[["inserttext"," "\]\] "!\\"#$%&'()*+,-./:;<=>?^_`|~http://a!\\"#$%&'()*+,-./:;<=>?^_`|~[\]" compare innerHTML] expected: FAIL [[["inserttext"," "\]\] "http://a!\\"'(),-.:;<>`[\]" compare innerHTML] expected: FAIL [[["inserttext"," "\]\] "http://a#$%&*+/=?^_|~[\]" compare innerHTML] expected: FAIL [[["inserttext"," "\]\] "mailto:a[\]" compare innerHTML] expected: FAIL [[["inserttext"," "\]\] "a@b[\]" compare innerHTML] expected: FAIL [[["inserttext"," "\]\] "a@[\]" compare innerHTML] expected: FAIL [[["inserttext"," "\]\] "@b[\]" compare innerHTML] expected: FAIL [[["inserttext"," "\]\] "#@x[\]" compare innerHTML] expected: FAIL [[["inserttext"," "\]\] "a@.[\]" compare innerHTML] expected: FAIL [[["inserttext"," "\]\] "!\\"#$%&'()*+,-./:;<=>?^_`|~a@b!\\"#$%&'()*+,-./:;<=>?^_`|~[\]" compare innerHTML] expected: FAIL [[["inserttext"," "\]\] "a@b{}" compare innerHTML] expected: FAIL [[["inserttext"," "\]\] "a@b{}" compare innerHTML] expected: FAIL [[["inserttext"," "\]\] "a@b[\]c" compare innerHTML] expected: FAIL [[["inserttext","\\t"\]\] "http://a[\]" compare innerHTML] expected: FAIL [[["inserttext","\\f"\]\] "http://a[\]" compare innerHTML] expected: FAIL [[["inserttext"," "\]\] "http://a[\]" compare innerHTML] expected: FAIL [[["inserttext"," "\]\] "foo[\]" compare innerHTML] expected: FAIL [[["defaultparagraphseparator","div"\],["inserttext","a"\]\] "

fo[o

b\]ar": execCommand("defaultparagraphseparator", false, "div") return value] expected: FAIL [[["defaultparagraphseparator","div"\],["inserttext","a"\]\] "

fo[o

b\]ar" queryCommandValue("defaultparagraphseparator") before] expected: FAIL [[["defaultparagraphseparator","div"\],["inserttext","a"\]\] "

fo[o

b\]ar" queryCommandValue("defaultparagraphseparator") after] expected: FAIL [[["defaultparagraphseparator","p"\],["inserttext","a"\]\] "

fo[o

b\]ar": execCommand("defaultparagraphseparator", false, "p") return value] expected: FAIL [[["defaultparagraphseparator","p"\],["inserttext","a"\]\] "

fo[o

b\]ar" queryCommandValue("defaultparagraphseparator") before] expected: FAIL [[["defaultparagraphseparator","p"\],["inserttext","a"\]\] "

fo[o

b\]ar" queryCommandValue("defaultparagraphseparator") after] expected: FAIL [[["defaultparagraphseparator","div"\],["inserttext","a"\]\] "

fo[o

bar

b\]az": execCommand("defaultparagraphseparator", false, "div") return value] expected: FAIL [[["defaultparagraphseparator","div"\],["inserttext","a"\]\] "

fo[o

bar

b\]az" queryCommandValue("defaultparagraphseparator") before] expected: FAIL [[["defaultparagraphseparator","div"\],["inserttext","a"\]\] "

fo[o

bar

b\]az" queryCommandValue("defaultparagraphseparator") after] expected: FAIL [[["defaultparagraphseparator","p"\],["inserttext","a"\]\] "

fo[o

bar

b\]az": execCommand("defaultparagraphseparator", false, "p") return value] expected: FAIL [[["defaultparagraphseparator","p"\],["inserttext","a"\]\] "

fo[o

bar

b\]az" queryCommandValue("defaultparagraphseparator") before] expected: FAIL [[["defaultparagraphseparator","p"\],["inserttext","a"\]\] "

fo[o

bar

b\]az" queryCommandValue("defaultparagraphseparator") after] expected: FAIL [[["inserttext","a"\]\] "{}
" compare innerHTML] expected: FAIL [[["inserttext","a"\]\] "

{}
" compare innerHTML] expected: FAIL [[["inserttext","a"\]\] "

{}
" compare innerHTML] expected: FAIL [[["inserttext","a"\]\] "

foo{bar}baz" compare innerHTML] expected: FAIL [[["stylewithcss","true"\],["inserttext","a"\]\] "

[foobar\]baz" compare innerHTML] expected: FAIL [[["stylewithcss","false"\],["inserttext","a"\]\] "

[foobar\]baz" compare innerHTML] expected: FAIL [[["stylewithcss","true"\],["inserttext","a"\]\] "

{foobar}baz" compare innerHTML] expected: FAIL [[["stylewithcss","false"\],["inserttext","a"\]\] "

{foobar}baz" compare innerHTML] expected: FAIL [[["stylewithcss","true"\],["inserttext","a"\]\] "

foo[barbaz\]quz" compare innerHTML] expected: FAIL [[["stylewithcss","false"\],["inserttext","a"\]\] "

foo[barbaz\]quz" compare innerHTML] expected: FAIL [[["inserttext","a"\]\] "foo[bar\]baz" compare innerHTML] expected: FAIL [[["stylewithcss","true"\],["inserttext","a"\]\] "[foobar\]baz" compare innerHTML] expected: FAIL [[["stylewithcss","false"\],["inserttext","a"\]\] "[foobar\]baz" compare innerHTML] expected: FAIL [[["stylewithcss","true"\],["inserttext","a"\]\] "[foobar\]baz" compare innerHTML] expected: FAIL [[["stylewithcss","false"\],["inserttext","a"\]\] "[foobar\]baz" compare innerHTML] expected: FAIL [[["stylewithcss","true"\],["inserttext","a"\]\] "[foobar\]baz" compare innerHTML] expected: FAIL [[["stylewithcss","false"\],["inserttext","a"\]\] "[foobar\]baz" compare innerHTML] expected: FAIL [[["stylewithcss","true"\],["inserttext","a"\]\] "[foobar\]baz" compare innerHTML] expected: FAIL [[["stylewithcss","false"\],["inserttext","a"\]\] "[foobar\]baz" compare innerHTML] expected: FAIL [[["stylewithcss","true"\],["inserttext","a"\]\] "[foobar\]baz" compare innerHTML] expected: FAIL [[["stylewithcss","false"\],["inserttext","a"\]\] "[foobar\]baz" compare innerHTML] expected: FAIL [[["stylewithcss","true"\],["inserttext","a"\]\] "[foobar\]baz" compare innerHTML] expected: FAIL [[["stylewithcss","false"\],["inserttext","a"\]\] "[foobar\]baz" compare innerHTML] expected: FAIL [[["inserttext","a"\]\] "[foobar\]baz" compare innerHTML] expected: FAIL [[["stylewithcss","true"\],["inserttext","a"\]\] "[foobar\]baz" compare innerHTML] expected: FAIL [[["stylewithcss","false"\],["inserttext","a"\]\] "[foobar\]baz" compare innerHTML] expected: FAIL [[["stylewithcss","true"\],["inserttext","a"\]\] "[foobar\]baz" compare innerHTML] expected: FAIL [[["stylewithcss","false"\],["inserttext","a"\]\] "[foobar\]baz" compare innerHTML] expected: FAIL [[["stylewithcss","true"\],["inserttext","a"\]\] "[foobar\]baz" compare innerHTML] expected: FAIL [[["stylewithcss","false"\],["inserttext","a"\]\] "[foobar\]baz" compare innerHTML] expected: FAIL [[["stylewithcss","true"\],["inserttext","a"\]\] "[foobar\]baz" compare innerHTML] expected: FAIL [[["stylewithcss","false"\],["inserttext","a"\]\] "[foobar\]baz" compare innerHTML] expected: FAIL [[["stylewithcss","true"\],["inserttext","a"\]\] "[foobar\]baz" compare innerHTML] expected: FAIL [[["stylewithcss","false"\],["inserttext","a"\]\] "[foobar\]baz" compare innerHTML] expected: FAIL [[["stylewithcss","true"\],["inserttext","a"\]\] "[foobar\]baz" compare innerHTML] expected: FAIL [[["stylewithcss","false"\],["inserttext","a"\]\] "[foobar\]baz" compare innerHTML] expected: FAIL [[["stylewithcss","true"\],["inserttext","a"\]\] "[foobar\]baz" compare innerHTML] expected: FAIL [[["stylewithcss","false"\],["inserttext","a"\]\] "[foobar\]baz" compare innerHTML] expected: FAIL [[["stylewithcss","true"\],["inserttext","a"\]\] "[foobar\]baz" compare innerHTML] expected: FAIL [[["stylewithcss","false"\],["inserttext","a"\]\] "[foobar\]baz" compare innerHTML] expected: FAIL [[["stylewithcss","true"\],["inserttext","a"\]\] "[foobar\]baz" compare innerHTML] expected: FAIL [[["stylewithcss","false"\],["inserttext","a"\]\] "[foobar\]baz" compare innerHTML] expected: FAIL [[["stylewithcss","true"\],["inserttext","a"\]\] "[foobar\]baz" compare innerHTML] expected: FAIL [[["stylewithcss","false"\],["inserttext","a"\]\] "[foobar\]baz" compare innerHTML] expected: FAIL [[["stylewithcss","true"\],["inserttext","a"\]\] "[foobar\]baz" compare innerHTML] expected: FAIL [[["stylewithcss","false"\],["inserttext","a"\]\] "[foobar\]baz" compare innerHTML] expected: FAIL [[["stylewithcss","true"\],["inserttext","a"\]\] "[foobar\]baz" compare innerHTML] expected: FAIL [[["stylewithcss","false"\],["inserttext","a"\]\] "[foobar\]baz" compare innerHTML] expected: FAIL [[["stylewithcss","true"\],["inserttext","a"\]\] "[foobar\]baz" compare innerHTML] expected: FAIL [[["stylewithcss","false"\],["inserttext","a"\]\] "[foobar\]baz" compare innerHTML] expected: FAIL [[["stylewithcss","true"\],["inserttext","a"\]\] "[foobar\]baz" compare innerHTML] expected: FAIL [[["stylewithcss","false"\],["inserttext","a"\]\] "[foobar\]baz" compare innerHTML] expected: FAIL [[["stylewithcss","true"\],["inserttext","a"\]\] "[foobar\]baz" compare innerHTML] expected: FAIL [[["stylewithcss","false"\],["inserttext","a"\]\] "[foobar\]baz" compare innerHTML] expected: FAIL