summaryrefslogtreecommitdiff
path: root/include/libcss
Commit message (Collapse)AuthorAgeFilesLines
* Completely change the approach used for presentational hints.John Mark Bell2009-03-234-87/+118
| | | | | | | | 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-222-1/+120
| | | | | | | 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-1/+1
| | | | | | Compose width, word-spacing and z-index. svn path=/trunk/libcss/; revision=6709
* Constify.John Mark Bell2009-03-041-2/+2
| | | | | | | Compose counter-increment and counter-reset. Fix compose_content. svn path=/trunk/libcss/; revision=6692
* Some changes. No idea what they are, mind you.John Mark Bell2009-02-153-12/+14
| | | | svn path=/trunk/libcss/; revision=6536
* Quirks mode parsingJohn Mark Bell2009-02-151-2/+4
| | | | svn path=/trunk/libcss/; revision=6519
* Fix maths in commentaryJohn Mark Bell2009-02-151-8/+6
| | | | svn path=/trunk/libcss/; revision=6518
* Port libcss to libwapcaplet.Daniel Silverstone2009-02-145-57/+45
| | | | | | | | | 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
* Replace pointers to aural/page properties with pointers to void as placeholdersJohn Mark Bell2009-02-141-12/+2
| | | | svn path=/trunk/libcss/; revision=6516
* Finally, a representation of a computed content property.John Mark Bell2009-02-142-9/+70
| | | | svn path=/trunk/libcss/; revision=6515
* Fix clip: rect() with auto sidesJohn Mark Bell2009-02-141-21/+42
| | | | svn path=/trunk/libcss/; revision=6514
* Make fpmath stuff public.John Mark Bell2009-02-142-4/+63
| | | | | | Un-inline string->fixed conversion routine. svn path=/trunk/libcss/; revision=6513
* Rework handling of imported stylesheets.John Mark Bell2009-02-142-8/+10
| | | | | | 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
* Drop css_error_handler and rename css_alloc to css_allocator_fnDaniel Silverstone2009-02-145-13/+9
| | | | svn path=/trunk/libcss/; revision=6482
* Trivial header cleanups.Daniel Silverstone2009-02-142-13/+15
| | | | svn path=/trunk/libcss/; revision=6481
* Move css_error_from_string into test utilitiesDaniel Silverstone2009-02-141-2/+0
| | | | svn path=/trunk/libcss/; revision=6480
* Pseudo classes are now matched by callbacks to the client. This is far ↵John Mark Bell2009-02-141-18/+15
| | | | | | | | | 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-10/+11
| | | | svn path=/trunk/libcss/; revision=6474
* Enumerate all media types defined in CSS 2.1 (includes aural, which is ↵John Mark Bell2009-02-121-2/+15
| | | | | | deprecated) svn path=/trunk/libcss/; revision=6454
* Synchronise media type bitfield with reality -- it's 64bits wide.John Mark Bell2009-02-121-2/+2
| | | | svn path=/trunk/libcss/; revision=6453
* Modify encoding of quotes. Move clip to accommodate.John Mark Bell2009-02-112-17/+17
| | | | svn path=/trunk/libcss/; revision=6442
* Change encoding of font-familyJohn Mark Bell2009-02-112-39/+45
| | | | | | Move list-style-position to make room for it. svn path=/trunk/libcss/; revision=6440
* Handle counter-increment/counter-resetJohn Mark Bell2009-02-111-2/+2
| | | | svn path=/trunk/libcss/; revision=6435
* Change the representation of any data that includes a css_string. They're ↵John Mark Bell2009-02-111-26/+30
| | | | | | now either embedded directly in the computed style object, or are comprised of an array of objects (rather than pointers to objects) svn path=/trunk/libcss/; revision=6432
* More property handlersJohn Mark Bell2009-02-111-1/+2
| | | | svn path=/trunk/libcss/; revision=6430
* Border colours. Factor out common code.John Mark Bell2009-02-111-3/+3
| | | | svn path=/trunk/libcss/; revision=6418
* Restore the magical properties of background-repeat values (the bottom two ↵John Mark Bell2009-02-111-4/+4
| | | | | | | | bits form a bitfield of dimensions to tile in). Implement a couple more property handlers svn path=/trunk/libcss/; revision=6416
* Map inherit to 0 for all properties, so we get a default style of everything ↵John Mark Bell2009-02-101-268/+268
| | | | | | inherited. svn path=/trunk/libcss/; revision=6408
* Enumerate pseudo classes and elementsJohn Mark Bell2009-02-101-0/+20
| | | | svn path=/trunk/libcss/; revision=6407
* Match detailsJohn Mark Bell2009-02-091-0/+22
| | | | svn path=/trunk/libcss/; revision=6404
* This is more likely to handle universal simple_selectors correctly.John Mark Bell2009-02-091-3/+6
| | | | | | | | Refactor stuff while we're at it. Selector chains containing universal simple components are expensive to match/reject, as they require matching details on every previous sibling/ancestor (depending on the combinator type). Thus, we aim to handle the universal case last, to have the best chance of avoiding it. svn path=/trunk/libcss/; revision=6403
* Match selector chains. Universal selectors will probably break this.John Mark Bell2009-02-091-1/+9
| | | | svn path=/trunk/libcss/; revision=6402
* Beginnings of a handler function table.John Mark Bell2009-02-091-1/+9
| | | | svn path=/trunk/libcss/; revision=6401
* Oh look, I've changed my mind again.John Mark Bell2009-02-072-2/+4
| | | | | | It's far better that the client creates computed style objects which we then populate. This will allow more efficient composition of styles as, in the most common case, it won't require any memory allocation. svn path=/trunk/libcss/; revision=6390
* More API changes.John Mark Bell2009-02-072-4/+2
| | | | | | | Make css_computed_style_create() private. Implement css_computed_style_[create,destroy](). svn path=/trunk/libcss/; revision=6389
* It probably helps to ensure the allocation routine is accessible.John Mark Bell2009-02-071-1/+4
| | | | | | Minor fix for an accessor. svn path=/trunk/libcss/; revision=6387
* More accessorsJohn Mark Bell2009-02-061-0/+102
| | | | svn path=/trunk/libcss/; revision=6386
* More accessorsJohn Mark Bell2009-02-061-0/+68
| | | | svn path=/trunk/libcss/; revision=6385
* More accessorsJohn Mark Bell2009-02-061-0/+67
| | | | svn path=/trunk/libcss/; revision=6384
* More accessorsJohn Mark Bell2009-02-061-0/+39
| | | | svn path=/trunk/libcss/; revision=6383
* More accessorsJohn Mark Bell2009-02-061-0/+40
| | | | svn path=/trunk/libcss/; revision=6382
* More accessorsJohn Mark Bell2009-02-061-2/+161
| | | | svn path=/trunk/libcss/; revision=6381
* More accessorsJohn Mark Bell2009-02-061-0/+81
| | | | svn path=/trunk/libcss/; revision=6380
* More accessorsJohn Mark Bell2009-02-061-0/+120
| | | | svn path=/trunk/libcss/; revision=6379
* More accessorsJohn Mark Bell2009-02-061-0/+160
| | | | svn path=/trunk/libcss/; revision=6378
* More accessorsJohn Mark Bell2009-02-061-0/+90
| | | | svn path=/trunk/libcss/; revision=6377
* More accessorsJohn Mark Bell2009-02-061-0/+172
| | | | svn path=/trunk/libcss/; revision=6376
* More accessorsJohn Mark Bell2009-02-061-0/+218
| | | | svn path=/trunk/libcss/; revision=6375
* More accessorsJohn Mark Bell2009-02-061-1/+168
| | | | svn path=/trunk/libcss/; revision=6374
* I've changed my mind. Don't assume that _INHERIT doesn't exist here.John Mark Bell2009-02-061-15/+56
| | | | svn path=/trunk/libcss/; revision=6373