Quelle bold.js
Sprache: JAVA
|
|
// For documentation of the format, see README in this directory.
var browserTests = [
[ "foo[]bar",
[[ "bold", ""]],
"foo[]bar",
[ true],
{ "bold":[ false, false, "", false, true, ""]}],
[ "[foo bar] ",
[[ "stylewithcss", "true"],[ "bold", ""]],
"font-weight:bold\">[foo font-weight:bold\">bar] ",
[ true, true],
{ "stylewithcss":[ false, false, "", false, true, ""], "bold":[ false, false, "", false, true,""]}],
["[foo bar] ",
[["stylewithcss","false"],["bold",""]],
"[foo bar] ",
[true,true],
{"stylewithcss":[false,true,"",false,false,""],"bold":[false,false,"",false,true,""]}],
["[foo bar]",
[["stylewithcss","true"],["bold",""]],
"font-weight:bold\">[foo bar]",
[true,true],
{"stylewithcss":[false,false,"",false,true,""],"bold":[false,false,"",false,true,""]}],
["[foo bar]",
[["stylewithcss","false"],["bold",""]],
"[foo bar]",
[true,true],
{"stylewithcss":[false,true,"",false,false,""],"bold":[false,false,"",false,true,""]}],
["[foo bar baz] ",
[["stylewithcss","true"],["bold",""]],
"font-weight:bold\">[foo font-weight:bold\">bar font-weight:bold\">baz] ",
[true,true],
{"stylewithcss":[false,false,"",false,true,""],"bold":[false,false,"",false,true,""]}],
["[foo bar baz] ",
[["stylewithcss","false"],["bold",""]],
"[foo bar baz] ",
[true,true],
{"stylewithcss":[false,true,"",false,false,""],"bold":[false,false,"",false,true,""]}],
["[foo
bar]" ,
[["stylewithcss","true"],["bold",""]],
"font-weight:bold\">[foo font-weight:bold\">
font-weight:bold\">bar] ",
[true,true],
{"stylewithcss":[false,false,"",false,true,""],"bold":[false,false,"",false,true,""]}],
["[foo
bar]" ,
[["stylewithcss","false"],["bold",""]],
"[foo
bar] ",
[true,true],
{"stylewithcss":[false,true,"",false,false,""],"bold":[false,false,"",false,true,""]}],
["foo[]bar",
[["bold",""]],
"foo[]bar",
[true],
{"bold":[false,true,"",false,false,""]}],
["foo[]bar",
[["bold",""]],
"foo[]bar",
[true],
{"bold":[false,false,"",false,true,""]}],
["foo{}bar",
[["bold",""]],
"foo{}bar",
[true],
{"bold":[false,false,"",false,true,""]}],
["foo[]bar",
[["bold",""]],
"foo[]bar",
[true],
{"bold":[false,false,"",false,true,""]}],
["foo[bar]baz",
[["stylewithcss","true"],["bold",""]],
"foofont-weight:bold\">[bar]baz",
[true,true],
{"stylewithcss":[false,false,"",false,true,""],"bold":[false,false,"",false,true,""]}],
["foo[bar]baz",
[["stylewithcss","false"],["bold",""]],
"foo[bar]baz",
[true,true],
{"stylewithcss":[false,true,"",false,false,""],"bold":[false,false,"",false,true,""]}],
["foo[barbaz]qozquz",
[["bold",""]],
"foo[barbaz]qozquz",
[true],
{"bold":[true,false,"",false,true,""]}],
["foo[barbaz]qozquz",
[["stylewithcss","true"],["bold",""]],
"foofont-weight:bold\">[barfont-weight:bold\">baz]qozquz",
[true,true],
{"stylewithcss":[false,false,"",false,true,""],"bold":[false,false,"",false,true,""]}],
["foo[barbaz]qozquz",
[["stylewithcss","false"],["bold",""]],
"foo[barbaz]qozquz",
[true,true],
{"stylewithcss":[false,true,"",false,false,""],"bold":[false,false,"",false,true,""]}],
["{ foo }",
[["stylewithcss","true"],["bold",""]],
"{ font-weight:bold\">foo }",
[true,true],
{"stylewithcss":[false,false,"",false,true,""],"bold":[false,false,"",false,true,""]}],
["{ foo }",
[["stylewithcss","false"],["bold",""]],
"{ foo }",
[true,true],
{"stylewithcss":[false,true,"",false,false,""],"bold":[false,false,"",false,true,""]}],
["foo[bar]baz",
[["bold",""]],
"foofalse\">[bar]baz",
[false],
{"bold":[false,false,"",false,false,""]}],
["fo[obarb]az",
[["stylewithcss","true"],["bold",""]],
"fofont-weight:bold\">[ofalse\">barfont-weight:bold\">b]az",
[true,true],
{"stylewithcss":[false,false,"",false,true,""],"bold":[false,false,"",false,true,""]}],
["fo[obarb]az",
[["stylewithcss","false"],["bold",""]],
"fo[ofalse\">barb]az",
[true,true],
{"stylewithcss":[false,true,"",false,false,""],"bold":[false,false,"",false,true,""]}],
["fooba[rb]az",
[["bold",""]],
"foofalse\">ba[rb]az",
[false],
{"bold":[false,false,"",false,false,""]}],
["fo[ob]arbaz",
[["bold",""]],
"fo[ofalse\">b]arbaz",
[false],
{"bold":[false,false,"",false,false,""]}],
["fo[obarb]az",
[["stylewithcss","true"],["bold",""]],
"fo[ofalse\">barb]az",
[true,true],
{"stylewithcss":[false,false,"",false,true,""],"bold":[false,true,"",false,false,""]}],
["fo[obarb]az",
[["stylewithcss","false"],["bold",""]],
"fo[ofalse\">barb]az",
[true,true],
{"stylewithcss":[false,true,"",false,false,""],"bold":[false,true,"",false,false,""]}],
["foo[bar]baz",
[["stylewithcss","true"],["bold",""]],
"false\">footrue\">font-weight:bold\">[bar]baz",
[true,true],
{"stylewithcss":[false,false,"",false,true,""],"bold":[false,false,"",false,true,""]}],
["foo[bar]baz",
[["stylewithcss","false"],["bold",""]],
"false\">footrue\">[bar]baz",
[true,true],
{"stylewithcss":[false,true,"",false,false,""],"bold":[false,false,"",false,true,""]}],
["fo[obarb]az",
[["bold",""]],
"false\">fo[otrue\">barb]az",
[false],
{"bold":[false,false,"",false,false,""]}],
["fooba[rb]az",
[["bold",""]],
"false\">footrue\">ba[rb]az",
[false],
{"bold":[false,false,"",false,false,""]}],
["fo[ob]arbaz",
[["bold",""]],
"false\">fo[otrue\">b]arbaz",
[false],
{"bold":[false,false,"",false,false,""]}],
["fo[obarb]az",
[["bold",""]],
"false\">fo[otrue\">barb]az",
[false],
{"bold":[false,true,"",false,true,""]}],
["",
[["stylewithcss","true"],["bold",""]],
"| foo | bfont-weight:bold\">[a]r | baz | ",
[true,true],
{"stylewithcss":[false,false,"",false,true,""],"bold":[false,false,"",false,true,""]}],
["",
[["stylewithcss","false"],["bold",""]],
"",
[true,true],
{"stylewithcss":[false,true,"",false,false,""],"bold":[false,false,"",false,true,""]}],
["",
[["stylewithcss","true"],["bold",""]],
"| foo | {font-weight:bold\">bar | }baz | ",
[true,true],
{"stylewithcss":[false,false,"",false,true,""],"bold":[false,false,"",false,true,""]}],
["",
[["stylewithcss","false"],["bold",""]],
"",
[true,true],
{"stylewithcss":[false,true,"",false,false,""],"bold":[false,false,"",false,true,""]}],
["",
[["stylewithcss","true"],["bold",""]],
"{| font-weight:bold\">foo | font-weight:bold\">bar | }baz | ",
[true,true],
{"stylewithcss":[false,false,"",false,true,""],"bold":[false,false,"",false,true,""]}],
["",
[["stylewithcss","false"],["bold",""]],
"",
[true,true],
{"stylewithcss":[false,true,"",false,false,""],"bold":[false,false,"",false,true,""]}],
["",
[["stylewithcss","true"],["bold",""]],
"{| font-weight:bold\">foo | font-weight:bold\">bar | font-weight:bold\">baz | } ",
[true,true],
{"stylewithcss":[false,false,"",false,true,""],"bold":[false,false,"",false,true,""]}],
["",
[["stylewithcss","false"],["bold",""]],
"",
[true,true],
{"stylewithcss":[false,true,"",false,false,""],"bold":[false,false,"",false,true,""]}],
["",
[["stylewithcss","true"],["bold",""]],
"{| font-weight:bold\">foo | font-weight:bold\">bar | font-weight:bold\">baz | } ",
[true,true],
{"stylewithcss":[false,false,"",false,true,""],"bold":[false,false,"",false,true,""]}],
["",
[["stylewithcss","false"],["bold",""]],
"",
[true,true],
{"stylewithcss":[false,true,"",false,false,""],"bold":[false,false,"",false,true,""]}],
["{}",
[["stylewithcss","true"],["bold",""]],
"{| font-weight:bold\">foo | font-weight:bold\">bar | font-weight:bold\">baz | }",
[true,true],
{"stylewithcss":[false,false,"",false,true,""],"bold":[false,false,"",false,true,""]}],
["{}",
[["stylewithcss","false"],["bold",""]],
"{}",
[true,true],
{"stylewithcss":[false,true,"",false,false,""],"bold":[false,false,"",false,true,""]}],
["foofont-weight: bold\">[bar]baz",
[["stylewithcss","true"],["bold",""]],
"foo[bar]baz",
[true,true],
{"stylewithcss":[false,false,"",false,true,""],"bold":[false,true,"",false,false,""]}],
["foofont-weight: bold\">[bar]baz",
[["stylewithcss","false"],["bold",""]],
"foo[bar]baz",
[true,true],
{"stylewithcss":[false,true,"",false,false,""],"bold":[false,true,"",false,false,""]}],
["foo[bar]baz",
[["stylewithcss","true"],["bold",""]],
"foo[bar]baz",
[true,true],
{"stylewithcss":[false,false,"",false,true,""],"bold":[false,true,"",false,false,""]}],
["foo[bar]baz",
[["stylewithcss","false"],["bold",""]],
"foo[bar]baz",
[true,true],
{"stylewithcss":[false,true,"",false,false,""],"bold":[false,true,"",false,false,""]}],
["foobar[baz]",
[["bold",""]],
"foobar[baz]",
[true],
{"bold":[false,false,"",false,true,""]}],
["[foo]barbaz",
[["bold",""]],
"[foo]barbaz",
[true],
{"bold":[false,false,"",false,true,""]}],
["foo[bar]baz",
[["stylewithcss","true"],["bold",""]],
"foofont-weight:bold\">[bar]baz",
[true,true],
{"stylewithcss":[false,false,"",false,true,""],"bold":[false,false,"",false,true,""]}],
["foo[bar]baz",
[["stylewithcss","false"],["bold",""]],
"foo[bar]baz",
[true,true],
{"stylewithcss":[false,true,"",false,false,""],"bold":[false,false,"",false,true,""]}],
// Should not use the near <strong> as alternative container of <b> and
// <span style="font-weight: bold">.
["foobar[baz]",
[["bold",""]],
"foobarbaz",
[true],
{"bold":[false,false,"",false,true,""]}],
["[foo]barbaz",
[["bold",""]],
"foobarbaz",
[true],
{"bold":[false,false,"",false,true,""]}],
["foo[bar]baz",
[["bold",""]],
"foobarbaz",
[true],
{"bold":[false,false,"",false,true,""]}],
["foo[bar]baz",
[["bold",""]],
"foo[bar]baz",
[true],
{"bold":[false,false,"",false,true,""]}],
// Should not use the near <b> as alternative container of
// <span style="font-weight: bold">
["foo[bar]baz",
[["stylewithcss","true"],["bold",""]],
"foofont-weight:bold\">barbaz",
[true,true],
{"stylewithcss":[false,false,"",false,true,""],"bold":[false,false,"",false,true,""]}],
// Should use the near <b> as new container
["foo[bar]baz",
[["stylewithcss","false"],["bold",""]],
"foobarbaz",
[true,true],
{"stylewithcss":[false,true,"",false,false,""],"bold":[false,false,"",false,true,""]}],
["foo[bar]baz",
[["stylewithcss","true"],["bold",""]],
"foo[bar]baz",
[true,true],
{"stylewithcss":[false,false,"",false,true,""],"bold":[false,true,"",false,false,""]}],
["foo[bar]baz",
[["stylewithcss","false"],["bold",""]],
"foo[bar]baz",
[true,true],
{"stylewithcss":[false,true,"",false,false,""],"bold":[false,true,"",false,false,""]}],
["foo[bar]baz",
[["stylewithcss","true"],["bold",""]],
"foo[bar]baz",
[true,true],
{"stylewithcss":[false,false,"",false,true,""],"bold":[false,true,"",false,false,""]}],
["foo[bar]baz",
[["stylewithcss","false"],["bold",""]],
"foo[bar]baz",
[true,true],
{"stylewithcss":[false,true,"",false,false,""],"bold":[false,true,"",false,false,""]}],
["foo[bar]baz",
[["stylewithcss","true"],["bold",""]],
"foo[bar]baz",
[true,true],
{"stylewithcss":[false,false,"",false,true,""],"bold":[false,true,"",false,false,""]}],
["foo[bar]baz",
[["stylewithcss","false"],["bold",""]],
"foo[bar]baz",
[true,true],
{"stylewithcss":[false,true,"",false,false,""],"bold":[false,true,"",false,false,""]}],
["foo{}baz",
[["bold",""]],
"foo{}baz",
[true],
{"bold":[false,false,"",false,true,""]}],
["foo{}baz",
[["bold",""]],
"foo{}baz",
[true],
{"bold":[false,false,"",false,true,""]}],
["foo{}baz",
[["bold",""]],
"foo{}baz",
[true],
{"bold":[false,false,"",false,true,""]}],
["foo{}baz",
[["bold",""]],
"foo{}baz",
[true],
{"bold":[false,false,"",false,true,""]}],
["foo[bar]baz",
[["bold",""]],
"foo[bar]baz",
[true],
{"bold":[false,true,"",false,false,""]}],
["foo[bar]baz",
[["bold",""]],
"foo[bar]baz",
[true],
{"bold":[false,true,"",false,false,""]}],
["foo[bar]baz",
[["bold",""]],
"foo[bar]baz",
[true],
{"bold":[false,true,"",false,false,""]}],
["foo[bar]baz",
[["bold",""]],
"foo[bar]baz",
[true],
{"bold":[false,true,"",false,false,""]}],
["foo[font-weight: bold\">bar]baz",
[["stylewithcss","true"],["bold",""]],
"foo[bar]baz",
[true,true],
{"stylewithcss":[false,false,"",false,true,""],"bold":[false,true,"",false,false,""]}],
["foo[font-weight: bold\">bar]baz",
[["stylewithcss","false"],["bold",""]],
"foo[bar]baz",
[true,true],
{"stylewithcss":[false,true,"",false,false,""],"bold":[false,true,"",false,false,""]}],
["foo[font-weight: bold\">bar]baz",
[["stylewithcss","true"],["bold",""]],
"foo[bar]baz",
[true,true],
{"stylewithcss":[false,false,"",false,true,""],"bold":[false,true,"",false,false,""]}],
["foo[font-weight: bold\">bar]baz",
[["stylewithcss","false"],["bold",""]],
"foo[bar]baz",
[true,true],
{"stylewithcss":[false,true,"",false,false,""],"bold":[false,true,"",false,false,""]}],
["foofont-weight: bold\">[bar]baz",
[["stylewithcss","true"],["bold",""]],
"foo[bar]baz",
[true,true],
{"stylewithcss":[false,false,"",false,true,""],"bold":[false,true,"",false,false,""]}],
["foofont-weight: bold\">[bar]baz",
[["stylewithcss","false"],["bold",""]],
"foo[bar]baz",
[true,true],
{"stylewithcss":[false,true,"",false,false,""],"bold":[false,true,"",false,false,""]}],
["{foo bar }baz ",
[["stylewithcss","true"],["bold",""]],
"{foo bar }font-weight:bold\">baz ",
[true,true],
{"stylewithcss":[false,false,"",false,true,""],"bold":[false,true,"",false,false,""]}],
["{foo bar }baz ",
[["stylewithcss","false"],["bold",""]],
"{foo bar }baz ",
[true,true],
{"stylewithcss":[false,true,"",false,false,""],"bold":[false,true,"",false,false,""]}],
["foo[bar} baz ",
[["stylewithcss","true"],["bold",""]],
"font-weight:bold\">foo[bar} font-weight:bold\">baz ",
[true,true],
{"stylewithcss":[false,false,"",false,true,""],"bold":[false,true,"",false,false,""]}],
["foo[bar} baz ",
[["stylewithcss","false"],["bold",""]],
"foo[bar} baz ",
[true,true],
{"stylewithcss":[false,true,"",false,false,""],"bold":[false,true,"",false,false,""]}],
["foo [bar baz] qoz quz sic",
[["bold",""]],
"foo [bar baz] qoz quz sic",
[true],
{"bold":[true,false,"",false,true,""]}],
["foo bar baz [qoz quz] sic",
[["bold",""]],
"foo bar baz [qoz quz] sic",
[true],
{"bold":[true,false,"",false,true,""]}],
["bar [baz] qoz",
[["stylewithcss","true"],["bold",""]],
"purple\">font-weight:bold\">bar [baz]font-weight:bold\"> qoz",
[true,true],
{"stylewithcss":[false,false,"",false,true,""],"bold":[false,true,"",false,false,""]}],
["bar [baz] qoz",
[["stylewithcss","false"],["bold",""]],
"purple\">bar [baz] qoz",
[true,true],
{"stylewithcss":[false,true,"",false,false,""],"bold":[false,true,"",false,false,""]}],
["foofont-weight: 100\">[bar]baz",
[["stylewithcss","true"],["bold",""]],
"foofont-weight:bold\">[bar]baz",
[true,true],
{"stylewithcss":[false,false,"",false,true,""],"bold":[false,false,"",false,true,""]}],
["foofont-weight: 100\">[bar]baz",
[["stylewithcss","false"],["bold",""]],
"foo[bar]baz",
[true,true],
{"stylewithcss":[false,true,"",false,false,""],"bold":[false,false,"",false,true,""]}],
["foofont-weight: 200\">[bar]baz",
[["stylewithcss","true"],["bold",""]],
"foofont-weight:bold\">[bar]baz",
[true,true],
{"stylewithcss":[false,false,"",false,true,""],"bold":[false,false,"",false,true,""]}],
["foofont-weight: 200\">[bar]baz",
[["stylewithcss","false"],["bold",""]],
"foo[bar]baz",
[true,true],
{"stylewithcss":[false,true,"",false,false,""],"bold":[false,false,"",false,true,""]}],
["foofont-weight: 300\">[bar]baz",
[["stylewithcss","true"],["bold",""]],
"foofont-weight:bold\">[bar]baz",
[true,true],
{"stylewithcss":[false,false,"",false,true,""],"bold":[false,false,"",false,true,""]}],
["foofont-weight: 300\">[bar]baz",
[["stylewithcss","false"],["bold",""]],
"foo[bar]baz",
[true,true],
{"stylewithcss":[false,true,"",false,false,""],"bold":[false,false,"",false,true,""]}],
["foofont-weight: 400\">[bar]baz",
[["stylewithcss","true"],["bold",""]],
"foofont-weight:bold\">[bar]baz",
[true,true],
{"stylewithcss":[false,false,"",false,true,""],"bold":[false,false,"",false,true,""]}],
["foofont-weight: 400\">[bar]baz",
[["stylewithcss","false"],["bold",""]],
"foo[bar]baz",
[true,true],
{"stylewithcss":[false,true,"",false,false,""],"bold":[false,false,"",false,true,""]}],
["foofont-weight: 500\">[bar]baz",
[["stylewithcss","true"],["bold",""]],
"foofont-weight:bold\">[bar]baz",
[true,true],
{"stylewithcss":[false,false,"",false,true,""],"bold":[false,false,"",false,true,""]}],
["foofont-weight: 500\">[bar]baz",
[["stylewithcss","false"],["bold",""]],
"foo[bar]baz",
[true,true],
{"stylewithcss":[false,true,"",false,false,""],"bold":[false,false,"",false,true,""]}],
["foofont-weight: 600\">[bar]baz",
[["stylewithcss","true"],["bold",""]],
"foo[bar]baz",
[true,true],
{"stylewithcss":[false,false,"",false,true,""],"bold":[false,true,"",false,false,""]}],
["foofont-weight: 600\">[bar]baz",
[["stylewithcss","false"],["bold",""]],
"foo[bar]baz",
[true,true],
{"stylewithcss":[false,true,"",false,false,""],"bold":[false,true,"",false,false,""]}],
["foofont-weight: 700\">[bar]baz",
[["stylewithcss","true"],["bold",""]],
"foo[bar]baz",
[true,true],
{"stylewithcss":[false,false,"",false,true,""],"bold":[false,true,"",false,false,""]}],
["foofont-weight: 700\">[bar]baz",
[["stylewithcss","false"],["bold",""]],
"foo[bar]baz",
[true,true],
{"stylewithcss":[false,true,"",false,false,""],"bold":[false,true,"",false,false,""]}],
["foofont-weight: 800\">[bar]baz",
[["stylewithcss","true"],["bold",""]],
"foo[bar]baz",
[true,true],
{"stylewithcss":[false,false,"",false,true,""],"bold":[false,true,"",false,false,""]}],
["foofont-weight: 800\">[bar]baz",
[["stylewithcss","false"],["bold",""]],
"foo[bar]baz",
[true,true],
{"stylewithcss":[false,true,"",false,false,""],"bold":[false,true,"",false,false,""]}],
["foofont-weight: 900\">[bar]baz",
[["stylewithcss","true"],["bold",""]],
"foo[bar]baz",
[true,true],
{"stylewithcss":[false,false,"",false,true,""],"bold":[false,true,"",false,false,""]}],
["foofont-weight: 900\">[bar]baz",
[["stylewithcss","false"],["bold",""]],
"foo[bar]baz",
[true,true],
{"stylewithcss":[false,true,"",false,false,""],"bold":[false,true,"",false,false,""]}],
["foofont-weight: 400\">[bar]baz",
[["stylewithcss","true"],["bold",""]],
"foofont-weight:bold\">[bar]baz",
[true,true],
{"stylewithcss":[false,false,"",false,true,""],"bold":[false,false,"",false,true,""]}],
["foofont-weight: 400\">[bar]baz",
[["stylewithcss","false"],["bold",""]],
"foo[bar]baz",
[true,true],
{"stylewithcss":[false,true,"",false,false,""],"bold":[false,false,"",false,true,""]}],
["foofont-weight: 700\">[bar]baz",
[["stylewithcss","true"],["bold",""]],
"foo[bar]baz",
[true,true],
{"stylewithcss":[false,false,"",false,true,""],"bold":[false,true,"",false,false,""]}],
["foofont-weight: 700\">[bar]baz",
[["stylewithcss","false"],["bold",""]],
"foo[bar]baz",
[true,true],
{"stylewithcss":[false,true,"",false,false,""],"bold":[false,true,"",false,false,""]}],
["foo[font-weight: 400\">bar]baz",
[["stylewithcss","true"],["bold",""]],
"foo[font-weight:bold\">bar]baz",
[true,true],
{"stylewithcss":[false,false,"",false,true,""],"bold":[false,false,"",false,true,""]}],
["foo[font-weight: 400\">bar]baz",
[["stylewithcss","false"],["bold",""]],
"foo[bar]baz",
[true,true],
{"stylewithcss":[false,true,"",false,false,""],"bold":[false,false,"",false,true,""]}],
["foo[font-weight: 700\">bar]baz",
[["stylewithcss","true"],["bold",""]],
"foo[bar]baz",
[true,true],
{"stylewithcss":[false,false,"",false,true,""],"bold":[false,true,"",false,false,""]}],
["foo[font-weight: 700\">bar]baz",
[["stylewithcss","false"],["bold",""]],
"foo[bar]baz",
[true,true],
{"stylewithcss":[false,true,"",false,false,""],"bold":[false,true,"",false,false,""]}],
["foo[font-weight: 400\">bar]baz",
[["stylewithcss","true"],["bold",""]],
"foo[font-weight:bold\">bar]baz",
[true,true],
{"stylewithcss":[false,false,"",false,true,""],"bold":[false,false,"",false,true,""]}],
["foo[font-weight: 400\">bar]baz",
[["stylewithcss","false"],["bold",""]],
"foo[bar]baz",
[true,true],
{"stylewithcss":[false,true,"",false,false,""],"bold":[false,false,"",false,true,""]}],
["foo[font-weight: 700\">bar]baz",
[["stylewithcss","true"],["bold",""]],
"foo[bar]baz",
[true,true],
{"stylewithcss":[false,false,"",false,true,""],"bold":[false,true,"",false,false,""]}],
["foo[font-weight: 700\">bar]baz",
[["stylewithcss","false"],["bold",""]],
"foo[bar]baz",
[true,true],
{"stylewithcss":[false,true,"",false,false,""],"bold":[false,true,"",false,false,""]}],
["font-weight: 100\">foo[bar]baz",
[["stylewithcss","true"],["bold",""]],
"font-weight:100\">foofont-weight:bold\">[bar]baz",
[true,true],
{"stylewithcss":[false,false,"",false,true,""],"bold":[false,false,"",false,true,""]}],
["font-weight: 100\">foo[bar]baz",
[["stylewithcss","false"],["bold",""]],
"font-weight:100\">foo[bar]baz",
[true,true],
{"stylewithcss":[false,true,"",false,false,""],"bold":[false,false,"",false,true,""]}],
["font-weight: 400\">foo[bar]baz",
[["stylewithcss","true"],["bold",""]],
"font-weight:400\">foofont-weight:bold\">[bar]baz",
[true,true],
{"stylewithcss":[false,false,"",false,true,""],"bold":[false,false,"",false,true,""]}],
["font-weight: 400\">foo[bar]baz",
[["stylewithcss","false"],["bold",""]],
"font-weight:400\">foo[bar]baz",
[true,true],
{"stylewithcss":[false,true,"",false,false,""],"bold":[false,false,"",false,true,""]}],
["font-weight: 700\">foo[bar]baz",
[["stylewithcss","true"],["bold",""]],
"font-weight:700\">foo[bar]font-weight:700\">baz",
[true,true],
{"stylewithcss":[false,false,"",false,true,""],"bold":[false,true,"",false,false,""]}],
["font-weight: 700\">foo[bar]baz",
[["stylewithcss","false"],["bold",""]],
"foo[bar]baz",
[true,true],
{"stylewithcss":[false,true,"",false,false,""],"bold":[false,true,"",false,false,""]}],
["font-weight: 900\">foo[bar]baz",
[["stylewithcss","true"],["bold",""]],
"font-weight:900\">foo[bar]font-weight:900\">baz",
[true,true],
{"stylewithcss":[false,false,"",false,true,""],"bold":[false,true,"",false,false,""]}],
["font-weight: 900\">foo[bar]baz",
[["stylewithcss","false"],["bold",""]],
"font-weight:900\">foo[bar]font-weight:900\">baz",
[true,true],
{"stylewithcss":[false,true,"",false,false,""],"bold":[false,true,"",false,false,""]}],
["{font-weight: 100\">foobar]baz",
[["stylewithcss","true"],["bold",""]],
"{font-weight:100\">font-weight:bold\">foobar]baz",
[true,true],
{"stylewithcss":[false,false,"",false,true,""],"bold":[false,false,"",false,true,""]}],
["{font-weight: 100\">foobar]baz",
[["stylewithcss","false"],["bold",""]],
"{font-weight:100\">foobar]baz",
[true,true],
{"stylewithcss":[false,true,"",false,false,""],"bold":[false,false,"",false,true,""]}],
["{font-weight: 400\">foobar]baz",
[["stylewithcss","true"],["bold",""]],
"{font-weight:400\">font-weight:bold\">foobar]baz",
[true,true],
{"stylewithcss":[false,false,"",false,true,""],"bold":[false,false,"",false,true,""]}],
["{font-weight: 400\">foobar]baz",
[["stylewithcss","false"],["bold",""]],
"{font-weight:400\">foobar]baz",
[true,true],
{"stylewithcss":[false,true,"",false,false,""],"bold":[false,false,"",false,true,""]}],
["{font-weight: 700\">foobar]baz",
[["stylewithcss","true"],["bold",""]],
"{foobar]font-weight:700\">baz",
[true,true],
{"stylewithcss":[false,false,"",false,true,""],"bold":[false,true,"",false,false,""]}],
["{font-weight: 700\">foobar]baz",
[["stylewithcss","false"],["bold",""]],
"{foobar]baz",
[true,true],
{"stylewithcss":[false,true,"",false,false,""],"bold":[false,true,"",false,false,""]}],
["{font-weight: 900\">foobar]baz",
[["bold",""]],
"{foobar]font-weight:900\">baz",
[true],
{"bold":[false,true,"",false,false,""]}],
["font-weight: 100\">foo[barbaz}",
[["stylewithcss","true"],["bold",""]],
"font-weight:100\">foofont-weight:bold\">[barbaz}",
[true,true],
{"stylewithcss":[false,false,"",false,true,""],"bold":[false,false,"",false,true,""]}],
["font-weight: 100\">foo[barbaz}",
[["stylewithcss","false"],["bold",""]],
"font-weight:100\">foo[barbaz}",
[true,true],
{"stylewithcss":[false,true,"",false,false,""],"bold":[false,false,"",false,true,""]}],
["font-weight: 400\">foo[barbaz}",
[["stylewithcss","true"],["bold",""]],
"font-weight:400\">foofont-weight:bold\">[barbaz}",
[true,true],
{"stylewithcss":[false,false,"",false,true,""],"bold":[false,false,"",false,true,""]}],
["font-weight: 400\">foo[barbaz}",
[["stylewithcss","false"],["bold",""]],
"font-weight:400\">foo[barbaz}",
[true,true],
{"stylewithcss":[false,true,"",false,false,""],"bold":[false,false,"",false,true,""]}],
["font-weight: 700\">foo[barbaz}",
[["stylewithcss","true"],["bold",""]],
"font-weight:700\">foo[barbaz}",
[true,true],
{"stylewithcss":[false,false,"",false,true,""],"bold":[false,true,"",false,false,""]}],
["font-weight: 700\">foo[barbaz}",
[["stylewithcss","false"],["bold",""]],
"foo[barbaz}",
[true,true],
{"stylewithcss":[false,true,"",false,false,""],"bold":[false,true,"",false,false,""]}],
["font-weight: 900\">foo[barbaz}",
[["bold",""]],
"font-weight:900\">foo[barbaz}",
[true],
{"bold":[false,true,"",false,false,""]}],
["foo[bar]baz",
[["stylewithcss","true"],["bold",""]],
"foofont-weight:normal\">[bar]baz",
[true,true],
{"stylewithcss":[false,false,"",false,true,""],"bold":[false,true,"",false,false,""]}],
["foo[bar]baz",
[["stylewithcss","false"],["bold",""]],
"foofont-weight:normal\">[bar]baz",
[true,true],
{"stylewithcss":[false,true,"",false,false,""],"bold":[false,true,"",false,false,""]}],
["{foobar]baz",
[["stylewithcss","true"],["bold",""]],
"{font-weight:normal\">foobar]baz",
[true,true],
{"stylewithcss":[false,false,"",false,true,""],"bold":[false,true,"",false,false,""]}],
["{foobar]baz",
[["stylewithcss","false"],["bold",""]],
"{font-weight:normal\">foobar]baz",
[true,true],
{"stylewithcss":[false,true,"",false,false,""],"bold":[false,true,"",false,false,""]}],
["foo[barbaz}",
[["stylewithcss","true"],["bold",""]],
"foofont-weight:normal\">[barbaz}",
[true,true],
{"stylewithcss":[false,false,"",false,true,""],"bold":[false,true,"",false,false,""]}],
["foo[barbaz}",
[["stylewithcss","false"],["bold",""]],
"foofont-weight:normal\">[barbaz}",
[true,true],
{"stylewithcss":[false,true,"",false,false,""],"bold":[false,true,"",false,false,""]}],
["[foobarbaz]",
[["stylewithcss","true"],["bold",""]],
"font-weight:normal\">[foobarbaz]",
[true,true],
{"stylewithcss":[false,false,"",false,true,""],"bold":[false,true,"",false,false,""]}],
["[foobarbaz]",
[["stylewithcss","false"],["bold",""]],
"font-weight:normal\">[foobarbaz]",
[true,true],
{"stylewithcss":[false,true,"",false,false,""],"bold":[false,true,"",false,false,""]}],
["{foobarbaz]",
[["stylewithcss","true"],["bold",""]],
"{font-weight:normal\ | |