From 0ebf5bdf043a27fd3dfb7f92e0cb63d88954c44d Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Fri, 19 Apr 2024 03:47:29 +0200 Subject: Adding upstream version 115.8.0esr. Signed-off-by: Daniel Baumann --- .../web-platform/tests/editing/data/fontname.js | 753 +++++++++++++++++++++ 1 file changed, 753 insertions(+) create mode 100644 testing/web-platform/tests/editing/data/fontname.js (limited to 'testing/web-platform/tests/editing/data/fontname.js') diff --git a/testing/web-platform/tests/editing/data/fontname.js b/testing/web-platform/tests/editing/data/fontname.js new file mode 100644 index 0000000000..8c34a5a759 --- /dev/null +++ b/testing/web-platform/tests/editing/data/fontname.js @@ -0,0 +1,753 @@ +// For documentation of the format, see README in this directory. +var browserTests = [ +["foo[]bar", + [["fontname","sans-serif"]], + "foo[]bar", + [true], + {"fontname":[false,false,"serif",false,false,"sans-serif"]}], +["

[foo

bar]

", + [["stylewithcss","true"],["fontname","sans-serif"]], + "

[foo

bar]

", + [true,true], + {"stylewithcss":[false,false,"",false,true,""],"fontname":[false,false,"serif",false,false,"sans-serif"]}], +["

[foo

bar]

", + [["stylewithcss","false"],["fontname","sans-serif"]], + "

[foo

bar]

", + [true,true], + {"stylewithcss":[false,true,"",false,false,""],"fontname":[false,false,"serif",false,false,"sans-serif"]}], +["[foo bar]", + [["stylewithcss","true"],["fontname","sans-serif"]], + "[foo bar]", + [true,true], + {"stylewithcss":[false,false,"",false,true,""],"fontname":[false,false,"serif",false,false,"sans-serif"]}], +["[foo bar]", + [["stylewithcss","false"],["fontname","sans-serif"]], + "[foo bar]", + [true,true], + {"stylewithcss":[false,true,"",false,false,""],"fontname":[false,false,"serif",false,false,"sans-serif"]}], +["

[foo

bar

baz]

", + [["stylewithcss","true"],["fontname","sans-serif"]], + "

[foo

bar

baz]

", + [true,true], + {"stylewithcss":[false,false,"",false,true,""],"fontname":[false,false,"serif",false,false,"sans-serif"]}], +["

[foo

bar

baz]

", + [["stylewithcss","false"],["fontname","sans-serif"]], + "

[foo

bar

baz]

", + [true,true], + {"stylewithcss":[false,true,"",false,false,""],"fontname":[false,false,"serif",false,false,"sans-serif"]}], +["

[foo


bar]", + [["stylewithcss","true"],["fontname","sans-serif"]], + "

[foo


bar]

", + [true,true], + {"stylewithcss":[false,false,"",false,true,""],"fontname":[false,false,"serif",false,false,"sans-serif"]}], +["

[foo


bar]", + [["stylewithcss","false"],["fontname","sans-serif"]], + "

[foo


bar]

", + [true,true], + {"stylewithcss":[false,true,"",false,false,""],"fontname":[false,false,"serif",false,false,"sans-serif"]}], +["foo[]bar", + [["fontname","sans-serif"]], + "foo[]bar", + [true], + {"fontname":[false,false,"serif",false,false,"sans-serif"]}], +["foo[]bar", + [["fontname","sans-serif"]], + "foo[]bar", + [true], + {"fontname":[false,false,"serif",false,false,"sans-serif"]}], +["foo{}bar", + [["fontname","sans-serif"]], + "foo{}bar", + [true], + {"fontname":[false,false,"serif",false,false,"sans-serif"]}], +["foo[]bar", + [["fontname","sans-serif"]], + "foo[]bar", + [true], + {"fontname":[false,false,"serif",false,false,"sans-serif"]}], +["foo[bar]baz", + [["stylewithcss","true"],["fontname","sans-serif"]], + "foo[bar]baz", + [true,true], + {"stylewithcss":[false,false,"",false,true,""],"fontname":[false,false,"serif",false,false,"sans-serif"]}], +["foo[bar]baz", + [["stylewithcss","false"],["fontname","sans-serif"]], + "foo[bar]baz", + [true,true], + {"stylewithcss":[false,true,"",false,false,""],"fontname":[false,false,"serif",false,false,"sans-serif"]}], +["foo[barbaz]qozquz", + [["stylewithcss","true"],["fontname","sans-serif"]], + "foo[barbaz]qozquz", + [true,true], + {"stylewithcss":[false,false,"",false,true,""],"fontname":[false,false,"serif",false,false,"sans-serif"]}], +["foo[barbaz]qozquz", + [["stylewithcss","false"],["fontname","sans-serif"]], + "foo[barbaz]qozquz", + [true,true], + {"stylewithcss":[false,true,"",false,false,""],"fontname":[false,false,"serif",false,false,"sans-serif"]}], +["foo[barbaz]qozquz", + [["stylewithcss","true"],["fontname","sans-serif"]], + "foo[barbaz]qozquz", + [true,true], + {"stylewithcss":[false,false,"",false,true,""],"fontname":[false,false,"serif",false,false,"sans-serif"]}], +["foo[barbaz]qozquz", + [["stylewithcss","false"],["fontname","sans-serif"]], + "foo[barbaz]qozquz", + [true,true], + {"stylewithcss":[false,true,"",false,false,""],"fontname":[false,false,"serif",false,false,"sans-serif"]}], +["{

foo

}", + [["stylewithcss","true"],["fontname","sans-serif"]], + "{

foo

}", + [true,true], + {"stylewithcss":[false,false,"",false,true,""],"fontname":[false,false,"serif",false,false,"sans-serif"]}], +["{

foo

}", + [["stylewithcss","false"],["fontname","sans-serif"]], + "{

foo

}", + [true,true], + {"stylewithcss":[false,true,"",false,false,""],"fontname":[false,false,"serif",false,false,"sans-serif"]}], +["
foob[a]rbaz
", + [["stylewithcss","true"],["fontname","sans-serif"]], + "
foob[a]rbaz
", + [true,true], + {"stylewithcss":[false,false,"",false,true,""],"fontname":[false,false,"serif",false,false,"sans-serif"]}], +["
foob[a]rbaz
", + [["stylewithcss","false"],["fontname","sans-serif"]], + "
foob[a]rbaz
", + [true,true], + {"stylewithcss":[false,true,"",false,false,""],"fontname":[false,false,"serif",false,false,"sans-serif"]}], +["
foobarbaz
", + [["stylewithcss","true"],["fontname","sans-serif"]], + "{}
foobarbaz
", + [true,true], + {"stylewithcss":[false,false,"",false,true,""],"fontname":[false,false,"serif",false,false,"sans-serif"]}], +["
foobarbaz
", + [["stylewithcss","false"],["fontname","sans-serif"]], + "{}
foobarbaz
", + [true,true], + {"stylewithcss":[false,true,"",false,false,""],"fontname":[false,false,"serif",false,false,"sans-serif"]}], +["
foobarbaz
", + [["stylewithcss","true"],["fontname","sans-serif"]], + "{}
foobarbaz
", + [true,true], + {"stylewithcss":[false,false,"",false,true,""],"fontname":[false,false,"serif",false,false,"sans-serif"]}], +["
foobarbaz
", + [["stylewithcss","false"],["fontname","sans-serif"]], + "{}
foobarbaz
", + [true,true], + {"stylewithcss":[false,true,"",false,false,""],"fontname":[false,false,"serif",false,false,"sans-serif"]}], +["
foobarbaz
", + [["stylewithcss","true"],["fontname","sans-serif"]], + "{}
foobarbaz
", + [true,true], + {"stylewithcss":[false,false,"",false,true,""],"fontname":[false,false,"serif",false,false,"sans-serif"]}], +["
foobarbaz
", + [["stylewithcss","false"],["fontname","sans-serif"]], + "{}
foobarbaz
", + [true,true], + {"stylewithcss":[false,true,"",false,false,""],"fontname":[false,false,"serif",false,false,"sans-serif"]}], +["
foobarbaz
", + [["stylewithcss","true"],["fontname","sans-serif"]], + "{}
foobarbaz
", + [true,true], + {"stylewithcss":[false,false,"",false,true,""],"fontname":[false,false,"serif",false,false,"sans-serif"]}], +["
foobarbaz
", + [["stylewithcss","false"],["fontname","sans-serif"]], + "{}
foobarbaz
", + [true,true], + {"stylewithcss":[false,true,"",false,false,""],"fontname":[false,false,"serif",false,false,"sans-serif"]}], +["{
foobarbaz
}", + [["stylewithcss","true"],["fontname","sans-serif"]], + "{
foobarbaz
}", + [true,true], + {"stylewithcss":[false,false,"",false,true,""],"fontname":[false,false,"serif",false,false,"sans-serif"]}], +["{
foobarbaz
}", + [["stylewithcss","false"],["fontname","sans-serif"]], + "{
foobarbaz
}", + [true,true], + {"stylewithcss":[false,true,"",false,false,""],"fontname":[false,false,"serif",false,false,"sans-serif"]}], +["foo[bar]baz", + [["stylewithcss","true"],["fontname","sans-serif"]], + "foo[bar]baz", + [true,true], + {"stylewithcss":[false,false,"",false,true,""],"fontname":[false,false,"monospace",false,false,"sans-serif"]}], +["foo[bar]baz", + [["stylewithcss","false"],["fontname","sans-serif"]], + "foo[bar]baz", + [true,true], + {"stylewithcss":[false,true,"",false,false,""],"fontname":[false,false,"monospace",false,false,"sans-serif"]}], +["foo[bar]baz", + [["stylewithcss","true"],["fontname","sans-serif"]], + "foo[bar]baz", + [true,true], + {"stylewithcss":[false,false,"",false,true,""],"fontname":[false,false,"monospace",false,false,"sans-serif"]}], +["foo[bar]baz", + [["stylewithcss","false"],["fontname","sans-serif"]], + "foo[bar]baz", + [true,true], + {"stylewithcss":[false,true,"",false,false,""],"fontname":[false,false,"monospace",false,false,"sans-serif"]}], +["foo[bar]baz", + [["stylewithcss","true"],["fontname","sans-serif"]], + "foo[bar]baz", + [true,true], + {"stylewithcss":[false,false,"",false,true,""],"fontname":[false,false,"monospace",false,false,"sans-serif"]}], +["foo[bar]baz", + [["stylewithcss","false"],["fontname","sans-serif"]], + "foo[bar]baz", + [true,true], + {"stylewithcss":[false,true,"",false,false,""],"fontname":[false,false,"monospace",false,false,"sans-serif"]}], +["foo
[bar]
baz", + [["stylewithcss","true"],["fontname","sans-serif"]], + "foo
[bar]
baz", + [true,true], + {"stylewithcss":[false,false,"",false,true,""],"fontname":[false,false,"monospace",false,false,"sans-serif"]}], +["foo
[bar]
baz", + [["stylewithcss","false"],["fontname","sans-serif"]], + "foo
[bar]
baz", + [true,true], + {"stylewithcss":[false,true,"",false,false,""],"fontname":[false,false,"monospace",false,false,"sans-serif"]}], +["foo[bar]baz", + [["stylewithcss","true"],["fontname","sans-serif"]], + "foo[bar]baz", + [true,true], + {"stylewithcss":[false,false,"",false,true,""],"fontname":[false,false,"monospace",false,false,"sans-serif"]}], +["foo[bar]baz", + [["stylewithcss","false"],["fontname","sans-serif"]], + "foo[bar]baz", + [true,true], + {"stylewithcss":[false,true,"",false,false,""],"fontname":[false,false,"monospace",false,false,"sans-serif"]}], +["foo[bar]baz", + [["stylewithcss","true"],["fontname","sans-serif"]], + "foo[bar]baz", + [true,true], + {"stylewithcss":[false,false,"",false,true,""],"fontname":[false,false,"monospace",false,false,"sans-serif"]}], +["foo[bar]baz", + [["stylewithcss","false"],["fontname","sans-serif"]], + "foo[bar]baz", + [true,true], + {"stylewithcss":[false,true,"",false,false,""],"fontname":[false,false,"monospace",false,false,"sans-serif"]}], +["foob[a]rbaz", + [["stylewithcss","true"],["fontname","sans-serif"]], + "foob[a]rbaz", + [true,true], + {"stylewithcss":[false,false,"",false,true,""],"fontname":[false,false,"monospace",false,false,"sans-serif"]}], +["foob[a]rbaz", + [["stylewithcss","false"],["fontname","sans-serif"]], + "foob[a]rbaz", + [true,true], + {"stylewithcss":[false,true,"",false,false,""],"fontname":[false,false,"monospace",false,false,"sans-serif"]}], +["foob[a]rbaz", + [["stylewithcss","true"],["fontname","sans-serif"]], + "foob[a]rbaz", + [true,true], + {"stylewithcss":[false,false,"",false,true,""],"fontname":[false,false,"monospace",false,false,"sans-serif"]}], +["foob[a]rbaz", + [["stylewithcss","false"],["fontname","sans-serif"]], + "foob[a]rbaz", + [true,true], + {"stylewithcss":[false,true,"",false,false,""],"fontname":[false,false,"monospace",false,false,"sans-serif"]}], +["foob[a]rbaz", + [["stylewithcss","true"],["fontname","sans-serif"]], + "foob[a]rbaz", + [true,true], + {"stylewithcss":[false,false,"",false,true,""],"fontname":[false,false,"monospace",false,false,"sans-serif"]}], +["foob[a]rbaz", + [["stylewithcss","false"],["fontname","sans-serif"]], + "foob[a]rbaz", + [true,true], + {"stylewithcss":[false,true,"",false,false,""],"fontname":[false,false,"monospace",false,false,"sans-serif"]}], +["foo
b[a]r
baz", + [["stylewithcss","true"],["fontname","sans-serif"]], + "foo
b[a]r
baz", + [true,true], + {"stylewithcss":[false,false,"",false,true,""],"fontname":[false,false,"monospace",false,false,"sans-serif"]}], +["foo
b[a]r
baz", + [["stylewithcss","false"],["fontname","sans-serif"]], + "foo
b[a]r
baz", + [true,true], + {"stylewithcss":[false,true,"",false,false,""],"fontname":[false,false,"monospace",false,false,"sans-serif"]}], +["foob[a]rbaz", + [["stylewithcss","true"],["fontname","sans-serif"]], + "foob[a]rbaz", + [true,true], + {"stylewithcss":[false,false,"",false,true,""],"fontname":[false,false,"monospace",false,false,"sans-serif"]}], +["foob[a]rbaz", + [["stylewithcss","false"],["fontname","sans-serif"]], + "foob[a]rbaz", + [true,true], + {"stylewithcss":[false,true,"",false,false,""],"fontname":[false,false,"monospace",false,false,"sans-serif"]}], +["foob[a]rbaz", + [["stylewithcss","true"],["fontname","sans-serif"]], + "foob[a]rbaz", + [true,true], + {"stylewithcss":[false,false,"",false,true,""],"fontname":[false,false,"monospace",false,false,"sans-serif"]}], +["foob[a]rbaz", + [["stylewithcss","false"],["fontname","sans-serif"]], + "foob[a]rbaz", + [true,true], + {"stylewithcss":[false,true,"",false,false,""],"fontname":[false,false,"monospace",false,false,"sans-serif"]}], +["[foobarbaz]", + [["stylewithcss","true"],["fontname","sans-serif"]], + "[foobarbaz]", + [true,true], + {"stylewithcss":[false,false,"",false,true,""],"fontname":[true,false,"serif",false,false,"sans-serif"]}], +["[foobarbaz]", + [["stylewithcss","false"],["fontname","sans-serif"]], + "[foobarbaz]", + [true,true], + {"stylewithcss":[false,true,"",false,false,""],"fontname":[true,false,"serif",false,false,"sans-serif"]}], +["[foobarbaz]", + [["stylewithcss","true"],["fontname","sans-serif"]], + "[foobarbaz]", + [true,true], + {"stylewithcss":[false,false,"",false,true,""],"fontname":[true,false,"serif",false,false,"sans-serif"]}], +["[foobarbaz]", + [["stylewithcss","false"],["fontname","sans-serif"]], + "[foobarbaz]", + [true,true], + {"stylewithcss":[false,true,"",false,false,""],"fontname":[true,false,"serif",false,false,"sans-serif"]}], +["[foobarbaz]", + [["stylewithcss","true"],["fontname","sans-serif"]], + "[foobarbaz]", + [true,true], + {"stylewithcss":[false,false,"",false,true,""],"fontname":[true,false,"serif",false,false,"sans-serif"]}], +["[foobarbaz]", + [["stylewithcss","false"],["fontname","sans-serif"]], + "[foobarbaz]", + [true,true], + {"stylewithcss":[false,true,"",false,false,""],"fontname":[true,false,"serif",false,false,"sans-serif"]}], +["[foo
bar
baz]", + [["stylewithcss","true"],["fontname","sans-serif"]], + "[foo
bar
baz]", + [true,true], + {"stylewithcss":[false,false,"",false,true,""],"fontname":[true,false,"serif",false,false,"sans-serif"]}], +["[foo
bar
baz]", + [["stylewithcss","false"],["fontname","sans-serif"]], + "[foo
bar
baz]", + [true,true], + {"stylewithcss":[false,true,"",false,false,""],"fontname":[true,false,"serif",false,false,"sans-serif"]}], +["[foobarbaz]", + [["stylewithcss","true"],["fontname","sans-serif"]], + "[foobarbaz]", + [true,true], + {"stylewithcss":[false,false,"",false,true,""],"fontname":[true,false,"serif",false,false,"sans-serif"]}], +["[foobarbaz]", + [["stylewithcss","false"],["fontname","sans-serif"]], + "[foobarbaz]", + [true,true], + {"stylewithcss":[false,true,"",false,false,""],"fontname":[true,false,"serif",false,false,"sans-serif"]}], +["[foobarbaz]", + [["stylewithcss","true"],["fontname","sans-serif"]], + "[foobarbaz]", + [true,true], + {"stylewithcss":[false,false,"",false,true,""],"fontname":[true,false,"serif",false,false,"sans-serif"]}], +["[foobarbaz]", + [["stylewithcss","false"],["fontname","sans-serif"]], + "[foobarbaz]", + [true,true], + {"stylewithcss":[false,true,"",false,false,""],"fontname":[true,false,"serif",false,false,"sans-serif"]}], +["[fooba]rbaz", + [["stylewithcss","true"],["fontname","sans-serif"]], + "[fooba]rbaz", + [true,true], + {"stylewithcss":[false,false,"",false,true,""],"fontname":[true,false,"serif",false,false,"sans-serif"]}], +["[fooba]rbaz", + [["stylewithcss","false"],["fontname","sans-serif"]], + "[fooba]rbaz", + [true,true], + {"stylewithcss":[false,true,"",false,false,""],"fontname":[true,false,"serif",false,false,"sans-serif"]}], +["[fooba]rbaz", + [["stylewithcss","true"],["fontname","sans-serif"]], + "[fooba]rbaz", + [true,true], + {"stylewithcss":[false,false,"",false,true,""],"fontname":[true,false,"serif",false,false,"sans-serif"]}], +["[fooba]rbaz", + [["stylewithcss","false"],["fontname","sans-serif"]], + "[fooba]rbaz", + [true,true], + {"stylewithcss":[false,true,"",false,false,""],"fontname":[true,false,"serif",false,false,"sans-serif"]}], +["[fooba]rbaz", + [["stylewithcss","true"],["fontname","sans-serif"]], + "[fooba]rbaz", + [true,true], + {"stylewithcss":[false,false,"",false,true,""],"fontname":[true,false,"serif",false,false,"sans-serif"]}], +["[fooba]rbaz", + [["stylewithcss","false"],["fontname","sans-serif"]], + "[fooba]rbaz", + [true,true], + {"stylewithcss":[false,true,"",false,false,""],"fontname":[true,false,"serif",false,false,"sans-serif"]}], +["[foo
ba]r
baz", + [["stylewithcss","true"],["fontname","sans-serif"]], + "[foo
ba]r
baz", + [true,true], + {"stylewithcss":[false,false,"",false,true,""],"fontname":[true,false,"serif",false,false,"sans-serif"]}], +["[foo
ba]r
baz", + [["stylewithcss","false"],["fontname","sans-serif"]], + "[foo
ba]r
baz", + [true,true], + {"stylewithcss":[false,true,"",false,false,""],"fontname":[true,false,"serif",false,false,"sans-serif"]}], +["[fooba]rbaz", + [["stylewithcss","true"],["fontname","sans-serif"]], + "[fooba]rbaz", + [true,true], + {"stylewithcss":[false,false,"",false,true,""],"fontname":[true,false,"serif",false,false,"sans-serif"]}], +["[fooba]rbaz", + [["stylewithcss","false"],["fontname","sans-serif"]], + "[fooba]rbaz", + [true,true], + {"stylewithcss":[false,true,"",false,false,""],"fontname":[true,false,"serif",false,false,"sans-serif"]}], +["[fooba]rbaz", + [["stylewithcss","true"],["fontname","sans-serif"]], + "[fooba]rbaz", + [true,true], + {"stylewithcss":[false,false,"",false,true,""],"fontname":[true,false,"serif",false,false,"sans-serif"]}], +["[fooba]rbaz", + [["stylewithcss","false"],["fontname","sans-serif"]], + "[fooba]rbaz", + [true,true], + {"stylewithcss":[false,true,"",false,false,""],"fontname":[true,false,"serif",false,false,"sans-serif"]}], +["foob[arbaz]", + [["stylewithcss","true"],["fontname","sans-serif"]], + "foob[arbaz]", + [true,true], + {"stylewithcss":[false,false,"",false,true,""],"fontname":[true,false,"monospace",false,false,"sans-serif"]}], +["foob[arbaz]", + [["stylewithcss","false"],["fontname","sans-serif"]], + "foob[arbaz]", + [true,true], + {"stylewithcss":[false,true,"",false,false,""],"fontname":[true,false,"monospace",false,false,"sans-serif"]}], +["foob[arbaz]", + [["stylewithcss","true"],["fontname","sans-serif"]], + "foob[arbaz]", + [true,true], + {"stylewithcss":[false,false,"",false,true,""],"fontname":[true,false,"monospace",false,false,"sans-serif"]}], +["foob[arbaz]", + [["stylewithcss","false"],["fontname","sans-serif"]], + "foob[arbaz]", + [true,true], + {"stylewithcss":[false,true,"",false,false,""],"fontname":[true,false,"monospace",false,false,"sans-serif"]}], +["foob[arbaz]", + [["stylewithcss","true"],["fontname","sans-serif"]], + "foob[arbaz]", + [true,true], + {"stylewithcss":[false,false,"",false,true,""],"fontname":[true,false,"monospace",false,false,"sans-serif"]}], +["foob[arbaz]", + [["stylewithcss","false"],["fontname","sans-serif"]], + "foob[arbaz]", + [true,true], + {"stylewithcss":[false,true,"",false,false,""],"fontname":[true,false,"monospace",false,false,"sans-serif"]}], +["foo
b[ar
baz]", + [["stylewithcss","true"],["fontname","sans-serif"]], + "foo
b[ar
baz]", + [true,true], + {"stylewithcss":[false,false,"",false,true,""],"fontname":[true,false,"monospace",false,false,"sans-serif"]}], +["foo
b[ar
baz]", + [["stylewithcss","false"],["fontname","sans-serif"]], + "foo
b[ar
baz]", + [true,true], + {"stylewithcss":[false,true,"",false,false,""],"fontname":[true,false,"monospace",false,false,"sans-serif"]}], +["foob[arbaz]", + [["stylewithcss","true"],["fontname","sans-serif"]], + "foob[arbaz]", + [true,true], + {"stylewithcss":[false,false,"",false,true,""],"fontname":[true,false,"monospace",false,false,"sans-serif"]}], +["foob[arbaz]", + [["stylewithcss","false"],["fontname","sans-serif"]], + "foob[arbaz]", + [true,true], + {"stylewithcss":[false,true,"",false,false,""],"fontname":[true,false,"monospace",false,false,"sans-serif"]}], +["foob[arbaz]", + [["stylewithcss","true"],["fontname","sans-serif"]], + "foob[arbaz]", + [true,true], + {"stylewithcss":[false,false,"",false,true,""],"fontname":[true,false,"monospace",false,false,"sans-serif"]}], +["foob[arbaz]", + [["stylewithcss","false"],["fontname","sans-serif"]], + "foob[arbaz]", + [true,true], + {"stylewithcss":[false,true,"",false,false,""],"fontname":[true,false,"monospace",false,false,"sans-serif"]}], +["foo[bar]baz", + [["stylewithcss","true"],["fontname","sans-serif"]], + "foo[bar]baz", + [true,true], + {"stylewithcss":[false,false,"",false,true,""],"fontname":[false,false,"sans-serif",false,false,"sans-serif"]}], +["foo[bar]baz", + [["stylewithcss","false"],["fontname","sans-serif"]], + "foo[bar]baz", + [true,true], + {"stylewithcss":[false,true,"",false,false,""],"fontname":[false,false,"sans-serif",false,false,"sans-serif"]}], +["foob[a]rbaz", + [["fontname","sans-serif"]], + "foob[a]rbaz", + [true], + {"fontname":[false,false,"sans-serif",false,false,"sans-serif"]}], +["foo[bar]baz", + [["stylewithcss","true"],["fontname","sans-serif"]], + "foo[bar]baz", + [true,true], + {"stylewithcss":[false,false,"",false,true,""],"fontname":[false,false,"monospace",false,false,"sans-serif"]}], +["foo[bar]baz", + [["stylewithcss","false"],["fontname","sans-serif"]], + "foo[bar]baz", + [true,true], + {"stylewithcss":[false,true,"",false,false,""],"fontname":[false,false,"monospace",false,false,"sans-serif"]}], +["foob[a]rbaz", + [["stylewithcss","true"],["fontname","sans-serif"]], + "foob[a]rbaz", + [true,true], + {"stylewithcss":[false,false,"",false,true,""],"fontname":[false,false,"monospace",false,false,"sans-serif"]}], +["foob[a]rbaz", + [["stylewithcss","false"],["fontname","sans-serif"]], + "foob[a]rbaz", + [true,true], + {"stylewithcss":[false,true,"",false,false,""],"fontname":[false,false,"monospace",false,false,"sans-serif"]}], +["fooba[rb]az", + [["fontname","sans-serif"]], + "fooba[rb]az", + [false], + {"fontname":[false,false,"serif",false,false,"serif"]}], +["fo[ob]arbaz", + [["fontname","sans-serif"]], + "fo[ob]arbaz", + [false], + {"fontname":[false,false,"serif",false,false,"serif"]}], +["foo{}
bar", + [["fontname","sans-serif"]], + "foo{}
bar", + [true], + {"fontname":[false,false,"monospace",false,false,"sans-serif"]}], +["foo{
}bar", + [["stylewithcss","true"],["fontname","sans-serif"]], + "foo{
}bar", + [true,true], + {"stylewithcss":[false,false,"",false,true,""],"fontname":[false,false,"monospace",false,false,"sans-serif"]}], +["foo{
}bar", + [["stylewithcss","false"],["fontname","sans-serif"]], + "foo{
}bar", + [true,true], + {"stylewithcss":[false,true,"",false,false,""],"fontname":[false,false,"monospace",false,false,"sans-serif"]}], +["foo{
b]ar", + [["stylewithcss","true"],["fontname","sans-serif"]], + "foo{
b]ar", + [true,true], + {"stylewithcss":[false,false,"",false,true,""],"fontname":[true,false,"monospace",false,false,"sans-serif"]}], +["foo{
b]ar", + [["stylewithcss","false"],["fontname","sans-serif"]], + "foo{
b]ar", + [true,true], + {"stylewithcss":[false,true,"",false,false,""],"fontname":[true,false,"monospace",false,false,"sans-serif"]}], +["fo[ob]arbaz", + [["stylewithcss","true"],["fontname","sans-serif"]], + "fo[ob]arbaz", + [true,true], + {"stylewithcss":[false,false,"",false,true,""],"fontname":[true,false,"serif",false,false,"sans-serif"]}], +["fo[ob]arbaz", + [["stylewithcss","false"],["fontname","sans-serif"]], + "fo[ob]arbaz", + [true,true], + {"stylewithcss":[false,true,"",false,false,""],"fontname":[true,false,"serif",false,false,"sans-serif"]}], +["fooba[rb]az", + [["stylewithcss","true"],["fontname","sans-serif"]], + "fooba[rb]az", + [true,true], + {"stylewithcss":[false,false,"",false,true,""],"fontname":[true,false,"monospace",false,false,"sans-serif"]}], +["fooba[rb]az", + [["stylewithcss","false"],["fontname","sans-serif"]], + "fooba[rb]az", + [true,true], + {"stylewithcss":[false,true,"",false,false,""],"fontname":[true,false,"monospace",false,false,"sans-serif"]}], +["fo[obarb]az", + [["stylewithcss","true"],["fontname","sans-serif"]], + "fo[obarb]az", + [true,true], + {"stylewithcss":[false,false,"",false,true,""],"fontname":[true,false,"serif",false,false,"sans-serif"]}], +["fo[obarb]az", + [["stylewithcss","false"],["fontname","sans-serif"]], + "fo[obarb]az", + [true,true], + {"stylewithcss":[false,true,"",false,false,""],"fontname":[true,false,"serif",false,false,"sans-serif"]}], +["foo[b]arbaz", + [["stylewithcss","true"],["fontname","sans-serif"]], + "foo[b]arbaz", + [true,true], + {"stylewithcss":[false,false,"",false,true,""],"fontname":[false,false,"monospace",false,false,"sans-serif"]}], +["foo[b]arbaz", + [["stylewithcss","false"],["fontname","sans-serif"]], + "foo[b]arbaz", + [true,true], + {"stylewithcss":[false,true,"",false,false,""],"fontname":[false,false,"monospace",false,false,"sans-serif"]}], +["fooba[r]baz", + [["stylewithcss","true"],["fontname","sans-serif"]], + "fooba[r]baz", + [true,true], + {"stylewithcss":[false,false,"",false,true,""],"fontname":[false,false,"monospace",false,false,"sans-serif"]}], +["fooba[r]baz", + [["stylewithcss","false"],["fontname","sans-serif"]], + "fooba[r]baz", + [true,true], + {"stylewithcss":[false,true,"",false,false,""],"fontname":[false,false,"monospace",false,false,"sans-serif"]}], +["foo[bar]baz", + [["stylewithcss","true"],["fontname","sans-serif"]], + "foo[bar]baz", + [true,true], + {"stylewithcss":[false,false,"",false,true,""],"fontname":[false,false,"monospace",false,false,"sans-serif"]}], +["foo[bar]baz", + [["stylewithcss","false"],["fontname","sans-serif"]], + "foo[bar]baz", + [true,true], + {"stylewithcss":[false,true,"",false,false,""],"fontname":[false,false,"monospace",false,false,"sans-serif"]}], +["foo[bar]baz", + [["stylewithcss","true"],["fontname","sans-serif"]], + "foo[bar]baz", + [true,true], + {"stylewithcss":[false,false,"",false,true,""],"fontname":[false,false,"monospace",false,false,"sans-serif"]}], +["foo[bar]baz", + [["stylewithcss","false"],["fontname","sans-serif"]], + "foo[bar]baz", + [true,true], + {"stylewithcss":[false,true,"",false,false,""],"fontname":[false,false,"monospace",false,false,"sans-serif"]}], +["foo{bar}baz", + [["stylewithcss","true"],["fontname","sans-serif"]], + "foo{bar}baz", + [true,true], + {"stylewithcss":[false,false,"",false,true,""],"fontname":[false,false,"monospace",false,false,"sans-serif"]}], +["foo{bar}baz", + [["stylewithcss","false"],["fontname","sans-serif"]], + "foo{bar}baz", + [true,true], + {"stylewithcss":[false,true,"",false,false,""],"fontname":[false,false,"monospace",false,false,"sans-serif"]}], +["fo[ob]ar", + [["stylewithcss","true"],["fontname","sans-serif"]], + "fo[ob]ar", + [true,true], + {"stylewithcss":[false,false,"",false,true,""],"fontname":[true,false,"serif",false,false,"sans-serif"]}], +["fo[ob]ar", + [["stylewithcss","false"],["fontname","sans-serif"]], + "fo[ob]ar", + [true,true], + {"stylewithcss":[false,true,"",false,false,""],"fontname":[true,false,"serif",false,false,"sans-serif"]}], +["fo[ob]ar", + [["stylewithcss","true"],["fontname","sans-serif"]], + "fo[ob]ar", + [true,true], + {"stylewithcss":[false,false,"",false,true,""],"fontname":[true,false,"serif",false,false,"sans-serif"]}], +["fo[ob]ar", + [["stylewithcss","false"],["fontname","sans-serif"]], + "fo[ob]ar", + [true,true], + {"stylewithcss":[false,true,"",false,false,""],"fontname":[true,false,"serif",false,false,"sans-serif"]}], +["fo[ob]ar", + [["stylewithcss","true"],["fontname","sans-serif"]], + "fo[ob]ar", + [true,true], + {"stylewithcss":[false,false,"",false,true,""],"fontname":[true,false,"serif",false,false,"sans-serif"]}], +["fo[ob]ar", + [["stylewithcss","false"],["fontname","sans-serif"]], + "fo[ob]ar", + [true,true], + {"stylewithcss":[false,true,"",false,false,""],"fontname":[true,false,"serif",false,false,"sans-serif"]}], +["fo[o
b]ar
", + [["stylewithcss","true"],["fontname","sans-serif"]], + "fo[o
b]ar
", + [true,true], + {"stylewithcss":[false,false,"",false,true,""],"fontname":[true,false,"serif",false,false,"sans-serif"]}], +["fo[o
b]ar
", + [["stylewithcss","false"],["fontname","sans-serif"]], + "fo[o
b]ar
", + [true,true], + {"stylewithcss":[false,true,"",false,false,""],"fontname":[true,false,"serif",false,false,"sans-serif"]}], +["fo[ob]ar", + [["stylewithcss","true"],["fontname","sans-serif"]], + "fo[ob]ar", + [true,true], + {"stylewithcss":[false,false,"",false,true,""],"fontname":[true,false,"serif",false,false,"sans-serif"]}], +["fo[ob]ar", + [["stylewithcss","false"],["fontname","sans-serif"]], + "fo[ob]ar", + [true,true], + {"stylewithcss":[false,true,"",false,false,""],"fontname":[true,false,"serif",false,false,"sans-serif"]}], +["fo[ob]ar", + [["stylewithcss","true"],["fontname","sans-serif"]], + "fo[ob]ar", + [true,true], + {"stylewithcss":[false,false,"",false,true,""],"fontname":[true,false,"serif",false,false,"sans-serif"]}], +["fo[ob]ar", + [["stylewithcss","false"],["fontname","sans-serif"]], + "fo[ob]ar", + [true,true], + {"stylewithcss":[false,true,"",false,false,""],"fontname":[true,false,"serif",false,false,"sans-serif"]}], +["fo[ob]ar", + [["stylewithcss","true"],["fontname","sans-serif"]], + "fo[ob]ar", + [true,true], + {"stylewithcss":[false,false,"",false,true,""],"fontname":[false,false,"monospace",false,false,"sans-serif"]}], +["fo[ob]ar", + [["stylewithcss","false"],["fontname","sans-serif"]], + "fo[ob]ar", + [true,true], + {"stylewithcss":[false,true,"",false,false,""],"fontname":[false,false,"monospace",false,false,"sans-serif"]}], +["
fo[o
b]ar", + [["stylewithcss","true"],["fontname","sans-serif"]], + "
fo[o
b]ar", + [true,true], + {"stylewithcss":[false,false,"",false,true,""],"fontname":[false,false,"monospace",false,false,"sans-serif"]}], +["
fo[o
b]ar", + [["stylewithcss","false"],["fontname","sans-serif"]], + "
fo[o
b]ar", + [true,true], + {"stylewithcss":[false,true,"",false,false,""],"fontname":[false,false,"monospace",false,false,"sans-serif"]}], +["fo[ob]ar", + [["stylewithcss","true"],["fontname","sans-serif"]], + "fo[ob]ar", + [true,true], + {"stylewithcss":[false,false,"",false,true,""],"fontname":[false,false,"monospace",false,false,"sans-serif"]}], +["fo[ob]ar", + [["stylewithcss","false"],["fontname","sans-serif"]], + "fo[ob]ar", + [true,true], + {"stylewithcss":[false,true,"",false,false,""],"fontname":[false,false,"monospace",false,false,"sans-serif"]}], + +// If contents of are entirely selected, it should be reused. +["[abc]", + [["styleWithCSS","false"],["fontName","monospace"]], + ["[abc]", + "[abc]"], + [true,true], + {}], +["[abc]", + [["styleWithCSS","false"],["fontName","monospace"]], + ["[abc]", + "[abc]"], + [true,true], + {}], +["[abc]", + [["styleWithCSS","false"],["fontName","monospace"]], + ["[abc]", + "[abc]", + "[abc]", + "[abc]", + "[abc]", + "[abc]"], + [true,true], + {}], +// but don't split existing if partially selected. +["[a]bc", + [["styleWithCSS","false"],["fontName","monospace"]], + "[a]bc", + [true,true], + {}], +["ab[c]", + [["styleWithCSS","false"],["fontName","monospace"]], + "ab[c]", + [true,true], + {}], +["[a]bc", + [["styleWithCSS","false"],["fontName","monospace"]], + "[a]bc", + [true,true], + {}], +["ab[c]", + [["styleWithCSS","false"],["fontName","monospace"]], + "ab[c]", + [true,true], + {}], +] -- cgit v1.2.3