summaryrefslogtreecommitdiff
path: root/src/select
Commit message (Collapse)AuthorAgeFilesLines
* Support for parsing inline stylesJohn Mark Bell2009-06-261-0/+25
| | | | svn path=/trunk/libcss/; revision=8024
* Make selection ignore selectors generated by rules in inactive @media blocks.John Mark Bell2009-06-261-6/+44
| | | | svn path=/trunk/libcss/; revision=8015
* Port to new buildsystemJohn Mark Bell2009-03-241-47/+2
| | | | svn path=/trunk/libcss/; revision=6856
* Implement set_*_from_hintJohn Mark Bell2009-03-231-5/+876
| | | | | | Plug memory leaks. svn path=/trunk/libcss/; revision=6823
* Make dispatch.c legibleJohn Mark Bell2009-03-231-100/+792
| | | | svn path=/trunk/libcss/; revision=6822
* Completely change the approach used for presentational hints.John Mark Bell2009-03-236-116/+337
| | | | | | | | This one stands a chance of working sanely. While this compiles, please don't expect it to link. svn path=/trunk/libcss/; revision=6820
* Sketch out something for presentational hints.John Mark Bell2009-03-221-1/+13
| | | | | | | The client will have to maintain some state to be able to calculate this struct for every node selection, but that shouldn't be overly onerous. Also, the mess surrounding centering can only be sensibly solved through the addition of a new, prefixed, property. svn path=/trunk/libcss/; revision=6816
* 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
* 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
* Port libcss to libwapcaplet.Daniel Silverstone2009-02-145-198/+200
| | | | | | | | | 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
* I was on crack this morning, it would appear.John Mark Bell2009-02-141-2/+0
| | | | svn path=/trunk/libcss/; revision=6505
* Drop css_error_handler and rename css_alloc to css_allocator_fnDaniel Silverstone2009-02-144-6/+6
| | | | svn path=/trunk/libcss/; revision=6482
* 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
* 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
* Er yeah, it probably helps to initialise your allocation function pointer.John Mark Bell2009-02-121-0/+3
| | | | svn path=/trunk/libcss/; revision=6458
* Handle as much voice-family as we can.John Mark Bell2009-02-111-4/+86
| | | | svn path=/trunk/libcss/; revision=6445
* And the initial value of quotes, too.John Mark Bell2009-02-111-3/+1
| | | | svn path=/trunk/libcss/; revision=6444