summaryrefslogtreecommitdiff
path: root/test/data
Commit message (Collapse)AuthorAgeFilesLines
...
* 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
* 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
* 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
* Use oct() instead of hex(). Can now consume binary input.John Mark Bell2009-01-161-1/+1
| | | | svn path=/trunk/libcss/; revision=6075
* Script to manufacture OPV word from 3 hex values.John Mark Bell2009-01-161-0/+11
| | | | svn path=/trunk/libcss/; revision=6074
* Basic tests for colour values.John Mark Bell2009-01-142-0/+77
| | | | svn path=/trunk/libcss/; revision=6066
* Support pointers in the expected bytecode.John Mark Bell2009-01-142-5/+11
| | | | | | Add a simple test that uses this functionality. svn path=/trunk/libcss/; revision=6065
* @import tests and support in the test harness.John Mark Bell2009-01-141-13/+12
| | | | svn path=/trunk/libcss/; revision=6063
* at-rule test data. Only @charset for now.John Mark Bell2009-01-142-0/+25
| | | | svn path=/trunk/libcss/; revision=6061
* More selector tests.John Mark Bell2009-01-131-0/+181
| | | | svn path=/trunk/libcss/; revision=6056
* Make the automated parser test harness compare selectorsJohn Mark Bell2009-01-132-0/+141
| | | | | | Some testdata for selectors svn path=/trunk/libcss/; revision=6055
* Point in the direction of the bytecode documentation before someone ↵John Mark Bell2009-01-121-1/+2
| | | | | | complains that they don't know what hexnum is meant to represent. svn path=/trunk/libcss/; revision=6054
* Document testdata formatJohn Mark Bell2009-01-121-0/+48
| | | | svn path=/trunk/libcss/; revision=6053
* Testcase for colour specifiers. Should cover most things.John Mark Bell2009-01-121-0/+19
| | | | | | This (or something similar) will need migrating to the automated data at some point. svn path=/trunk/libcss/; revision=6052
* Something approximating the beginnings of an automated test harness for the ↵John Mark Bell2009-01-122-0/+28
| | | | | | parser. svn path=/trunk/libcss/; revision=6049
* Fix rounding when fractional part is close to 1.John Mark Bell2008-11-241-0/+6
| | | | | | Add testcase to exercise this. svn path=/trunk/libcss/; revision=5766
* Fix number parsing and make test code automatically determine correctness.John Mark Bell2008-11-241-8/+94
| | | | | | | More test data, which covers everything. Fix includes in libcss/types.h svn path=/trunk/libcss/; revision=5764