summaryrefslogtreecommitdiff
path: root/test/data/lex
Commit message (Collapse)AuthorAgeFilesLines
* More tests (c.f. ↵John Mark Bell2009-06-181-0/+88
| | | | | | http://lists.w3.org/Archives/Public/www-style/2009Jun/0164.html) svn path=/trunk/libcss/; revision=7851
* Fix tests for unicode escape sequences to actually have the correct expected ↵John Mark Bell2009-05-261-5/+40
| | | | | | | | | | | values. Fix expected value for a CHAR containing solely a \. Add new tests for invalid unicode escape sequences (out-of-range, lonely surrogates, etc). Add test to ensure that \000D gets converted to \000A. Fix unicode escape sequence handling to pass the above tests. Also ensure it correctly handles the whitespace character after the escape sequence. svn path=/trunk/libcss/; revision=7549
* A couple of tests for CSS 2.1 issue 85 ('\'[\n\r(\r\n)] is not an escape ↵John Mark Bell2009-03-281-0/+21
| | | | | | sequence outside a string). We pass these, anyway, but it's worth ensuring that. svn path=/trunk/libcss/; revision=6965
* Support signs on numbers, percentages, and dimensionsJohn Mark Bell2008-10-272-0/+49
| | | | svn path=/trunk/libcss/; revision=5648
* Correctly process unterminated strings.John Mark Bell2008-06-261-0/+86
| | | | svn path=/trunk/libcss/; revision=4455
* A more complex test, taken from the CSS3 syntax moduleJohn Mark Bell2008-05-052-0/+30
| | | | svn path=/trunk/libcss/; revision=4126
* Match expected token data with that output by the lexer.John Mark Bell2008-05-051-1/+1
| | | | | | Fix test #44's expected token data. svn path=/trunk/libcss/; revision=4125
* Fix testdriver to accept # in inputJohn Mark Bell2008-05-031-0/+608
| | | | | | | Significantly more tests for the lexer -- this basically covers all the non-OOD/EOF cases Fix bug in lexing of "/x" -- the CHAR(/) was getting dropped by the "don't emit comment tokens" logic svn path=/trunk/libcss/; revision=4120
* Testdriver for automated lexer tests. This needs a little more work to ↵John Mark Bell2008-05-012-0/+13
verify that the data contained within emitted tokens is as expected. Very trivial testdata to exercise this. svn path=/trunk/libcss/; revision=4115