// For documentation of the format, see README in this directory. var browserTests = [ ["foo[bar]baz", [["defaultparagraphseparator","div"],["insertparagraph",""]], "
foo
{}baz
", [true,true], {"defaultparagraphseparator":[false,false,"div",false,false,"p"],"insertparagraph":[false,false,"",false,false,""]}], ["fo[ob]ar |
ar |
b]ar |
fo
{}
ar |
[foo | bar] |
baz | quz |
{} | |
baz | quz |
[foo | bar] |
baz | quz |
{} | |
baz | quz |
foo | bar |
baz | quz |
baz | quz |
fo[o |
fo {} |
fo[o |
fo {} |
fo[o | b]ar | baz |
fo {} | ar | baz |
fo[o | b]ar | baz |
fo {} | ar | baz |
foo |
foo |
{}
[foo] |
{} |
[foo] |
{} |
{}
{}foo
", [true,true], {"defaultparagraphseparator":[false,false,"div",false,false,"p"],"insertparagraph":[false,false,"",false,false,""]}], ["foo[]", [["defaultparagraphseparator","div"],["insertparagraph",""]], "foo
{}
foo
{}
foo
{}
foo
{}bar
", [true,true], {"defaultparagraphseparator":[false,false,"div",false,false,"p"],"insertparagraph":[false,false,"",false,false,""]}], ["[]foo", [["insertparagraph",""]], "{}
{}
[]foo
", [["defaultparagraphseparator","div"],["insertparagraph",""]], "{}foo
", [true,true], {"defaultparagraphseparator":[false,false,"p",false,false,"div"],"insertparagraph":[false,false,"",false,false,""]}], ["[]foo
", [["defaultparagraphseparator","p"],["insertparagraph",""]], "{}foo
", [true,true], {"defaultparagraphseparator":[false,false,"div",false,false,"p"],"insertparagraph":[false,false,"",false,false,""]}], ["foo[]
", [["defaultparagraphseparator","div"],["insertparagraph",""]], "foo
{}
foo[]
", [["defaultparagraphseparator","p"],["insertparagraph",""]], "foo
{}
foo[]
foo
{}
foo[]
foo
{}
foo[]bar
", [["defaultparagraphseparator","div"],["insertparagraph",""]], "foo
{}bar
", [true,true], {"defaultparagraphseparator":[false,false,"p",false,false,"div"],"insertparagraph":[false,false,"",false,false,""]}], ["foo[]bar
", [["defaultparagraphseparator","p"],["insertparagraph",""]], "foo
{}bar
", [true,true], {"defaultparagraphseparator":[false,false,"div",false,false,"p"],"insertparagraph":[false,false,"",false,false,""]}], ["[]foo", [["insertparagraph",""]], "
", [true], {"insertparagraph":[false,false,"",false,false,""]}], ["
{}foo
foo[]", [["insertparagraph",""]], "
foo", [true], {"insertparagraph":[false,false,"",false,false,""]}], ["
{}
foo[]", [["insertparagraph",""]], "
foo", [true], {"insertparagraph":[false,false,"",false,false,""]}], ["
{}
foo[]bar", [["insertparagraph",""]], "
foo", [true], {"insertparagraph":[false,false,"",false,false,""]}], ["
{}bar
foo[]", [["insertparagraph",""]], "
foo", [true], {"insertparagraph":[false,false,"",false,false,""]}], ["
{}
foo", [["insertparagraph",""]], "
{}
foo", [true], {"insertparagraph":[false,false,"",false,false,""]}], ["
{}
foo []", [["insertparagraph",""]], "
foo\n", [true], {"insertparagraph":[false,false,"",false,false,""]}], ["
{}
foo[]", [["insertparagraph",""]], "
foo", [true], {"insertparagraph":[false,false,"",false,false,""]}], ["
{}\n
foo []", [["insertparagraph",""]], "
foo\n", [true], {"insertparagraph":[false,false,"",false,false,""]}], ["
{}\n
{}baz
", [true,true], {"defaultparagraphseparator":[false,false,"div",false,false,"p"],"insertparagraph":[false,false,"",false,false,""]}], [" baz", [["stylewithcss","true"],["defaultparagraphseparator","div"],["insertparagraph",""]], " baz", [true,true,true], {"stylewithcss":[false,false,"",false,true,""],"defaultparagraphseparator":[false,false,"p",false,false,"div"],"insertparagraph":[false,false,"",false,false,""]}], [" baz", [["stylewithcss","false"],["defaultparagraphseparator","div"],["insertparagraph",""]], " baz", [true,true,true], {"stylewithcss":[false,true,"",false,false,""],"defaultparagraphseparator":[false,false,"div",false,false,"div"],"insertparagraph":[false,false,"",false,false,""]}], [" baz", [["stylewithcss","true"],["defaultparagraphseparator","p"],["insertparagraph",""]], " baz", [true,true,true], {"stylewithcss":[false,false,"",false,true,""],"defaultparagraphseparator":[false,false,"div",false,false,"p"],"insertparagraph":[false,false,"",false,false,""]}], [" baz", [["stylewithcss","false"],["defaultparagraphseparator","p"],["insertparagraph",""]], " baz", [true,true,true], {"stylewithcss":[false,true,"",false,false,""],"defaultparagraphseparator":[false,false,"p",false,false,"p"],"insertparagraph":[false,false,"",false,false,""]}], ["{}
{}
{}
{}
{}
{}
{}
{}
baz]quz
", [["defaultparagraphseparator","div"],["insertparagraph",""]], "baz]quz
", [["defaultparagraphseparator","p"],["insertparagraph",""]], "foo[bar
foo
{}quz
", [true,true], {"defaultparagraphseparator":[false,false,"p",false,false,"div"],"insertparagraph":[false,false,"",false,false,""]}], ["foo[bar
foo
{}quz
", [true,true], {"defaultparagraphseparator":[false,false,"div",false,false,"p"],"insertparagraph":[false,false,"",false,false,""]}], ["foo
{}foo
foo
{}foo
{}
foo
", [["defaultparagraphseparator","div"],["insertparagraph",""]], "foo
", [true,true], {"defaultparagraphseparator":[false,false,"p",false,false,"div"],"insertparagraph":[false,false,"",false,false,""]}], ["{}foo
", [["defaultparagraphseparator","p"],["insertparagraph",""]], "{}
foo
", [true,true], {"defaultparagraphseparator":[false,false,"div",false,false,"p"],"insertparagraph":[false,false,"",false,false,""]}], ["foo
{}foo
foo
{}foo
{}
bar
", [["defaultparagraphseparator","div"],["insertparagraph",""]], "bar
", [true,true], {"defaultparagraphseparator":[false,false,"p",false,false,"div"],"insertparagraph":[false,false,"",false,false,""]}], ["bar
", [["defaultparagraphseparator","p"],["insertparagraph",""]], "{}
bar
", [true,true], {"defaultparagraphseparator":[false,false,"div",false,false,"p"],"insertparagraph":[false,false,"",false,false,""]}], ["{}
foo
baz
", [["defaultparagraphseparator","div"],["insertparagraph",""]], "foo
baz
", [true,true], {"defaultparagraphseparator":[false,false,"p",false,false,"div"],"insertparagraph":[false,false,"",false,false,""]}], ["foo
baz
", [["defaultparagraphseparator","p"],["insertparagraph",""]], "foo
{}
baz
", [true,true], {"defaultparagraphseparator":[false,false,"div",false,false,"p"],"insertparagraph":[false,false,"",false,false,""]}], ["foo
{baz
", [["defaultparagraphseparator","div"],["insertparagraph",""]], "foo
baz
", [true,true], {"defaultparagraphseparator":[false,false,"p",false,false,"div"],"insertparagraph":[false,false,"",false,false,""]}], ["foo
{baz
", [["defaultparagraphseparator","p"],["insertparagraph",""]], "foo
{}
baz
", [true,true], {"defaultparagraphseparator":[false,false,"div",false,false,"p"],"insertparagraph":[false,false,"",false,false,""]}], ["foo[]bar |
foo {}bar |
foo[]bar |
foo {}bar |
foo[]bar |
foo {}bar |
foo[]bar |
foo {}bar |
[]foo", [["defaultparagraphseparator","div"],["insertparagraph",""]], "
", [true,true], {"defaultparagraphseparator":[false,false,"p",false,false,"div"],"insertparagraph":[false,false,"",false,false,""]}], ["{}foo
[]foo", [["defaultparagraphseparator","p"],["insertparagraph",""]], "
", [true,true], {"defaultparagraphseparator":[false,false,"div",false,false,"p"],"insertparagraph":[false,false,"",false,false,""]}], ["
{}foo
foo[]", [["defaultparagraphseparator","div"],["insertparagraph",""]], "
", [true,true], {"defaultparagraphseparator":[false,false,"p",false,false,"div"],"insertparagraph":[false,false,"",false,false,""]}], ["foo{}
foo[]", [["defaultparagraphseparator","p"],["insertparagraph",""]], "
", [true,true], {"defaultparagraphseparator":[false,false,"div",false,false,"p"],"insertparagraph":[false,false,"",false,false,""]}], ["foo
{}
foo[]", [["defaultparagraphseparator","div"],["insertparagraph",""]], "
", [true,true], {"defaultparagraphseparator":[false,false,"p",false,false,"div"],"insertparagraph":[false,false,"",false,false,""]}], ["foo{}
foo[]", [["defaultparagraphseparator","p"],["insertparagraph",""]], "
", [true,true], {"defaultparagraphseparator":[false,false,"div",false,false,"p"],"insertparagraph":[false,false,"",false,false,""]}], ["foo
{}
foo[]bar", [["defaultparagraphseparator","div"],["insertparagraph",""]], "
", [true,true], {"defaultparagraphseparator":[false,false,"p",false,false,"div"],"insertparagraph":[false,false,"",false,false,""]}], ["foo{}bar
foo[]bar", [["defaultparagraphseparator","p"],["insertparagraph",""]], "
", [true,true], {"defaultparagraphseparator":[false,false,"div",false,false,"p"],"insertparagraph":[false,false,"",false,false,""]}], ["foo
{}bar
", [["defaultparagraphseparator","div"],["insertparagraph",""]], "[]foo
", [true,true], {"defaultparagraphseparator":[false,false,"p",false,false,"div"],"insertparagraph":[false,false,"",false,false,""]}], ["
{}foo
", [["defaultparagraphseparator","p"],["insertparagraph",""]], "[]foo
", [true,true], {"defaultparagraphseparator":[false,false,"div",false,false,"p"],"insertparagraph":[false,false,"",false,false,""]}], ["
{}foo
", [["defaultparagraphseparator","div"],["insertparagraph",""]], "foo[]
", [true,true], {"defaultparagraphseparator":[false,false,"p",false,false,"div"],"insertparagraph":[false,false,"",false,false,""]}], ["foo
{}
", [["defaultparagraphseparator","p"],["insertparagraph",""]], "foo[]
", [true,true], {"defaultparagraphseparator":[false,false,"div",false,false,"p"],"insertparagraph":[false,false,"",false,false,""]}], ["foo
{}
", [["defaultparagraphseparator","div"],["insertparagraph",""]], "foo[]bar
", [true,true], {"defaultparagraphseparator":[false,false,"p",false,false,"div"],"insertparagraph":[false,false,"",false,false,""]}], ["foo
{}bar
", [["defaultparagraphseparator","p"],["insertparagraph",""]], "foo[]bar
", [true,true], {"defaultparagraphseparator":[false,false,"div",false,false,"p"],"insertparagraph":[false,false,"",false,false,""]}], ["foo
{}bar
", [["defaultparagraphseparator","div"],["insertparagraph",""]], "foo[]
bar
", [true,true], {"defaultparagraphseparator":[false,false,"p",false,false,"div"],"insertparagraph":[false,false,"",false,false,""]}], ["foo
{}
bar
", [["defaultparagraphseparator","p"],["insertparagraph",""]], "foo[]
bar
", [true,true], {"defaultparagraphseparator":[false,false,"div",false,false,"p"],"insertparagraph":[false,false,"",false,false,""]}], ["foo
{}
bar
", [["defaultparagraphseparator","div"],["insertparagraph",""]], "foo[]bar
baz
", [true,true], {"defaultparagraphseparator":[false,false,"p",false,false,"div"],"insertparagraph":[false,false,"",false,false,""]}], ["foo
{}bar
baz
", [["defaultparagraphseparator","p"],["insertparagraph",""]], "foo[]bar
baz
", [true,true], {"defaultparagraphseparator":[false,false,"div",false,false,"p"],"insertparagraph":[false,false,"",false,false,""]}], ["foo[]bar", [["defaultparagraphseparator","div"],["insertparagraph",""]], "foo
{}bar
baz
foo
{}bar
", [true,true], {"defaultparagraphseparator":[false,false,"div",false,false,"p"],"insertparagraph":[false,false,"",false,false,""]}], ["foo[]barbaz", [["defaultparagraphseparator","div"],["insertparagraph",""]], "foo
{}barbaz
", [true,true], {"defaultparagraphseparator":[false,false,"div",false,false,"p"],"insertparagraph":[false,false,"",false,false,""]}], ["foo[]bar", [["stylewithcss","true"],["defaultparagraphseparator","div"],["insertparagraph",""]], "foo
{}bar
", [true,true,true], {"stylewithcss":[false,false,"",false,true,""],"defaultparagraphseparator":[false,false,"div",false,false,"p"],"insertparagraph":[false,false,"",false,false,""]}], ["foo[]bar", [["stylewithcss","false"],["defaultparagraphseparator","p"],["insertparagraph",""]], "foo
{}bar
", [true,true,true], {"stylewithcss":[false,true,"",false,false,""],"defaultparagraphseparator":[false,false,"p",false,false,"p"],"insertparagraph":[false,false,"",false,false,""]}], ["foo[]barbaz", [["stylewithcss","true"],["defaultparagraphseparator","div"],["insertparagraph",""]], "foo
{}barbaz
", [true,true,true], {"stylewithcss":[false,false,"",false,true,""],"defaultparagraphseparator":[false,false,"div",false,false,"p"],"insertparagraph":[false,false,"",false,false,""]}], ["foo[]barbaz", [["stylewithcss","false"],["defaultparagraphseparator","p"],["insertparagraph",""]], "foo
{}barbaz
", [true,true,true], {"stylewithcss":[false,true,"",false,false,""],"defaultparagraphseparator":[false,false,"p",false,false,"p"],"insertparagraph":[false,false,"",false,false,""]}], ["foo[]bar", [["defaultparagraphseparator","div"],["insertparagraph",""]], "foo
{}bar
", [true,true], {"defaultparagraphseparator":[false,false,"div",false,false,"p"],"insertparagraph":[false,false,"",false,false,""]}], ["foo[]
", [["defaultparagraphseparator","div"],["insertparagraph",""]], "foo
{}
foo[]
", [["defaultparagraphseparator","div"],["insertparagraph",""]], "foo
{}
foo[]
", [["defaultparagraphseparator","div"],["insertparagraph",""]], "foo
{}
foo
{}bar
", [true,true], {"defaultparagraphseparator":[false,false,"div",false,false,"p"],"insertparagraph":[false,false,"",false,false,""]}], ["[]foo
", [["defaultparagraphseparator","div"],["insertparagraph",""]], "{}foo
", [true,true], {"defaultparagraphseparator":[false,false,"p",false,false,"div"],"insertparagraph":[false,false,"",false,false,""]}], ["[]foo
", [["defaultparagraphseparator","div"],["insertparagraph",""]], "{}foo
", [true,true], {"defaultparagraphseparator":[false,false,"p",false,false,"div"],"insertparagraph":[false,false,"",false,false,""]}], ["[]foo
", [["defaultparagraphseparator","div"],["insertparagraph",""]], "{}foo
", [true,true], {"defaultparagraphseparator":[false,false,"p",false,false,"div"],"insertparagraph":[false,false,"",false,false,""]}], ["foo
{}bar
", [true,true], {"defaultparagraphseparator":[false,false,"div",false,false,"p"],"insertparagraph":[false,false,"",false,false,""]}], ["foo[]bar", [["stylewithcss","true"],["defaultparagraphseparator","div"],["insertparagraph",""]], "foo
{}bar
", [true,true,true], {"stylewithcss":[false,false,"",false,true,""],"defaultparagraphseparator":[false,false,"div",false,false,"p"],"insertparagraph":[false,false,"",false,false,""]}], ["foo[]bar", [["stylewithcss","false"],["defaultparagraphseparator","p"],["insertparagraph",""]], "foo
{}bar
", [true,true,true], {"stylewithcss":[false,true,"",false,false,""],"defaultparagraphseparator":[false,false,"p",false,false,"p"],"insertparagraph":[false,false,"",false,false,""]}], ["foo[]barbaz", [["stylewithcss","true"],["defaultparagraphseparator","div"],["insertparagraph",""]], "foo
{}barbaz
", [true,true,true], {"stylewithcss":[false,false,"",false,true,""],"defaultparagraphseparator":[false,false,"div",false,false,"p"],"insertparagraph":[false,false,"",false,false,""]}], ["foo[]barbaz", [["stylewithcss","false"],["defaultparagraphseparator","p"],["insertparagraph",""]], "foo
{}barbaz
", [true,true,true], {"stylewithcss":[false,true,"",false,false,""],"defaultparagraphseparator":[false,false,"p",false,false,"p"],"insertparagraph":[false,false,"",false,false,""]}], ["foo[]bar
", [["stylewithcss","true"],["defaultparagraphseparator","div"],["insertparagraph",""]], "foo
{}bar
", [true,true,true], {"stylewithcss":[false,false,"",false,true,""],"defaultparagraphseparator":[false,false,"p",false,false,"div"],"insertparagraph":[false,false,"",false,false,""]}], ["foo[]bar
", [["stylewithcss","false"],["defaultparagraphseparator","div"],["insertparagraph",""]], "foo
{}bar
", [true,true,true], {"stylewithcss":[false,true,"",false,false,""],"defaultparagraphseparator":[false,false,"div",false,false,"div"],"insertparagraph":[false,false,"",false,false,""]}], ["foo[]bar
", [["stylewithcss","true"],["defaultparagraphseparator","p"],["insertparagraph",""]], "foo
{}bar
", [true,true,true], {"stylewithcss":[false,false,"",false,true,""],"defaultparagraphseparator":[false,false,"div",false,false,"p"],"insertparagraph":[false,false,"",false,false,""]}], ["foo[]bar
", [["stylewithcss","false"],["defaultparagraphseparator","p"],["insertparagraph",""]], "foo
{}bar
", [true,true,true], {"stylewithcss":[false,true,"",false,false,""],"defaultparagraphseparator":[false,false,"p",false,false,"p"],"insertparagraph":[false,false,"",false,false,""]}], ["foo[]bar
", [["stylewithcss","true"],["defaultparagraphseparator","div"],["insertparagraph",""]], "foo
{}bar
", [true,true,true], {"stylewithcss":[false,false,"",false,true,""],"defaultparagraphseparator":[false,false,"p",false,false,"div"],"insertparagraph":[false,false,"",false,false,""]}], ["foo[]bar
", [["stylewithcss","false"],["defaultparagraphseparator","div"],["insertparagraph",""]], "foo
{}bar
", [true,true,true], {"stylewithcss":[false,true,"",false,false,""],"defaultparagraphseparator":[false,false,"div",false,false,"div"],"insertparagraph":[false,false,"",false,false,""]}], ["foo[]bar
", [["stylewithcss","true"],["defaultparagraphseparator","p"],["insertparagraph",""]], "foo
{}bar
", [true,true,true], {"stylewithcss":[false,false,"",false,true,""],"defaultparagraphseparator":[false,false,"div",false,false,"p"],"insertparagraph":[false,false,"",false,false,""]}], ["foo[]bar
", [["stylewithcss","false"],["defaultparagraphseparator","p"],["insertparagraph",""]], "foo
{}bar
", [true,true,true], {"stylewithcss":[false,true,"",false,false,""],"defaultparagraphseparator":[false,false,"p",false,false,"p"],"insertparagraph":[false,false,"",false,false,""]}], ["{}bar
", [true,true], {"defaultparagraphseparator":[false,false,"div",false,false,"p"],"insertparagraph":[false,false,"",false,false,""]}], ["foo[]barbaz", [["defaultparagraphseparator","div"],["insertparagraph",""]], "{}barbaz
", [true,true], {"defaultparagraphseparator":[false,false,"div",false,false,"p"],"insertparagraph":[false,false,"",false,false,""]}], ["", [["defaultparagraphseparator","div"],["insertparagraph",""]], "", [true,true], {"defaultparagraphseparator":[false,false,"p",false,false,"div"],"insertparagraph":[false,false,"",false,false,""]}], ["", [["defaultparagraphseparator","p"],["insertparagraph",""]], "", [true,true], {"defaultparagraphseparator":[false,false,"div",false,false,"p"],"insertparagraph":[false,false,"",false,false,""]}], ["", [["defaultparagraphseparator","div"],["insertparagraph",""]], "", [true,true], {"defaultparagraphseparator":[false,false,"p",false,false,"div"],"insertparagraph":[false,false,"",false,false,""]}], ["", [["defaultparagraphseparator","p"],["insertparagraph",""]], "", [true,true], {"defaultparagraphseparator":[false,false,"div",false,false,"p"],"insertparagraph":[false,false,"",false,false,""]}], ["", [["defaultparagraphseparator","div"],["insertparagraph",""]], "", [true,true], {"defaultparagraphseparator":[false,false,"p",false,false,"div"],"insertparagraph":[false,false,"",false,false,""]}], ["", [["defaultparagraphseparator","p"],["insertparagraph",""]], "", [true,true], {"defaultparagraphseparator":[false,false,"div",false,false,"p"],"insertparagraph":[false,false,"",false,false,""]}], // shouldn't be duplicated in new paragraph when it's split at // start or end of it. ["foo[]bar", [["defaultparagraphseparator","div"],["insertparagraph",""]], "{}bar
", [true,true], {"defaultparagraphseparator":[false,false,"div",false,false,"p"],"insertparagraph":[false,false,"",false,false,""]}], ["foo[]bar", [["defaultparagraphseparator","div"],["insertparagraph",""]], "foo
{}bar
", [true,true], {"defaultparagraphseparator":[false,false,"div",false,false,"p"],"insertparagraph":[false,false,"",false,false,""]}], ["", [["defaultparagraphseparator","div"],["insertparagraph",""]], "{}
{}
{}
{}
{}
{}
{}
{}
{}
foo[]", [["defaultparagraphseparator","div"],["insertparagraph",""]], "
foo
{}
foo[]", [["defaultparagraphseparator","p"],["insertparagraph",""]], "
foo
{}
[]bar", [["defaultparagraphseparator","div"],["insertparagraph",""]], "
{}bar
", [true,true], {"defaultparagraphseparator":[false,false,"p",false,false,"div"],"insertparagraph":[false,false,"",false,false,""]}], ["[]bar", [["defaultparagraphseparator","p"],["insertparagraph",""]], "
{}bar
", [true,true], {"defaultparagraphseparator":[false,false,"div",false,false,"p"],"insertparagraph":[false,false,"",false,false,""]}], ["foo[bar]baz", [["stylewithcss","true"],["defaultparagraphseparator","div"],["insertparagraph",""]], "
foo
{}baz
", [true,true,true], {"stylewithcss":[false,false,"",false,true,""],"defaultparagraphseparator":[false,false,"p",false,false,"div"],"insertparagraph":[false,false,"",false,false,""]}], ["foo[bar]baz", [["stylewithcss","false"],["defaultparagraphseparator","div"],["insertparagraph",""]], "
foo
{}baz
", [true,true,true], {"stylewithcss":[false,true,"",false,false,""],"defaultparagraphseparator":[false,false,"div",false,false,"div"],"insertparagraph":[false,false,"",false,false,""]}], ["foo[bar]baz", [["stylewithcss","true"],["defaultparagraphseparator","p"],["insertparagraph",""]], "
foo
{}baz
", [true,true,true], {"stylewithcss":[false,false,"",false,true,""],"defaultparagraphseparator":[false,false,"div",false,false,"p"],"insertparagraph":[false,false,"",false,false,""]}], ["foo[bar]baz", [["stylewithcss","false"],["defaultparagraphseparator","p"],["insertparagraph",""]], "
foo
{}baz
", [true,true,true], {"stylewithcss":[false,true,"",false,false,""],"defaultparagraphseparator":[false,false,"p",false,false,"p"],"insertparagraph":[false,false,"",false,false,""]}], ["foo{bar}baz", [["stylewithcss","true"],["defaultparagraphseparator","div"],["insertparagraph",""]], "
foo
{}baz
", [true,true,true], {"stylewithcss":[false,false,"",false,true,""],"defaultparagraphseparator":[false,false,"p",false,false,"div"],"insertparagraph":[false,false,"",false,false,""]}], ["foo{bar}baz", [["stylewithcss","false"],["defaultparagraphseparator","div"],["insertparagraph",""]], "
foo
{}baz
", [true,true,true], {"stylewithcss":[false,true,"",false,false,""],"defaultparagraphseparator":[false,false,"div",false,false,"div"],"insertparagraph":[false,false,"",false,false,""]}], ["foo{bar}baz", [["stylewithcss","true"],["defaultparagraphseparator","p"],["insertparagraph",""]], "
foo
{}baz
", [true,true,true], {"stylewithcss":[false,false,"",false,true,""],"defaultparagraphseparator":[false,false,"div",false,false,"p"],"insertparagraph":[false,false,"",false,false,""]}], ["foo{bar}baz", [["stylewithcss","false"],["defaultparagraphseparator","p"],["insertparagraph",""]], "
foo
{}baz
", [true,true,true], {"stylewithcss":[false,true,"",false,false,""],"defaultparagraphseparator":[false,false,"p",false,false,"p"],"insertparagraph":[false,false,"",false,false,""]}], ["foo{bar}baz", [["stylewithcss","true"],["defaultparagraphseparator","div"],["insertparagraph",""]], "
foo
{}baz
", [true,true,true], {"stylewithcss":[false,false,"",false,true,""],"defaultparagraphseparator":[false,false,"p",false,false,"div"],"insertparagraph":[false,false,"",false,false,""]}], ["foo{bar}baz", [["stylewithcss","false"],["defaultparagraphseparator","div"],["insertparagraph",""]], "
foo
{}baz
", [true,true,true], {"stylewithcss":[false,true,"",false,false,""],"defaultparagraphseparator":[false,false,"div",false,false,"div"],"insertparagraph":[false,false,"",false,false,""]}], ["foo{bar}baz", [["stylewithcss","true"],["defaultparagraphseparator","p"],["insertparagraph",""]], "
foo
{}baz
", [true,true,true], {"stylewithcss":[false,false,"",false,true,""],"defaultparagraphseparator":[false,false,"div",false,false,"p"],"insertparagraph":[false,false,"",false,false,""]}], ["foo{bar}baz", [["stylewithcss","false"],["defaultparagraphseparator","p"],["insertparagraph",""]], "
foo
{}baz
", [true,true,true], {"stylewithcss":[false,true,"",false,false,""],"defaultparagraphseparator":[false,false,"p",false,false,"p"],"insertparagraph":[false,false,"",false,false,""]}], ["[foobar]baz", [["stylewithcss","true"],["defaultparagraphseparator","div"],["insertparagraph",""]], "
{}baz
", [true,true,true], {"stylewithcss":[false,false,"",false,true,""],"defaultparagraphseparator":[false,false,"p",false,false,"div"],"insertparagraph":[false,false,"",false,false,""]}], ["[foobar]baz", [["stylewithcss","false"],["defaultparagraphseparator","div"],["insertparagraph",""]], "
{}baz
", [true,true,true], {"stylewithcss":[false,true,"",false,false,""],"defaultparagraphseparator":[false,false,"div",false,false,"div"],"insertparagraph":[false,false,"",false,false,""]}], ["[foobar]baz", [["stylewithcss","true"],["defaultparagraphseparator","p"],["insertparagraph",""]], "
{}baz
", [true,true,true], {"stylewithcss":[false,false,"",false,true,""],"defaultparagraphseparator":[false,false,"div",false,false,"p"],"insertparagraph":[false,false,"",false,false,""]}], ["[foobar]baz", [["stylewithcss","false"],["defaultparagraphseparator","p"],["insertparagraph",""]], "
{}baz
", [true,true,true], {"stylewithcss":[false,true,"",false,false,""],"defaultparagraphseparator":[false,false,"p",false,false,"p"],"insertparagraph":[false,false,"",false,false,""]}], ["{foobar}baz", [["stylewithcss","true"],["defaultparagraphseparator","div"],["insertparagraph",""]], "
{}baz
", [true,true,true], {"stylewithcss":[false,false,"",false,true,""],"defaultparagraphseparator":[false,false,"p",false,false,"div"],"insertparagraph":[false,false,"",false,false,""]}], ["{foobar}baz", [["stylewithcss","false"],["defaultparagraphseparator","div"],["insertparagraph",""]], "
{}baz
", [true,true,true], {"stylewithcss":[false,true,"",false,false,""],"defaultparagraphseparator":[false,false,"div",false,false,"div"],"insertparagraph":[false,false,"",false,false,""]}], ["{foobar}baz", [["stylewithcss","true"],["defaultparagraphseparator","p"],["insertparagraph",""]], "
{}baz
", [true,true,true], {"stylewithcss":[false,false,"",false,true,""],"defaultparagraphseparator":[false,false,"div",false,false,"p"],"insertparagraph":[false,false,"",false,false,""]}], ["{foobar}baz", [["stylewithcss","false"],["defaultparagraphseparator","p"],["insertparagraph",""]], "
{}baz
", [true,true,true], {"stylewithcss":[false,true,"",false,false,""],"defaultparagraphseparator":[false,false,"p",false,false,"p"],"insertparagraph":[false,false,"",false,false,""]}], ["foo[barbaz]", [["stylewithcss","true"],["defaultparagraphseparator","div"],["insertparagraph",""]], "
foo
{}
foo[barbaz]", [["stylewithcss","false"],["defaultparagraphseparator","div"],["insertparagraph",""]], "
foo
{}
foo[barbaz]", [["stylewithcss","true"],["defaultparagraphseparator","p"],["insertparagraph",""]], "
foo
{}
foo[barbaz]", [["stylewithcss","false"],["defaultparagraphseparator","p"],["insertparagraph",""]], "
foo
{}
foo{barbaz}", [["stylewithcss","true"],["defaultparagraphseparator","div"],["insertparagraph",""]], "
foo
{}
foo{barbaz}", [["stylewithcss","false"],["defaultparagraphseparator","div"],["insertparagraph",""]], "
foo
{}
foo{barbaz}", [["stylewithcss","true"],["defaultparagraphseparator","p"],["insertparagraph",""]], "
foo
{}
foo{barbaz}", [["stylewithcss","false"],["defaultparagraphseparator","p"],["insertparagraph",""]], "
foo
{}
foo[barbaz]quz", [["stylewithcss","true"],["defaultparagraphseparator","div"],["insertparagraph",""]], "
foo
{}quz
", [true,true,true], {"stylewithcss":[false,false,"",false,true,""],"defaultparagraphseparator":[false,false,"p",false,false,"div"],"insertparagraph":[false,false,"",false,false,""]}], ["foo[barbaz]quz", [["stylewithcss","false"],["defaultparagraphseparator","div"],["insertparagraph",""]], "
foo
{}quz
", [true,true,true], {"stylewithcss":[false,true,"",false,false,""],"defaultparagraphseparator":[false,false,"div",false,false,"div"],"insertparagraph":[false,false,"",false,false,""]}], ["foo[barbaz]quz", [["stylewithcss","true"],["defaultparagraphseparator","p"],["insertparagraph",""]], "
foo
{}quz
", [true,true,true], {"stylewithcss":[false,false,"",false,true,""],"defaultparagraphseparator":[false,false,"div",false,false,"p"],"insertparagraph":[false,false,"",false,false,""]}], ["foo[barbaz]quz", [["stylewithcss","false"],["defaultparagraphseparator","p"],["insertparagraph",""]], "
foo
{}quz
", [true,true,true], {"stylewithcss":[false,true,"",false,false,""],"defaultparagraphseparator":[false,false,"p",false,false,"p"],"insertparagraph":[false,false,"",false,false,""]}], ["foo[]
", [["defaultparagraphseparator","div"],["insertparagraph",""]], "foo
{}
foo[]
", [["defaultparagraphseparator","p"],["insertparagraph",""]], "foo
{}
foo[]
foo
{}
foo[]
foo
{}
foo[]
foo
{}
foo[]
foo
{}
foo[]
foo
{}
foo[]
foo
{}
foo[]
foo
{}
foo[]
foo
{}
foo[]
foo
{}
foo[]
foo
{}
[]foo
", [["defaultparagraphseparator","div"],["insertparagraph",""]], "{}foo
", [true,true], {"defaultparagraphseparator":[false,false,"p",false,false,"div"],"insertparagraph":[false,false,"",false,false,""]}], ["[]foo
", [["defaultparagraphseparator","p"],["insertparagraph",""]], "{}foo
", [true,true], {"defaultparagraphseparator":[false,false,"div",false,false,"p"],"insertparagraph":[false,false,"",false,false,""]}], ["[]foo
{}foo
[]foo
{}foo
[]foo
{}foo
[]foo
{}foo
[]foo
{}foo
[]foo
{}foo
[]foo
{}foo
[]foo
{}foo
[]foo
{}foo
[]foo
{}foo
foo[]bar
", [["defaultparagraphseparator","div"],["insertparagraph",""]], "foo
{}bar
", [true,true], {"defaultparagraphseparator":[false,false,"p",false,false,"div"],"insertparagraph":[false,false,"",false,false,""]}], ["foo[]bar
", [["defaultparagraphseparator","p"],["insertparagraph",""]], "foo
{}bar
", [true,true], {"defaultparagraphseparator":[false,false,"div",false,false,"p"],"insertparagraph":[false,false,"",false,false,""]}], ["foo[]bar
foo
{}bar
foo[]bar
foo
{}bar
foo[]bar
foo
{}bar
foo[]bar
foo
{}bar
foo[]bar
foo
{}bar
foo[]bar
foo
{}bar
foo[]bar
foo
{}bar
foo[]bar
foo
{}bar
foo[]bar
foo
{}bar
foo[]bar
foo
{}bar
foo[]
foo
{}
foo[]
foo
{}
foo[]
foo
{}
foo[]
foo
{}
[]foo
{}foo
[]foo
{}foo
[]foo
{}foo
[]foo
{}foo
foo[]bar
foo
{}bar
foo[]bar
foo
{}bar
foo[]bar
foo
{}bar
foo[]bar
foo
{}bar
foo[]bar
foo
bar
foo[]bar
foo
bar
which is the only block in // the editing host. // In this case, the
element should become empty but stay here, and new
// element should be created. ["
[abc]
", [["defaultparagraphseparator","div"],["insertparagraph",""]], "[abc]
", [["defaultparagraphseparator","p"],["insertparagraph",""]], "[def]
", [["defaultparagraphseparator","div"],["insertparagraph",""]], "[def]
", [["defaultparagraphseparator","p"],["insertparagraph",""]], "[def]
", [["defaultparagraphseparator","div"],["insertparagraph",""],["inserttext","d"]], ["d
", "d
def
", [["defaultparagraphseparator","div"],["insertparagraph",""]], "def
", [true,true], {"insertparagraph":[false,false,"",false,false,""]}], ["def
", [["defaultparagraphseparator","p"],["insertparagraph",""]], "def
", [true,true], {"insertparagraph":[false,false,"",false,false,""]}], // Preserve inline elements at splitting the elements at end. It's out of scope // of these tests that how to treat the[X]abc
", [["insertparagraph",""]], "abc
", [true], {}], ["abc[X]
", [["insertparagraph",""]], "abc
baz
bar
baz
baz
bar
baz
bazqux
bar
bazqux
r
baz
ba
r
baz
r
baz
ba
r
baz
r
bazqux
ba
r
bazqux
bar
baz
bar
baz
bar
baz
bar
baz
barbazqux
", "foobarbazqux
"], [true,true], {}], ["foobarbaz
qux
barbaz
qux
barbaz
qux
barbaz
qux