summaryrefslogtreecommitdiff
path: root/test/data
Commit message (Collapse)AuthorAgeFilesLines
* Add test case for broken comment in rule on haiku-os site.Michael Drake2008-08-282-0/+32
| | | | svn path=/trunk/libcss/; revision=5215
* Make selector token vector be associated with the ruleset, rather than ↵John Mark Bell2008-08-051-1/+1
| | | | | | | | | having its own event type. Store details about the current construct on the context stack. Document block-content, selector, and declaration stuff. svn path=/trunk/libcss/; revision=4921
* Fix handling of empty strings.John Mark Bell2008-08-012-0/+5
| | | | | | | | Parse errors in blocks are ignored -- it'll be up to the client to deal with this. Fix processing of malformed decl-list entries (e.g. foo: bar; !important;) Fix test driver to calculate remaining length correctly. svn path=/trunk/libcss/; revision=4849
* Fix at-rule processing.John Mark Bell2008-07-312-1/+9
| | | | | | Fix malformed selector input to actually result in a terminated block. svn path=/trunk/libcss/; revision=4848
* Something approximating recovery from malformed at-rules.John Mark Bell2008-07-311-0/+1
| | | | svn path=/trunk/libcss/; revision=4847
* Improve recovery from malformed declarationsJohn Mark Bell2008-07-311-0/+3
| | | | | | Implement recovery from malformed selectors svn path=/trunk/libcss/; revision=4846
* Implement error recovery for malformed declarations.John Mark Bell2008-07-302-0/+9
| | | | svn path=/trunk/libcss/; revision=4826
* Implement the first-stage parser.John Mark Bell2008-07-302-0/+11
| | | | | | | | | | | Things missing: 1) Recovery after parse errors 2) Event emission (the locations of DEBUG_EVENTS are about right for this) 3) A second-stage parser 4) Any kind of testsuite svn path=/trunk/libcss/; revision=4825
* 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
* Import beginnings of a CSS parsing library.John Mark Bell2008-05-017-0/+53198
Currently comprises a lexer. svn path=/trunk/libcss/; revision=4112