summaryrefslogtreecommitdiff
path: root/test/data
Commit message (Collapse)AuthorAgeFilesLines
* Move old shorthands test into margin test. Add a few general tests.Michael Drake2009-06-273-61/+84
| | | | svn path=/trunk/libcss/; revision=8047
* A few more margin tests.Michael Drake2009-06-271-0/+41
| | | | svn path=/trunk/libcss/; revision=8045
* Tests for padding property.Michael Drake2009-06-272-1/+205
| | | | svn path=/trunk/libcss/; revision=8044
* Tests for background property.Michael Drake2009-06-262-1/+211
| | | | svn path=/trunk/libcss/; revision=8028
* Inherit tests. At least one currently fails.Michael Drake2009-06-261-0/+50
| | | | svn path=/trunk/libcss/; revision=8022
* Fix test data.Michael Drake2009-06-261-7/+7
| | | | svn path=/trunk/libcss/; revision=8020
* Tests for Margin shorthand prop. Comment out test that is currently expected ↵Michael Drake2009-06-262-0/+113
| | | | | | to fail. svn path=/trunk/libcss/; revision=8019
* Nested block support.John Mark Bell2009-06-261-2/+24
| | | | svn path=/trunk/libcss/; revision=8014
* Fix test dataJohn Mark Bell2009-06-251-4/+2
| | | | svn path=/trunk/libcss/; revision=7971
* A few test cases for important. Not exactly sure how important is handled ↵Michael Drake2009-06-252-0/+81
| | | | | | when not at end of declaration. Add some tests for azimuth:behind; since that was not tested. I'm not sure how the byte code is meant to handle behind, with no angle set. svn path=/trunk/libcss/; revision=7967
* Some tweaks to the background-position parser, which will theoretically make ↵John Mark Bell2009-06-182-0/+22
| | | | | | | | it do the right thing when invoked by shorthand property parser, say. Some more tests for illegal background-position values, to make sure I haven't screwed up. svn path=/trunk/libcss/; revision=7859
* 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
* Support named colours.John Mark Bell2009-04-013-85/+83
| | | | | | Fix malformed declaration test data -- everything up to and including the next semicolon is dropped on the floor. svn path=/trunk/libcss/; revision=7020
* 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
* Test + selector.Michael Drake2009-02-141-0/+82
| | | | svn path=/trunk/libcss/; revision=6506
* Update expected data.Michael Drake2009-02-141-0/+48
| | | | svn path=/trunk/libcss/; revision=6499
* Pseudo classes are now matched by callbacks to the client. This is far ↵John Mark Bell2009-02-141-2/+2
| | | | | | | | | saner, as any node may match a pseudo class, not just the immediate target of the selection. Munge test data to no longer expect :active to match -- there's currently no way to specify which node(s) in the tree have which pseudo classes applying to them. The pseudo classes on @page are no longer supported (namely, :left, :right, :first). These, and @page itself, probably want a dedicated API, as they are nothing to do with normal selection. Probably something like css_error css_select_page_margins(ctx, CSS_PAGE_LEFT, &computed); svn path=/trunk/libcss/; revision=6476
* Handle :first-child within libcssJohn Mark Bell2009-02-141-0/+18
| | | | svn path=/trunk/libcss/; revision=6474
* Discard selectors that contain pseudo elements in non-terminal simple selectors.John Mark Bell2009-02-143-0/+74
| | | | | | More test data for selectors with pseudo elements svn path=/trunk/libcss/; revision=6473
* A motley selection of changes. Vague summary:John Mark Bell2009-02-141-0/+27
| | | | | | | | | | | | | | | | | | + Add config makefile (not that there's anything to configure at present :) + Fix dumping of UNIT_MS to actually use sprintf and not printf + Extend computed style dumping (still loads of properties missing) + Make result buffer larger in select-auto.c -- avoids buffer overflows when there's way more output than expected + Expand expected test output to contain defaulted properties (more of this will be needed once the computed style dumping is complete) + Store interned string pointers in css_select_state. + Intern pseudo class/element names at start of selecting styles for a sheet + Group properties so we know which ones appear in the extension blocks + Fixup unset properties once the cascade has completed + Implement matching of pseudo class/element selectors + Fix setting of background-image and list-style-image when there's no URL. svn path=/trunk/libcss/; revision=6470
* Beginnings of a computed style dump routine.John Mark Bell2009-02-131-5/+4
| | | | | | | It probably helps to process the stylesheets individually, rather than parsing them all into one sheet. Fix test data somewhat. svn path=/trunk/libcss/; revision=6468
* Sketch out some test data for the selection engineJohn Mark Bell2009-02-122-0/+45
| | | | svn path=/trunk/libcss/; revision=6452
* Fix dumping of cursor values.John Mark Bell2009-02-111-0/+9
| | | | | | Testcase for this. svn path=/trunk/libcss/; revision=6437
* Purge side bits. These cause more trouble than they're worth, and it's not ↵John Mark Bell2009-02-103-458/+473
| | | | | | as if there's a dearth of opcode space. svn path=/trunk/libcss/; revision=6410
* More font and voice family tests.Michael Drake2009-01-261-0/+39
| | | | svn path=/trunk/libcss/; revision=6279
* 0.1em is a perfectly legitimate word-spacingJohn Mark Bell2009-01-251-0/+1
| | | | svn path=/trunk/libcss/; revision=6260
* Fix test data for voice-family. This probably also wants to test with ↵John Mark Bell2009-01-241-3/+3
| | | | | | appropriate idents for voices, rather than just being a copy of the font-family tests. svn path=/trunk/libcss/; revision=6257
* CSS is case insensitive. Thus, HiDDen == hidden, and is a valid identifier.John Mark Bell2009-01-241-0/+1
| | | | svn path=/trunk/libcss/; revision=6256
* vertical-align: top is valid inputJohn Mark Bell2009-01-241-0/+1
| | | | svn path=/trunk/libcss/; revision=6255
* Test cases for margin shorthand property.Michael Drake2009-01-241-0/+61
| | | | svn path=/trunk/libcss/; revision=6253
* More CSS tests. All props tested.Michael Drake2009-01-241-0/+510
| | | | svn path=/trunk/libcss/; revision=6249
* More CSS tests.Michael Drake2009-01-241-0/+190
| | | | svn path=/trunk/libcss/; revision=6248
* More tests.Michael Drake2009-01-241-11/+46
| | | | svn path=/trunk/libcss/; revision=6247
* More tests.Michael Drake2009-01-241-0/+288
| | | | svn path=/trunk/libcss/; revision=6246
* More tests.Michael Drake2009-01-241-0/+189
| | | | svn path=/trunk/libcss/; revision=6244
* +50 is a valid numberJohn Mark Bell2009-01-241-0/+1
| | | | svn path=/trunk/libcss/; revision=6241
* More tests.Michael Drake2009-01-241-8/+169
| | | | svn path=/trunk/libcss/; revision=6238
* More tests.Michael Drake2009-01-241-0/+434
| | | | svn path=/trunk/libcss/; revision=6237
* outline-style: hidden is invalid, so remove it from the bytecode testsJohn Mark Bell2009-01-241-8/+0
| | | | svn path=/trunk/libcss/; revision=6235
* Assume that the non-united zero length rule applies to all values that parse ↵John Mark Bell2009-01-241-0/+2
| | | | | | to be zero, and not just verbatim '0'. svn path=/trunk/libcss/; revision=6234
* Fix max-height testJohn Mark Bell2009-01-241-43/+44
| | | | | | | Comment out outline-color tests that rely on named colours working Add semicolon svn path=/trunk/libcss/; revision=6231
* More tests.Michael Drake2009-01-241-0/+203
| | | | svn path=/trunk/libcss/; revision=6225
* More tests.Michael Drake2009-01-241-2/+474
| | | | svn path=/trunk/libcss/; revision=6223
* More tests.Michael Drake2009-01-241-8/+358
| | | | svn path=/trunk/libcss/; revision=6221
* Fix handling of max -ve numbersAdrian Lees2009-01-241-3/+2
| | | | svn path=/trunk/libcss/; revision=6214
* A couple more test cases exercising EOF in block-content and illegal tokens ↵John Mark Bell2009-01-242-0/+28
| | | | | | at the start of ruleset-end. svn path=/trunk/libcss/; revision=6212
* Fix expected value -- idents that don't match the pre-defined ones are ↵John Mark Bell2009-01-231-0/+1
| | | | | | converted to strings. svn path=/trunk/libcss/; revision=6210
* Fix test data somewhatJohn Mark Bell2009-01-231-0/+4
| | | | svn path=/trunk/libcss/; revision=6208
* Fix test data -- non integer values will always be printed to 3dp.John Mark Bell2009-01-231-2/+2
| | | | svn path=/trunk/libcss/; revision=6207