summaryrefslogtreecommitdiff
path: root/test/data
Commit message (Collapse)AuthorAgeFilesLines
* A couple more test cases exercising EOF in block-content and illegal tokens ↵John Mark Bell2009-01-242-0/+28
| | | | | | at the start of ruleset-end. svn path=/trunk/libcss/; revision=6212
* Fix expected value -- idents that don't match the pre-defined ones are ↵John Mark Bell2009-01-231-0/+1
| | | | | | converted to strings. svn path=/trunk/libcss/; revision=6210
* Fix test data somewhatJohn Mark Bell2009-01-231-0/+4
| | | | svn path=/trunk/libcss/; revision=6208
* Fix test data -- non integer values will always be printed to 3dp.John Mark Bell2009-01-231-2/+2
| | | | svn path=/trunk/libcss/; revision=6207
* Some more test cases.Michael Drake2009-01-231-0/+427
| | | | svn path=/trunk/libcss/; revision=6204
* Some more test cases.Michael Drake2009-01-231-10/+228
| | | | svn path=/trunk/libcss/; revision=6203
* Fix test data -- counter-reset defaults to 0, not 1.John Mark Bell2009-01-231-4/+4
| | | | svn path=/trunk/libcss/; revision=6202
* Fix test dataJohn Mark Bell2009-01-231-1/+1
| | | | svn path=/trunk/libcss/; revision=6201
* Fix test dataJohn Mark Bell2009-01-231-0/+1
| | | | svn path=/trunk/libcss/; revision=6200
* Fix test dataJohn Mark Bell2009-01-231-1/+2
| | | | svn path=/trunk/libcss/; revision=6198
* More tests.Michael Drake2009-01-231-0/+486
| | | | svn path=/trunk/libcss/; revision=6195
* Test other angle unit ranges.Michael Drake2009-01-231-0/+44
| | | | svn path=/trunk/libcss/; revision=6192
* Fix test dataJohn Mark Bell2009-01-231-8/+8
| | | | svn path=/trunk/libcss/; revision=6191
* 0 is always output as 0<unit>. Fix test that thinks otherwiseJohn Mark Bell2009-01-231-1/+1
| | | | svn path=/trunk/libcss/; revision=6189
* url() isn't invalid, so fix the expected valueJohn Mark Bell2009-01-231-0/+1
| | | | svn path=/trunk/libcss/; revision=6188
* Comment out more tests that assume that named colours are actually implementedJohn Mark Bell2009-01-231-13/+13
| | | | svn path=/trunk/libcss/; revision=6187
* Fix azimuth dataJohn Mark Bell2009-01-231-5/+5
| | | | svn path=/trunk/libcss/; revision=6184
* More property testing.Michael Drake2009-01-231-0/+82
| | | | svn path=/trunk/libcss/; revision=6182
* More property testing.Michael Drake2009-01-231-0/+260
| | | | svn path=/trunk/libcss/; revision=6181
* Expected colours must use lowercase.John Mark Bell2009-01-221-1/+1
| | | | svn path=/trunk/libcss/; revision=6172
* Fix test data.John Mark Bell2009-01-221-25/+26
| | | | | | Comment out tests involving named colours, seeing as they're not implemented yet, so these will fail for the wrong reason. svn path=/trunk/libcss/; revision=6171
* Extra test, to ensure recovery after unterminated string.John Mark Bell2009-01-221-0/+11
| | | | svn path=/trunk/libcss/; revision=6170
* Fix test data -- unterminated strings contain everything up to the end of ↵John Mark Bell2009-01-221-2/+0
| | | | | | the line. svn path=/trunk/libcss/; revision=6169
* Fix test data -- EOF after a selector but before the brace results in no ↵John Mark Bell2009-01-221-2/+0
| | | | | | ruleset being generated. svn path=/trunk/libcss/; revision=6166
* Fix handling of EOF in property values John Mark Bell2009-01-221-1/+2
| | | | svn path=/trunk/libcss/; revision=6165
* Test data for EOF in strange places.John Mark Bell2009-01-222-0/+305
| | | | | | Fix EOF handling in the core parser. svn path=/trunk/libcss/; revision=6164
* Possibly fix test data.Michael Drake2009-01-211-0/+11
| | | | svn path=/trunk/libcss/; revision=6161
* Fix test data -- /*/*/*/*/*/ => COMMENT(/) CHAR(*) COMMENT(/)John Mark Bell2009-01-211-1/+1
| | | | svn path=/trunk/libcss/; revision=6159
* Tests for malformed declarations.Michael Drake2009-01-202-2/+109
| | | | svn path=/trunk/libcss/; revision=6154
* Test cases for illegal values.Michael Drake2009-01-201-0/+103
| | | | svn path=/trunk/libcss/; revision=6153
* Tests for CSS comments. (Some test data may be wrong here. I'm not absolutly ↵Michael Drake2009-01-201-0/+60
| | | | | | certain what's valid.) svn path=/trunk/libcss/; revision=6152
* Tests for unknown properties.Michael Drake2009-01-201-0/+22
| | | | svn path=/trunk/libcss/; revision=6151
* Double property test.Michael Drake2009-01-201-0/+9
| | | | svn path=/trunk/libcss/; revision=6150
* Another test harness for parser tests. This one compares the reserialised ↵John Mark Bell2009-01-193-0/+75
| | | | | | | | | output, thus allowing us to sensibly test handling of invalid input and suchlike. Also, some rudimentary tests using this harness, and some documentation of the test data format. This doesn't use the dumping code from the library itself, as that's likely to disappear. svn path=/trunk/libcss/; revision=6144
* Fix test data for voice-family with ident list -- documentation was wrong.John Mark Bell2009-01-181-1/+1
| | | | svn path=/trunk/libcss/; revision=6137
* Fix text-indent test data -- missing 0John Mark Bell2009-01-181-1/+1
| | | | svn path=/trunk/libcss/; revision=6136
* Fix play-during test data -- modifiers must appear *after* the URIJohn Mark Bell2009-01-181-5/+5
| | | | svn path=/trunk/libcss/; revision=6129
* Fix test data for pause-{after,before} -- default time units are seconds, ↵John Mark Bell2009-01-181-3/+3
| | | | | | not milliseconds. svn path=/trunk/libcss/; revision=6126
* Fix page-break-inside test data -- documentation was wrong.John Mark Bell2009-01-181-2/+2
| | | | svn path=/trunk/libcss/; revision=6125
* Fix expected bytecode for font-family with ident list.John Mark Bell2009-01-181-16/+8
| | | | | | Remove upper-greek from list-style-type -- documentation was wrong. svn path=/trunk/libcss/; revision=6124
* Test cases for properties 50 to 53. (All properties now have test cases.)Michael Drake2009-01-171-0/+88
| | | | svn path=/trunk/libcss/; revision=6118
* Test cases for properties 40 to 4f.Michael Drake2009-01-171-9/+689
| | | | svn path=/trunk/libcss/; revision=6117
* Test cases for properties 30 to 3f.Michael Drake2009-01-171-0/+569
| | | | svn path=/trunk/libcss/; revision=6114
* Tes cases for properties 20 to 2f.Michael Drake2009-01-171-1/+608
| | | | svn path=/trunk/libcss/; revision=6113
* Test cases for properties 1b - 1f.Michael Drake2009-01-171-0/+340
| | | | svn path=/trunk/libcss/; revision=6112
* Use our own printing routine, rather than relying on snprintf to do the ↵John Mark Bell2009-01-171-5/+4
| | | | | | | | right thing wrt rounding. Update test data in line with this. That said, it would appear that values <=-(2^21) get truncated to -2097151.999. This probably wants investigating. svn path=/trunk/libcss/; revision=6111
* Make makefixed.pl round to nearest integer, rather than truncating towards zero.John Mark Bell2009-01-172-1/+19
| | | | | | Add a test for negative fractions to properties.dat svn path=/trunk/libcss/; revision=6110
* Also munge the expected output to cater for slight oddity in float parsingJohn Mark Bell2009-01-161-1/+1
| | | | svn path=/trunk/libcss/; revision=6108
* Hm, for some reason, we're encoding 0.785 as 0x324, whereas makefixed.pl ↵John Mark Bell2009-01-161-1/+1
| | | | | | converts it to 0x323. This needs looking at. For now, munge the testdata so the test passes. svn path=/trunk/libcss/; revision=6106
* Fix test dataJohn Mark Bell2009-01-161-3/+3
| | | | svn path=/trunk/libcss/; revision=6105