summaryrefslogtreecommitdiff
path: root/test/data
Commit message (Collapse)AuthorAgeFilesLines
* More rigorous handling of EOF.John Mark Bell2009-07-311-0/+119
| | | | | | Expand test data for this. svn path=/trunk/libcss/; revision=8931
* Regression test for quotes bytecode execution in cascade_quotes.John Mark Bell2009-07-301-0/+85
| | | | svn path=/trunk/libcss/; revision=8913
* Provide accessor for computed value of display assuming static position.John Mark Bell2009-07-151-1/+1
| | | | | | Modify css_computed_display to follow $9.7. svn path=/trunk/libcss/; revision=8568
* Compute absolute values for all length properties.John Mark Bell2009-07-041-25/+25
| | | | | | | Make initial border-*-color match the computed color. Compute correct value of display/float wrt position. svn path=/trunk/libcss/; revision=8317
* Move quotes property into common style block.John Mark Bell2009-07-041-4/+0
| | | | svn path=/trunk/libcss/; revision=8307
* Query client for initial values of color, font-family, quotes, and ↵John Mark Bell2009-07-041-8/+8
| | | | | | voice-family properties. svn path=/trunk/libcss/; revision=8306
* Fix test data:John Mark Bell2009-06-301-6/+24
| | | | | | | Test 4 is testing the root node, so needs to compare against a fully computed style. The paragraph node in test 5 is the first child of its parent, so the background colour is expected to be as specified. svn path=/trunk/libcss/; revision=8210
* Update testdata.Michael Drake2009-06-301-0/+1
| | | | svn path=/trunk/libcss/; revision=8200
* More test data changes.Michael Drake2009-06-301-4/+23
| | | | svn path=/trunk/libcss/; revision=8188
* Fix tests.Michael Drake2009-06-301-27/+25
| | | | svn path=/trunk/libcss/; revision=8186
* Fix tests.Michael Drake2009-06-301-0/+12
| | | | svn path=/trunk/libcss/; revision=8183
* Delete unset color and border color because they'll be inherit.Michael Drake2009-06-301-15/+0
| | | | svn path=/trunk/libcss/; revision=8182
* Fix test.Michael Drake2009-06-301-5/+5
| | | | svn path=/trunk/libcss/; revision=8181
* Enable selector tests. Update tests.Michael Drake2009-06-301-19/+232
| | | | svn path=/trunk/libcss/; revision=8180
* A few inherit tests.Michael Drake2009-06-271-0/+71
| | | | svn path=/trunk/libcss/; revision=8072
* List property tests.Michael Drake2009-06-272-0/+489
| | | | svn path=/trunk/libcss/; revision=8071
* Fix test dataJohn Mark Bell2009-06-271-36/+0
| | | | svn path=/trunk/libcss/; revision=8070
* Font property tests.Michael Drake2009-06-272-0/+729
| | | | svn path=/trunk/libcss/; revision=8068
* Outline and border tests.Michael Drake2009-06-273-0/+2327
| | | | svn path=/trunk/libcss/; revision=8063
* Test one more line.Michael Drake2009-06-271-0/+32
| | | | svn path=/trunk/libcss/; revision=8056
* More aural tests.Michael Drake2009-06-271-0/+346
| | | | svn path=/trunk/libcss/; revision=8054
* Comment out non-automated tests for now. Add some aural property tests.Michael Drake2009-06-273-0/+361
| | | | svn path=/trunk/libcss/; revision=8050
* 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