diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/data/parse/colours.dat | 14 | ||||
-rw-r--r-- | test/data/parse2/illegal-values.dat | 108 | ||||
-rw-r--r-- | test/data/parse2/malformed-declarations.dat | 46 |
3 files changed, 83 insertions, 85 deletions
diff --git a/test/data/parse/colours.dat b/test/data/parse/colours.dat index a5d158c..097e13c 100644 --- a/test/data/parse/colours.dat +++ b/test/data/parse/colours.dat @@ -1,12 +1,12 @@ ## Simple colour values -##data -#* { color: red } -##errors -##expected -#| 1 * -#| 0x02000018 0xff000000 -##reset +#data +* { color: red } +#errors +#expected +| 1 * +| 0x02000018 0xff000000 +#reset #data * { color: #f00 } diff --git a/test/data/parse2/illegal-values.dat b/test/data/parse2/illegal-values.dat index 99e747d..8576166 100644 --- a/test/data/parse2/illegal-values.dat +++ b/test/data/parse2/illegal-values.dat @@ -122,19 +122,19 @@ | * #reset -##data -#* { background-color: -bbc; } -##errors -##expected -#| * -##reset +#data +* { background-color: -bbc; } +#errors +#expected +| * +#reset -##data -#* { background-color: -bbc111; } -##errors -##expected -#| * -##reset +#data +* { background-color: -bbc111; } +#errors +#expected +| * +#reset #data * { background-image: 0; } @@ -2205,12 +2205,12 @@ | * #reset -##data -#* { outline-color: red black; } -##errors -##expected -#| * -##reset +#data +* { outline-color: red black; } +#errors +#expected +| * +#reset #data * { outline-color: #BBC Radio 4; } @@ -2226,26 +2226,26 @@ | * #reset -##data -#* { outline-color: rgb); } -##errors -##expected -#| * -##reset +#data +* { outline-color: rgb); } +#errors +#expected +| * +#reset -##data -#* { outline-color: rgb),,); } -##errors -##expected -#| * -##reset +#data +* { outline-color: rgb),,); } +#errors +#expected +| * +#reset -##data -#* { outline-color: rgb)2,3,5); } -##errors -##expected -#| * -##reset +#data +* { outline-color: rgb)2,3,5); } +#errors +#expected +| * +#reset #data * { outline-color: rgb (2,30,5); } @@ -2254,26 +2254,26 @@ | * #reset -##data -#* { outline-color: rgb; } -##errors -##expected -#| * -##reset +#data +* { outline-color: rgb; } +#errors +#expected +| * +#reset -##data -#* { outline-color: Green Hill Zone; } -##errors -##expected -#| * -##reset +#data +* { outline-color: Green Hill Zone; } +#errors +#expected +| * +#reset -##data -#* { outline-color: green hill zone; } -##errors -##expected -#| * -##reset +#data +* { outline-color: green hill zone; } +#errors +#expected +| * +#reset #data * { outline-color: "Green Hill Zone"; outline-color: invert; } diff --git a/test/data/parse2/malformed-declarations.dat b/test/data/parse2/malformed-declarations.dat index 84703f5..9f21024 100644 --- a/test/data/parse2/malformed-declarations.dat +++ b/test/data/parse2/malformed-declarations.dat @@ -75,32 +75,30 @@ | color: #bbbbcc00 #reset -##data -#* { background-color: black; :; color: white; } -##errors -##expected -#| * -#| background-color: #00000000 -#| color: #ffffff00 -##reset +#data +* { background-color: black; :; color: white; } +#errors +#expected +| * +| background-color: #00000000 +| color: #ffffff00 +#reset -##data -#* { background-color: black; : color: white; } -##errors -##expected -#| * -#| background-color: #00000000 -#| color: #ffffff00 -##reset +#data +* { background-color: black; : color: white; } +#errors +#expected +| * +| background-color: #00000000 +#reset -##data -#* { background-color: black; dentist: color: white; } -##errors -##expected -#| * -#| background-color: #00000000 -#| color: #ffffff00 -##reset +#data +* { background-color: black; dentist: color: white; } +#errors +#expected +| * +| background-color: #00000000 +#reset #data *{f():{ |