summaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* z-index is a signed int, not a css_fixed value.John Mark Bell2009-03-051-0/+49
| | | | | | Compose width, word-spacing and z-index. svn path=/trunk/libcss/; revision=6709
* 7 more.John Mark Bell2009-03-051-0/+85
| | | | svn path=/trunk/libcss/; revision=6708
* 5 more.John Mark Bell2009-03-051-0/+65
| | | | svn path=/trunk/libcss/; revision=6707
* 7 more.John Mark Bell2009-03-051-0/+77
| | | | svn path=/trunk/libcss/; revision=6706
* Compose position and quotesJohn Mark Bell2009-03-051-0/+51
| | | | svn path=/trunk/libcss/; revision=6705
* 8 more.John Mark Bell2009-03-051-0/+88
| | | | svn path=/trunk/libcss/; revision=6704
* 5 more.John Mark Bell2009-03-051-0/+79
| | | | svn path=/trunk/libcss/; revision=6703
* 4 more.John Mark Bell2009-03-051-0/+58
| | | | svn path=/trunk/libcss/; revision=6702
* Compose {min,max}{width,height}John Mark Bell2009-03-051-0/+68
| | | | svn path=/trunk/libcss/; revision=6701
* 10 more.John Mark Bell2009-03-051-0/+162
| | | | svn path=/trunk/libcss/; revision=6700
* 4 moreJohn Mark Bell2009-03-051-0/+51
| | | | svn path=/trunk/libcss/; revision=6699
* Compose font-familyJohn Mark Bell2009-03-051-0/+38
| | | | svn path=/trunk/libcss/; revision=6698
* 5 more.John Mark Bell2009-03-051-0/+56
| | | | svn path=/trunk/libcss/; revision=6697
* Compose cue-after, cue-before, cursor.John Mark Bell2009-03-041-0/+62
| | | | svn path=/trunk/libcss/; revision=6693
* Constify.John Mark Bell2009-03-041-1/+81
| | | | | | | Compose counter-increment and counter-reset. Fix compose_content. svn path=/trunk/libcss/; revision=6692
* compute_content()John Mark Bell2009-03-041-0/+41
| | | | svn path=/trunk/libcss/; revision=6691
* Implement initial_content()John Mark Bell2009-03-041-3/+1
| | | | svn path=/trunk/libcss/; revision=6690
* 4 more.John Mark Bell2009-03-041-0/+57
| | | | svn path=/trunk/libcss/; revision=6689
* 4 more.John Mark Bell2009-03-021-0/+68
| | | | svn path=/trunk/libcss/; revision=6680
* 12 more.John Mark Bell2009-03-021-0/+188
| | | | svn path=/trunk/libcss/; revision=6679
* 8 property composition functions.John Mark Bell2009-03-021-0/+123
| | | | svn path=/trunk/libcss/; revision=6678
* Add compose entry to property dispatch table.John Mark Bell2009-03-024-105/+424
| | | | | | | Implement css_computed_style_compose() in terms of this. Don't expect this to link -- none of the composition functions exist. svn path=/trunk/libcss/; revision=6675
* Reduce code duplicationJohn Mark Bell2009-03-021-1/+1
| | | | svn path=/trunk/libcss/; revision=6671
* Some changes. No idea what they are, mind you.John Mark Bell2009-02-153-15/+16
| | | | svn path=/trunk/libcss/; revision=6536
* Most of the interned string lifetimes are at least no shorter than we think ↵Daniel Silverstone2009-02-153-19/+123
| | | | | | they ought to be. svn path=/trunk/libcss/; revision=6532
* Tidy up handling of malformed selectorsJohn Mark Bell2009-02-151-38/+51
| | | | svn path=/trunk/libcss/; revision=6525
* Move property dispatch table out of select.c so it can be used by the ↵John Mark Bell2009-02-159-384/+761
| | | | | | computed style composition code. svn path=/trunk/libcss/; revision=6523
* Lose redundant todosJohn Mark Bell2009-02-151-2/+0
| | | | svn path=/trunk/libcss/; revision=6521
* Pay attention to the disabled flag on top-level stylesheetsJohn Mark Bell2009-02-151-2/+4
| | | | svn path=/trunk/libcss/; revision=6520
* Quirks mode parsingJohn Mark Bell2009-02-155-94/+220
| | | | svn path=/trunk/libcss/; revision=6519
* Port libcss to libwapcaplet.Daniel Silverstone2009-02-1414-569/+529
| | | | | | | | | It passes the tests, perhaps we need more of them. Lifetimes of lwc_string objects really need attention before we can consider this finished. svn path=/trunk/libcss/; revision=6517
* Finally, a representation of a computed content property.John Mark Bell2009-02-142-35/+141
| | | | svn path=/trunk/libcss/; revision=6515
* Fix clip: rect() with auto sidesJohn Mark Bell2009-02-142-7/+17
| | | | svn path=/trunk/libcss/; revision=6514
* Make fpmath stuff public.John Mark Bell2009-02-146-234/+169
| | | | | | Un-inline string->fixed conversion routine. svn path=/trunk/libcss/; revision=6513
* I was on crack this morning, it would appear.John Mark Bell2009-02-141-2/+0
| | | | svn path=/trunk/libcss/; revision=6505
* Rework handling of imported stylesheets.John Mark Bell2009-02-144-57/+150
| | | | | | No longer is the client called back mid-parse. Instead, they must acquire details of and process imported stylesheets after css_stylesheet_data_done() has been called on the parent sheet. The return code of css_stylesheet_data_done() informs the client of the need to process imported sheets. svn path=/trunk/libcss/; revision=6504
* Parse media type list in @import ruleJohn Mark Bell2009-02-142-6/+66
| | | | svn path=/trunk/libcss/; revision=6490
* I guess it helps if you actually flag that you've had a valid statement, so ↵John Mark Bell2009-02-141-0/+6
| | | | | | @import/@charset cease to take effect. svn path=/trunk/libcss/; revision=6484
* Drop css_error_handler and rename css_alloc to css_allocator_fnDaniel Silverstone2009-02-1413-19/+19
| | | | svn path=/trunk/libcss/; revision=6482
* Move css_error_from_string into test utilitiesDaniel Silverstone2009-02-141-30/+0
| | | | svn path=/trunk/libcss/; revision=6480
* Assert that we've got a style once the property handler's returned CSS_OK.John Mark Bell2009-02-141-9/+7
| | | | svn path=/trunk/libcss/; revision=6479
* Pseudo classes are now matched by callbacks to the client. This is far ↵John Mark Bell2009-02-141-68/+27
| | | | | | | | | 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-5/+4
| | | | svn path=/trunk/libcss/; revision=6474
* Discard selectors that contain pseudo elements in non-terminal simple selectors.John Mark Bell2009-02-141-2/+10
| | | | | | More test data for selectors with pseudo elements svn path=/trunk/libcss/; revision=6473
* Flag todoJohn Mark Bell2009-02-141-0/+2
| | | | svn path=/trunk/libcss/; revision=6472
* Fix matching of universal sibling selectors -- siblings must be adjacent.John Mark Bell2009-02-141-3/+5
| | | | svn path=/trunk/libcss/; revision=6471
* A motley selection of changes. Vague summary:John Mark Bell2009-02-142-126/+347
| | | | | | | | | | | | | | | | | | + 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
* Ensure pseudo classes/elements fail to match.John Mark Bell2009-02-131-0/+6
| | | | | | Ensure that plain element selectors match. svn path=/trunk/libcss/; revision=6467
* Don't attempt to match details on a NULL pointerJohn Mark Bell2009-02-121-10/+13
| | | | svn path=/trunk/libcss/; revision=6460
* Verify parameters to css_select_style.John Mark Bell2009-02-121-1/+1
| | | | svn path=/trunk/libcss/; revision=6459