summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Range check elevation angle.John Mark Bell2009-01-232-2/+22
| | | | | | Add some more constants. svn path=/trunk/libcss/; revision=6206
* Ensure that we round the fractional part to nearest when converting back to ↵John Mark Bell2009-01-232-2/+4
| | | | | | decimal. svn path=/trunk/libcss/; revision=6205
* 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 counter-reset parsingJohn Mark Bell2009-01-231-2/+6
| | | | svn path=/trunk/libcss/; revision=6199
* Fix test dataJohn Mark Bell2009-01-231-1/+2
| | | | svn path=/trunk/libcss/; revision=6198
* Fix counter-increment dumpingJohn Mark Bell2009-01-231-1/+6
| | | | svn path=/trunk/libcss/; revision=6197
* Fix counter-increment parsingJohn Mark Bell2009-01-231-0/+4
| | | | svn path=/trunk/libcss/; revision=6196
* More tests.Michael Drake2009-01-231-0/+486
| | | | svn path=/trunk/libcss/; revision=6195
* There's 400 gradians in 360 degrees.John Mark Bell2009-01-232-2/+2
| | | | svn path=/trunk/libcss/; revision=6194
* Use our own fixed point value printing routine rather than relying on ↵John Mark Bell2009-01-231-1/+56
| | | | | | sprintf's %f modifier to do the right thing svn path=/trunk/libcss/; revision=6193
* 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
* Border widths must be positiveJohn Mark Bell2009-01-231-0/+4
| | | | svn path=/trunk/libcss/; revision=6190
* 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
* If the azimuth value ends up as "behind", fill in the implied "center"John Mark Bell2009-01-231-0/+3
| | | | svn path=/trunk/libcss/; revision=6186
* Clear BEHIND bit before looking at azimuth valueJohn Mark Bell2009-01-231-1/+1
| | | | svn path=/trunk/libcss/; revision=6185
* Fix azimuth dataJohn Mark Bell2009-01-231-5/+5
| | | | svn path=/trunk/libcss/; revision=6184
* Introduce fixed point constants.John Mark Bell2009-01-233-0/+34
| | | | | | Range check azimuth angles. svn path=/trunk/libcss/; revision=6183
* 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
* Ensure stress value is in rangeJohn Mark Bell2009-01-221-0/+3
| | | | svn path=/trunk/libcss/; revision=6168
* Move isDigit() and isHex() to utils.h.John Mark Bell2009-01-223-14/+21
| | | | | | Fix #rgb/#rrggbb parsing to ensure that the characters are valid hex digits. svn path=/trunk/libcss/; revision=6167
* 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-222-1/+8
| | | | svn path=/trunk/libcss/; revision=6165
* Test data for EOF in strange places.John Mark Bell2009-01-223-2/+319
| | | | | | 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
* Intern zero-length data, too. Otherwise, we'll explode later on. John Mark Bell2009-01-191-2/+1
| | | | | | Fixes content: "", for example. svn path=/trunk/libcss/; revision=6147
* Purge stylesheet dumping code from the library.John Mark Bell2009-01-197-4109/+10
| | | | | | | 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 z-indexJohn Mark Bell2009-01-181-1/+1
| | | | svn path=/trunk/libcss/; revision=6140