summaryrefslogtreecommitdiff
path: root/test
Commit message (Collapse)AuthorAgeFilesLines
...
* 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
* Clear side bits from value before using it.John Mark Bell2009-01-211-1/+10
| | | | svn path=/trunk/libcss/; revision=6160
* Fix test data -- /*/*/*/*/*/ => COMMENT(/) CHAR(*) COMMENT(/)John Mark Bell2009-01-211-1/+1
| | | | svn path=/trunk/libcss/; revision=6159
* Fix speech-rate printingJohn Mark Bell2009-01-211-0/+3
| | | | svn path=/trunk/libcss/; revision=6158
* 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
* Squash warningsJohn Mark Bell2009-01-202-5/+5
| | | | svn path=/trunk/libcss/; revision=6149
* I guess it helps if you add new files.John Mark Bell2009-01-201-0/+2054
| | | | svn path=/trunk/libcss/; revision=6148
* Purge stylesheet dumping code from the library.John Mark Bell2009-01-192-2036/+9
| | | | | | | Create a common header for the test harnesses to use, instead. Fix z-index dumping while we're at it. svn path=/trunk/libcss/; revision=6146
* Another test harness for parser tests. This one compares the reserialised ↵John Mark Bell2009-01-196-2/+2314
| | | | | | | | | 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-172-6/+72
| | | | | | | | 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
* Test cases for 00 property.Michael Drake2009-01-161-0/+120
| | | | svn path=/trunk/libcss/; revision=6103
* s/ptr/PTR/gJohn Mark Bell2009-01-161-2/+2
| | | | svn path=/trunk/libcss/; revision=6102
* Test cases for properties 15 - 1a.Michael Drake2009-01-161-0/+432
| | | | svn path=/trunk/libcss/; revision=6101
* Fix test dataJohn Mark Bell2009-01-161-4/+4
| | | | svn path=/trunk/libcss/; revision=6100
* Fix test data.John Mark Bell2009-01-161-9/+9
| | | | | | Don't use non UTF-8 encoded characters in the test data. Things get confused. svn path=/trunk/libcss/; revision=6099
* Test cases for 13 & 14.Michael Drake2009-01-161-0/+40
| | | | svn path=/trunk/libcss/; revision=6096
* Test cases for 10 - 12.Michael Drake2009-01-161-0/+229
| | | | svn path=/trunk/libcss/; revision=6094
* Fix test dataJohn Mark Bell2009-01-161-1/+1
| | | | svn path=/trunk/libcss/; revision=6090
* Tests for properties 0b to 0f.Michael Drake2009-01-161-0/+142
| | | | svn path=/trunk/libcss/; revision=6089
* Fix test dataJohn Mark Bell2009-01-161-5/+5
| | | | svn path=/trunk/libcss/; revision=6087
* Tests for properties 06 to 0a.Michael Drake2009-01-161-1/+216
| | | | svn path=/trunk/libcss/; revision=6086
* Make test valid and comment out possible quirk version.Michael Drake2009-01-161-1/+10
| | | | svn path=/trunk/libcss/; revision=6083
* Fix test data some more -- dimensions are <length,units>, not <units,length>John Mark Bell2009-01-161-6/+6
| | | | svn path=/trunk/libcss/; revision=6082
* Dump unexpected bytecodeJohn Mark Bell2009-01-161-0/+6
| | | | svn path=/trunk/libcss/; revision=6081
* Fix test dataJohn Mark Bell2009-01-161-9/+9
| | | | svn path=/trunk/libcss/; revision=6080
* Tests for properties 01 to 05.Michael Drake2009-01-162-0/+205
| | | | svn path=/trunk/libcss/; revision=6077
* Manufacture fixed point values from floatsJohn Mark Bell2009-01-161-0/+11
| | | | svn path=/trunk/libcss/; revision=6076