// For documentation of the format, see README in this directory. var browserTests = [ ["foo[]bar", [["fontsize","4"]], "foo[]bar", [true], {"fontsize":[false,false,"3",false,false,"4"]}], ["
[foo
bar]
", [["stylewithcss","true"],["fontsize","4"]], "[foo
bar]
", [true,true], {"stylewithcss":[false,false,"",false,true,""],"fontsize":[false,false,"3",false,false,"4"]}], ["[foo
bar]
", [["stylewithcss","false"],["fontsize","4"]], "[foo
bar]
", [true,true], {"stylewithcss":[false,true,"",false,false,""],"fontsize":[false,false,"3",false,false,"4"]}], ["[foo bar]", [["stylewithcss","true"],["fontsize","4"]], "[foo bar]", [true,true], {"stylewithcss":[false,false,"",false,true,""],"fontsize":[false,false,"3",false,false,"4"]}], ["[foo bar]", [["stylewithcss","false"],["fontsize","4"]], "[foo bar]", [true,true], {"stylewithcss":[false,true,"",false,false,""],"fontsize":[false,false,"3",false,false,"4"]}], ["[foo
bar
baz]
", [["stylewithcss","true"],["fontsize","4"]], "[foo
bar
baz]
", [true,true], {"stylewithcss":[false,false,"",false,true,""],"fontsize":[false,false,"3",false,false,"4"]}], ["[foo
bar
baz]
", [["stylewithcss","false"],["fontsize","4"]], "[foo
bar
baz]
", [true,true], {"stylewithcss":[false,true,"",false,false,""],"fontsize":[false,false,"3",false,false,"4"]}], ["[foo
bar]", [["stylewithcss","true"],["fontsize","4"]], "
[foo
bar]
", [true,true], {"stylewithcss":[false,false,"",false,true,""],"fontsize":[false,false,"3",true,false,"4"]}], ["[foo
bar]", [["stylewithcss","false"],["fontsize","4"]], "
[foo
bar]
", [true,true], {"stylewithcss":[false,true,"",false,false,""],"fontsize":[false,false,"3",true,false,"4"]}], ["foo[]bar", [["fontsize","4"]], "foo[]bar", [true], {"fontsize":[false,false,"3",false,false,"4"]}], ["foo[]bar", [["fontsize","4"]], "foo[]bar", [true], {"fontsize":[false,false,"3",false,false,"4"]}], ["foo{}bar", [["fontsize","4"]], "foo{}bar", [true], {"fontsize":[false,false,"3",false,false,"4"]}], ["foo[]bar", [["fontsize","4"]], "foo[]bar", [true], {"fontsize":[false,false,"3",false,false,"4"]}], ["foo[bar]baz", [["stylewithcss","true"],["fontsize","4"]], "foo[bar]baz", [true,true], {"stylewithcss":[false,false,"",false,true,""],"fontsize":[false,false,"3",false,false,"4"]}], ["foo[bar]baz", [["stylewithcss","false"],["fontsize","4"]], "foo[bar]baz", [true,true], {"stylewithcss":[false,true,"",false,false,""],"fontsize":[false,false,"3",false,false,"4"]}], ["foo[barbaz]qozquz", [["stylewithcss","true"],["fontsize","4"]], "foo[barbaz]qozquz", [true,true], {"stylewithcss":[false,false,"",false,true,""],"fontsize":[false,false,"3",false,false,"4"]}], ["foo[barbaz]qozquz", [["stylewithcss","false"],["fontsize","4"]], "foo[barbaz]qozquz", [true,true], {"stylewithcss":[false,true,"",false,false,""],"fontsize":[false,false,"3",false,false,"4"]}], ["foo[barbaz]qozquz", [["stylewithcss","true"],["fontsize","4"]], "foo[barbaz]qozquz", [true,true], {"stylewithcss":[false,false,"",false,true,""],"fontsize":[false,false,"3",false,false,"4"]}], ["foo[barbaz]qozquz", [["stylewithcss","false"],["fontsize","4"]], "foo[barbaz]qozquz", [true,true], {"stylewithcss":[false,true,"",false,false,""],"fontsize":[false,false,"3",false,false,"4"]}], ["{
foo
}", [["stylewithcss","true"],["fontsize","4"]], "{
foo
}", [true,true], {"stylewithcss":[false,false,"",false,true,""],"fontsize":[false,false,"3",false,false,"4"]}], ["{
foo
}", [["stylewithcss","false"],["fontsize","4"]], "{
foo
}", [true,true], {"stylewithcss":[false,true,"",false,false,""],"fontsize":[false,false,"3",false,false,"4"]}], ["foo[bar]baz", [["stylewithcss","true"],["fontsize","1"]], "foo[bar]baz", [true,true], {"stylewithcss":[false,false,"",false,true,""],"fontsize":[false,false,"3",false,false,"1"]}], ["foo[bar]baz", [["stylewithcss","false"],["fontsize","1"]], "foo[bar]baz", [true,true], {"stylewithcss":[false,true,"",false,false,""],"fontsize":[false,false,"3",false,false,"1"]}], ["foo[bar]baz", [["stylewithcss","true"],["fontsize","0"]], "foo[bar]baz", [true,true], {"stylewithcss":[false,false,"",false,true,""],"fontsize":[false,false,"3",false,false,"1"]}], ["foo[bar]baz", [["stylewithcss","false"],["fontsize","0"]], "foo[bar]baz", [true,true], {"stylewithcss":[false,true,"",false,false,""],"fontsize":[false,false,"3",false,false,"1"]}], ["foo[bar]baz", [["stylewithcss","true"],["fontsize","-5"]], "foo[bar]baz", [true,true], {"stylewithcss":[false,false,"",false,true,""],"fontsize":[false,false,"3",false,false,"1"]}], ["foo[bar]baz", [["stylewithcss","false"],["fontsize","-5"]], "foo[bar]baz", [true,true], {"stylewithcss":[false,true,"",false,false,""],"fontsize":[false,false,"3",false,false,"1"]}], ["foo[bar]baz", [["stylewithcss","true"],["fontsize","6"]], "foo[bar]baz", [true,true], {"stylewithcss":[false,false,"",false,true,""],"fontsize":[false,false,"3",false,false,"6"]}], ["foo[bar]baz", [["stylewithcss","false"],["fontsize","6"]], "foo[bar]baz", [true,true], {"stylewithcss":[false,true,"",false,false,""],"fontsize":[false,false,"3",false,false,"6"]}], ["foo[bar]baz", [["stylewithcss","true"],["fontsize","7"]], "foo[bar]baz", [true,true], {"stylewithcss":[false,false,"",false,true,""],"fontsize":[false,false,"3",false,false,"7"]}], ["foo[bar]baz", [["stylewithcss","false"],["fontsize","7"]], "foo[bar]baz", [true,true], {"stylewithcss":[false,true,"",false,false,""],"fontsize":[false,false,"3",false,false,"7"]}], ["foo[bar]baz", [["stylewithcss","true"],["fontsize","8"]], "foo[bar]baz", [true,true], {"stylewithcss":[false,false,"",false,true,""],"fontsize":[false,false,"3",false,false,"7"]}], ["foo[bar]baz", [["stylewithcss","false"],["fontsize","8"]], "foo[bar]baz", [true,true], {"stylewithcss":[false,true,"",false,false,""],"fontsize":[false,false,"3",false,false,"7"]}], ["foo[bar]baz", [["stylewithcss","true"],["fontsize","100"]], "foo[bar]baz", [true,true], {"stylewithcss":[false,false,"",false,true,""],"fontsize":[false,false,"3",false,false,"7"]}], ["foo[bar]baz", [["stylewithcss","false"],["fontsize","100"]], "foo[bar]baz", [true,true], {"stylewithcss":[false,true,"",false,false,""],"fontsize":[false,false,"3",false,false,"7"]}], ["foo[bar]baz", [["fontsize","2em"]], "foo[bar]baz", [false], {"fontsize":[false,false,"3",false,false,"3"]}], ["foo[bar]baz", [["fontsize","20pt"]], "foo[bar]baz", [false], {"fontsize":[false,false,"3",false,false,"3"]}], ["foo[bar]baz", [["fontsize","xx-large"]], "foo[bar]baz", [false], {"fontsize":[false,false,"3",false,false,"3"]}], ["foo[bar]baz", [["stylewithcss","true"],["fontsize"," 1 "]], "foo[bar]baz", [true,true], {"stylewithcss":[false,false,"",false,true,""],"fontsize":[false,false,"3",false,false,"1"]}], ["foo[bar]baz", [["stylewithcss","false"],["fontsize"," 1 "]], "foo[bar]baz", [true,true], {"stylewithcss":[false,true,"",false,false,""],"fontsize":[false,false,"3",false,false,"1"]}], ["foo[bar]baz", [["fontsize","1."]], "foo[bar]baz", [false], {"fontsize":[false,false,"3",false,false,"3"]}], ["foo[bar]baz", [["stylewithcss","true"],["fontsize","1.0"]], "foo[bar]baz", [true,true], {"stylewithcss":[false,false,"",false,true,""],"fontsize":[false,false,"3",false,false,"1"]}], ["foo[bar]baz", [["stylewithcss","false"],["fontsize","1.0"]], "foo[bar]baz", [true,true], {"stylewithcss":[false,true,"",false,false,""],"fontsize":[false,false,"3",false,false,"1"]}], ["foo[bar]baz", [["stylewithcss","true"],["fontsize","1.0e2"]], "foo[bar]baz", [true,true], {"stylewithcss":[false,false,"",false,true,""],"fontsize":[false,false,"3",false,false,"1"]}], ["foo[bar]baz", [["stylewithcss","false"],["fontsize","1.0e2"]], "foo[bar]baz", [true,true], {"stylewithcss":[false,true,"",false,false,""],"fontsize":[false,false,"3",false,false,"1"]}], ["foo[bar]baz", [["stylewithcss","true"],["fontsize","1.1"]], "foo[bar]baz", [true,true], {"stylewithcss":[false,false,"",false,true,""],"fontsize":[false,false,"3",false,false,"1"]}], ["foo[bar]baz", [["stylewithcss","false"],["fontsize","1.1"]], "foo[bar]baz", [true,true], {"stylewithcss":[false,true,"",false,false,""],"fontsize":[false,false,"3",false,false,"1"]}], ["foo[bar]baz", [["stylewithcss","true"],["fontsize","1.9"]], "foo[bar]baz", [true,true], {"stylewithcss":[false,false,"",false,true,""],"fontsize":[false,false,"3",false,false,"1"]}], ["foo[bar]baz", [["stylewithcss","false"],["fontsize","1.9"]], "foo[bar]baz", [true,true], {"stylewithcss":[false,true,"",false,false,""],"fontsize":[false,false,"3",false,false,"1"]}], ["foo[bar]baz", [["fontsize","+0"]], "foo[bar]baz", [true], {"fontsize":[false,false,"3",false,false,"3"]}], ["foo[bar]baz", [["stylewithcss","true"],["fontsize","+1"]], "foo[bar]baz", [true,true], {"stylewithcss":[false,false,"",false,true,""],"fontsize":[false,false,"3",false,false,"4"]}], ["foo[bar]baz", [["stylewithcss","false"],["fontsize","+1"]], "foo[bar]baz", [true,true], {"stylewithcss":[false,true,"",false,false,""],"fontsize":[false,false,"3",false,false,"4"]}], ["foo[bar]baz", [["stylewithcss","true"],["fontsize","+9"]], "foo[bar]baz", [true,true], {"stylewithcss":[false,false,"",false,true,""],"fontsize":[false,false,"3",false,false,"7"]}], ["foo[bar]baz", [["stylewithcss","false"],["fontsize","+9"]], "foo[bar]baz", [true,true], {"stylewithcss":[false,true,"",false,false,""],"fontsize":[false,false,"3",false,false,"7"]}], ["foo[bar]baz", [["fontsize","-0"]], "foo[bar]baz", [true], {"fontsize":[false,false,"3",false,false,"3"]}], ["foo[bar]baz", [["stylewithcss","true"],["fontsize","-1"]], "foo[bar]baz", [true,true], {"stylewithcss":[false,false,"",false,true,""],"fontsize":[false,false,"3",false,false,"2"]}], ["foo[bar]baz", [["stylewithcss","false"],["fontsize","-1"]], "foo[bar]baz", [true,true], {"stylewithcss":[false,true,"",false,false,""],"fontsize":[false,false,"3",false,false,"2"]}], ["foo[bar]baz", [["stylewithcss","true"],["fontsize","-9"]], "foo[bar]baz", [true,true], {"stylewithcss":[false,false,"",false,true,""],"fontsize":[false,false,"3",false,false,"1"]}], ["foo[bar]baz", [["stylewithcss","false"],["fontsize","-9"]], "foo[bar]baz", [true,true], {"stylewithcss":[false,true,"",false,false,""],"fontsize":[false,false,"3",false,false,"1"]}], ["foo[bar]baz", [["fontsize",""]], "foo[bar]baz", [false], {"fontsize":[false,false,"3",false,false,"3"]}], ["foo | b[a]r | baz |
foo | b[a]r | baz |
foo | b[a]r | baz |
foo | b[a]r | baz |
foo | bar | baz |
foo | {bar | }baz |
foo | bar | baz |
foo | {bar | }baz |
foo | bar | baz |
foo | bar | }baz |
foo | bar | baz |
foo | bar | }baz |
foo | bar | baz |
foo | bar | baz |
foo | bar | baz |
foo | bar | baz |
foo | bar | baz |
foo | bar | baz |
foo | bar | baz |
foo | bar | baz |
foo | bar | baz |
foo | bar | baz |
foo | bar | baz |
foo | bar | baz |
foo[bar]baz
", [["stylewithcss","true"],["fontsize","4"]], "foo[bar]baz
", [true,true], {"stylewithcss":[false,false,"",false,true,""],"fontsize":[false,false,"1",false,false,"4"]}], ["foo[bar]baz
", [["stylewithcss","false"],["fontsize","4"]], "foo[bar]baz
", [true,true], {"stylewithcss":[false,true,"",false,false,""],"fontsize":[false,false,"1",false,false,"4"]}], ["foo[bar]baz
", [["stylewithcss","true"],["fontsize","4"]], "foo[bar]baz
", [true,true], {"stylewithcss":[false,false,"",false,true,""],"fontsize":[false,false,"3",false,false,"4"]}], ["foo[bar]baz
", [["stylewithcss","false"],["fontsize","4"]], "foo[bar]baz
", [true,true], {"stylewithcss":[false,true,"",false,false,""],"fontsize":[false,false,"3",false,false,"4"]}], ["foo[bar]baz
", [["fontsize","4"]], "foo[bar]baz
", [true], {"fontsize":[false,false,"4",false,false,"4"]}], ["foo[bar]baz
", [["stylewithcss","true"],["fontsize","4"]], "foo[bar]baz
", [true,true], {"stylewithcss":[false,false,"",false,true,""],"fontsize":[false,false,"6",false,false,"4"]}], ["foo[bar]baz
", [["stylewithcss","false"],["fontsize","4"]], "foo[bar]baz
", [true,true], {"stylewithcss":[false,true,"",false,false,""],"fontsize":[false,false,"6",false,false,"4"]}], ["foo[bar]baz
", [["stylewithcss","true"],["fontsize","3"]], "foo[bar]baz
", [true,true], {"stylewithcss":[false,false,"",false,true,""],"fontsize":[false,false,"1",false,false,"3"]}], ["foo[bar]baz
", [["stylewithcss","false"],["fontsize","3"]], "foo[bar]baz
", [true,true], {"stylewithcss":[false,true,"",false,false,""],"fontsize":[false,false,"1",false,false,"3"]}], ["foo[bar]baz
", [["fontsize","3"]], "foo[bar]baz
", [true], {"fontsize":[false,false,"3",false,false,"3"]}], ["foo[bar]baz
", [["stylewithcss","true"],["fontsize","3"]], "foo[bar]baz
", [true,true], {"stylewithcss":[false,false,"",false,true,""],"fontsize":[false,false,"4",false,false,"3"]}], ["foo[bar]baz
", [["stylewithcss","false"],["fontsize","3"]], "foo[bar]baz
", [true,true], {"stylewithcss":[false,true,"",false,false,""],"fontsize":[false,false,"4",false,false,"3"]}], ["foo[bar]baz
", [["stylewithcss","true"],["fontsize","3"]], "foo[bar]baz
", [true,true], {"stylewithcss":[false,false,"",false,true,""],"fontsize":[false,false,"6",false,false,"3"]}], ["foo[bar]baz
", [["stylewithcss","false"],["fontsize","3"]], "foo[bar]baz
", [true,true], {"stylewithcss":[false,true,"",false,false,""],"fontsize":[false,false,"6",false,false,"3"]}], ["foo b[a]r baz", [["stylewithcss","true"],["fontsize","3"]], "foo b[a]r baz", [true,true], {"stylewithcss":[false,false,"",false,true,""],"fontsize":[false,false,"7",false,false,"3"]}], ["foo b[a]r baz", [["stylewithcss","false"],["fontsize","3"]], "foo b[a]r baz", [true,true], {"stylewithcss":[false,true,"",false,false,""],"fontsize":[false,false,"7",false,false,"3"]}], ["foo[bar]baz", [["stylewithcss","true"],["fontsize","3"]], "foo[bar]baz", [true,true], {"stylewithcss":[false,false,"",false,true,""],"fontsize":[false,false,"4",false,false,"3"]}], ["foo[bar]baz", [["stylewithcss","false"],["fontsize","3"]], "foo[bar]baz", [true,true], {"stylewithcss":[false,true,"",false,false,""],"fontsize":[false,false,"4",false,false,"3"]}], ["foob[a]rbaz", [["stylewithcss","true"],["fontsize","3"]], "foob[a]rbaz", [true,true], {"stylewithcss":[false,false,"",false,true,""],"fontsize":[false,false,"4",false,false,"3"]}], ["foob[a]rbaz", [["stylewithcss","false"],["fontsize","3"]], "foob[a]rbaz", [true,true], {"stylewithcss":[false,true,"",false,false,""],"fontsize":[false,false,"4",false,false,"3"]}], ["foo[bar]baz", [["stylewithcss","true"],["fontsize","3"]], "foo[bar]baz", [true,true], {"stylewithcss":[false,false,"",false,true,""],"fontsize":[false,false,"2",false,false,"3"]}], ["foo[bar]baz", [["stylewithcss","false"],["fontsize","3"]], "foo[bar]baz", [true,true], {"stylewithcss":[false,true,"",false,false,""],"fontsize":[false,false,"2",false,false,"3"]}], ["foob[a]rbaz", [["stylewithcss","true"],["fontsize","3"]], "foob[a]rbaz", [true,true], {"stylewithcss":[false,false,"",false,true,""],"fontsize":[false,false,"2",false,false,"3"]}], ["foob[a]rbaz", [["stylewithcss","false"],["fontsize","3"]], "foob[a]rbaz", [true,true], {"stylewithcss":[false,true,"",false,false,""],"fontsize":[false,false,"2",false,false,"3"]}], ["fo[ob]arbaz", [["stylewithcss","true"],["fontsize","4"]], "fo[ob]arbaz", [true,true], {"stylewithcss":[false,false,"",false,true,""],"fontsize":[true,false,"3",false,false,"4"]}], ["fo[ob]arbaz", [["stylewithcss","false"],["fontsize","4"]], "fo[ob]arbaz", [true,true], {"stylewithcss":[false,true,"",false,false,""],"fontsize":[true,false,"3",false,false,"4"]}], ["fooba[rb]az", [["stylewithcss","true"],["fontsize","4"]], "fooba[rb]az", [true,true], {"stylewithcss":[false,false,"",false,true,""],"fontsize":[true,false,"2",false,false,"4"]}], ["fooba[rb]az", [["stylewithcss","false"],["fontsize","4"]], "fooba[rb]az", [true,true], {"stylewithcss":[false,true,"",false,false,""],"fontsize":[true,false,"2",false,false,"4"]}], ["fo[obarb]az", [["stylewithcss","true"],["fontsize","4"]], "fo[obarb]az", [true,true], {"stylewithcss":[false,false,"",false,true,""],"fontsize":[true,false,"3",false,false,"4"]}], ["fo[obarb]az", [["stylewithcss","false"],["fontsize","4"]], "fo[obarb]az", [true,true], {"stylewithcss":[false,true,"",false,false,""],"fontsize":[true,false,"3",false,false,"4"]}], ["foo[b]arbaz", [["stylewithcss","true"],["fontsize","4"]], "foobarbaz", [true,true], {"stylewithcss":[false,false,"",false,true,""],"fontsize":[false,false,"2",false,false,"4"]}], ["foo[b]arbaz", [["stylewithcss","false"],["fontsize","4"]], "foo[b]arbaz", [true,true], {"stylewithcss":[false,true,"",false,false,""],"fontsize":[false,false,"2",false,false,"4"]}], ["fooba[r]baz", [["stylewithcss","true"],["fontsize","4"]], "foobarbaz", [true,true], {"stylewithcss":[false,false,"",false,true,""],"fontsize":[false,false,"2",false,false,"4"]}], ["fooba[r]baz", [["stylewithcss","false"],["fontsize","4"]], "fooba[r]baz", [true,true], {"stylewithcss":[false,true,"",false,false,""],"fontsize":[false,false,"2",false,false,"4"]}], ["foo[bar]baz", [["stylewithcss","true"],["fontsize","4"]], "foo[bar]baz", [true,true], {"stylewithcss":[false,false,"",false,true,""],"fontsize":[false,false,"2",false,false,"4"]}], ["foo[bar]baz", [["stylewithcss","false"],["fontsize","4"]], "foo[bar]baz", [true,true], {"stylewithcss":[false,true,"",false,false,""],"fontsize":[false,false,"2",false,false,"4"]}], ["foo[bar]baz", [["stylewithcss","true"],["fontsize","4"]], "foo[bar]baz", [true,true], {"stylewithcss":[false,false,"",false,true,""],"fontsize":[false,false,"2",false,false,"4"]}], ["foo[bar]baz", [["stylewithcss","false"],["fontsize","4"]], "foo[bar]baz", [true,true], {"stylewithcss":[false,true,"",false,false,""],"fontsize":[false,false,"2",false,false,"4"]}], ["foo{bar}baz", [["stylewithcss","true"],["fontsize","4"]], "foo{bar}baz", [true,true], {"stylewithcss":[false,false,"",false,true,""],"fontsize":[false,false,"2",false,false,"4"]}], ["foo{bar}baz", [["stylewithcss","false"],["fontsize","4"]], "foo{bar}baz", [true,true], {"stylewithcss":[false,true,"",false,false,""],"fontsize":[false,false,"2",false,false,"4"]}], ["fo[ob]ar", [["stylewithcss","true"],["fontsize","4"]], "fo[ob]ar", [true,true], {"stylewithcss":[false,false,"",false,true,""],"fontsize":[true,false,"1",false,false,"4"]}], ["fo[ob]ar", [["stylewithcss","false"],["fontsize","4"]], "fo[ob]ar", [true,true], {"stylewithcss":[false,true,"",false,false,""],"fontsize":[true,false,"1",false,false,"4"]}], ["fo[ob]ar", [["stylewithcss","true"],["fontsize","4"]], "fo[ob]ar", [true,true], {"stylewithcss":[false,false,"",false,true,""],"fontsize":[false,false,"2",false,false,"4"]}], ["fo[ob]ar", [["stylewithcss","false"],["fontsize","4"]], "fo[ob]ar", [true,true], {"stylewithcss":[false,true,"",false,false,""],"fontsize":[false,false,"2",false,false,"4"]}], ["fo[ob]ar", [["stylewithcss","true"],["fontsize","4"]], "fo[ob]ar", [true,true], {"stylewithcss":[false,false,"",false,true,""],"fontsize":[false,false,"3",false,false,"4"]}], ["fo[ob]ar", [["stylewithcss","false"],["fontsize","4"]], "foobar", [true,true], {"stylewithcss":[false,true,"",false,false,""],"fontsize":[false,false,"3",false,false,"4"]}], ["fo[ob]ar", [["fontsize","4"]], "fo[ob]ar", [true], {"fontsize":[false,false,"4",false,false,"4"]}], ["fo[ob]ar", [["stylewithcss","true"],["fontsize","4"]], "fo[ob]ar", [true,true], {"stylewithcss":[false,false,"",false,true,""],"fontsize":[false,false,"5",false,false,"4"]}], ["fo[ob]ar", [["stylewithcss","false"],["fontsize","4"]], "fo[ob]ar", [true,true], {"stylewithcss":[false,true,"",false,false,""],"fontsize":[false,false,"5",false,false,"4"]}], ["fo[ob]ar", [["stylewithcss","true"],["fontsize","4"]], "foobar", [true,true], {"stylewithcss":[false,false,"",false,true,""],"fontsize":[false,false,"6",false,false,"4"]}], ["fo[ob]ar", [["stylewithcss","false"],["fontsize","4"]], "foobar", [true,true], {"stylewithcss":[false,true,"",false,false,""],"fontsize":[false,false,"6",false,false,"4"]}], // If contents of are entirely selected, it should be reused. ["[abc]", [["styleWithCSS","false"],["fontSize","7"]], ["[abc]", "[abc]"], [true,true], {}], ["[abc]", [["styleWithCSS","false"],["fontSize","7"]], ["[abc]", "[abc]"], [true,true], {}], ["[abc]", [["styleWithCSS","false"],["fontSize","7"]], ["[abc]", "[abc]", "[abc]", "[abc]", "[abc]", "[abc]"], [true,true], {}], // but don't split existing if partially selected. ["[a]bc", [["styleWithCSS","false"],["fontSize","7"]], "[a]bc", [true,true], {}], ["ab[c]", [["styleWithCSS","false"],["fontSize","7"]], "ab[c]", [true,true], {}], ["[a]bc", [["styleWithCSS","false"],["fontSize","7"]], "[a]bc", [true,true], {}], ["ab[c]", [["styleWithCSS","false"],["fontSize","7"]], "ab[c]", [true,true], {}], // font-size should be removed when applying fontsize without CSS. // Blink and WebKit puts into the element in these // test cases. However, this behavior may cause the background color is // partially applied to the text because the height is computed without the // . Therefore, it may be better to put outside any inline // ancestors. ["[abc]", [["styleWithCSS","false"],["fontSize","5"]], ["[abc]", "[abc]"], [true,true], {}], ["[a]bc", [["styleWithCSS","false"],["fontSize","5"]], ["[a]bc", "[a]bc"], [true,true], {}], ["a[b]c", [["styleWithCSS","false"],["fontSize","5"]], ["a[b]c", "a[b]c"], [true,true], {}], ["ab[c]", [["styleWithCSS","false"],["fontSize","5"]], ["ab[c]", "ab[c]"], [true,true], {}], ["[abc
def]
", [["styleWithCSS","false"],["fontSize","5"]], ["[abc
def]
", "[abc
def]
"], [true,true], {}], ]