summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* 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-123-5/+5
| | | | svn path=/trunk/libcss/; revision=6453
* Sketch out some test data for the selection engineJohn Mark Bell2009-02-122-0/+45
| | | | svn path=/trunk/libcss/; revision=6452
* 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
* Handle quotesJohn Mark Bell2009-02-111-4/+62
| | | | svn path=/trunk/libcss/; revision=6443
* Modify encoding of quotes. Move clip to accommodate.John Mark Bell2009-02-113-24/+24
| | | | svn path=/trunk/libcss/; revision=6442
* Rework font-family handler to a) compile and b) reflect the changes made to ↵John Mark Bell2009-02-111-89/+28
| | | | | | the font-family representation. svn path=/trunk/libcss/; revision=6441
* Change encoding of font-familyJohn Mark Bell2009-02-113-72/+78
| | | | | | Move list-style-position to make room for it. svn path=/trunk/libcss/; revision=6440
* Something approximating font-family. This is hideous.John Mark Bell2009-02-112-7/+158
| | | | svn path=/trunk/libcss/; revision=6439
* Squash memory leakJohn Mark Bell2009-02-111-0/+2
| | | | svn path=/trunk/libcss/; revision=6438
* Fix dumping of cursor values.John Mark Bell2009-02-112-5/+16
| | | | | | Testcase for this. svn path=/trunk/libcss/; revision=6437
* Handle cursorJohn Mark Bell2009-02-111-7/+113
| | | | svn path=/trunk/libcss/; revision=6436
* Handle counter-increment/counter-resetJohn Mark Bell2009-02-112-21/+98
| | | | svn path=/trunk/libcss/; revision=6435
* Handle content, not that we actually do anything with the data we read, however.John Mark Bell2009-02-111-4/+53
| | | | svn path=/trunk/libcss/; revision=6434
* Handle as much of clip as we canJohn Mark Bell2009-02-111-2/+28
| | | | svn path=/trunk/libcss/; revision=6433
* Change the representation of any data that includes a css_string. They're ↵John Mark Bell2009-02-114-64/+44
| | | | | | 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-51/+186
| | | | svn path=/trunk/libcss/; revision=6431
* More property handlersJohn Mark Bell2009-02-112-116/+387
| | | | svn path=/trunk/libcss/; revision=6430
* More property handlersJohn Mark Bell2009-02-111-40/+47
| | | | svn path=/trunk/libcss/; revision=6426
* Sync azimuth with current idiom.John Mark Bell2009-02-111-15/+24
| | | | | | A couple more property handlers svn path=/trunk/libcss/; revision=6425
* More property handlersJohn Mark Bell2009-02-111-93/+66
| | | | svn path=/trunk/libcss/; revision=6424
* More property handlersJohn Mark Bell2009-02-111-71/+198
| | | | svn path=/trunk/libcss/; revision=6423
* More property handlersJohn Mark Bell2009-02-111-60/+226
| | | | svn path=/trunk/libcss/; revision=6422
* More property handlersJohn Mark Bell2009-02-111-30/+100
| | | | svn path=/trunk/libcss/; revision=6421
* More property handlersJohn Mark Bell2009-02-111-37/+91
| | | | svn path=/trunk/libcss/; revision=6420
* More property handlersJohn Mark Bell2009-02-111-255/+252
| | | | svn path=/trunk/libcss/; revision=6419
* Border colours. Factor out common code.John Mark Bell2009-02-112-66/+61
| | | | svn path=/trunk/libcss/; revision=6418
* More property handlersJohn Mark Bell2009-02-111-17/+47
| | | | svn path=/trunk/libcss/; revision=6417
* Restore the magical properties of background-repeat values (the bottom two ↵John Mark Bell2009-02-112-21/+90
| | | | | | | | bits form a bitfield of dimensions to tile in). Implement a couple more property handlers svn path=/trunk/libcss/; revision=6416
* So, it transpires that we don't need the selection context in the property ↵John Mark Bell2009-02-112-231/+283
| | | | | | | | handlers after all. Remove that, then. Implement handlers for a few properties. svn path=/trunk/libcss/; revision=6414
* Implement sort ordering. Inevitably, this is more comment than code.John Mark Bell2009-02-101-17/+110
| | | | svn path=/trunk/libcss/; revision=6413
* Purge side bits. These cause more trouble than they're worth, and it's not ↵John Mark Bell2009-02-1010-786/+1070
| | | | | | as if there's a dearth of opcode space. svn path=/trunk/libcss/; revision=6410
* Much API cleanup.John Mark Bell2009-02-102-23/+1660
| | | | | | | | Dispatch property handling through a table. Implement cascade_style. All property handlers are stubs at present. svn path=/trunk/libcss/; revision=6409
* 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
* Distinguish between pseudo classes and pseudo elementsJohn Mark Bell2009-02-107-13/+57
| | | | svn path=/trunk/libcss/; revision=6406
* Musings about a potential optimisationJohn Mark Bell2009-02-091-0/+6
| | | | svn path=/trunk/libcss/; revision=6405
* Match detailsJohn Mark Bell2009-02-092-5/+64
| | | | svn path=/trunk/libcss/; revision=6404
* This is more likely to handle universal simple_selectors correctly.John Mark Bell2009-02-092-44/+149
| | | | | | | | 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-092-7/+116
| | | | svn path=/trunk/libcss/; revision=6402
* Beginnings of a handler function table.John Mark Bell2009-02-092-9/+20
| | | | svn path=/trunk/libcss/; revision=6401
* Iterate over the selectors in a stylesheet which match the current node's name.John Mark Bell2009-02-091-3/+76
| | | | svn path=/trunk/libcss/; revision=6400
* Traverse stylesheet tree iteratively.John Mark Bell2009-02-091-22/+60
| | | | svn path=/trunk/libcss/; revision=6399
* Further tweaks. We need to know the <sheet,rule> pair from which a property ↵John Mark Bell2009-02-071-2/+8
| | | | | | got set so that we can determine whether a subsequently defined rule overrides it. svn path=/trunk/libcss/; revision=6395
* Beginnings of a style selection algorithm.John Mark Bell2009-02-071-10/+76
| | | | svn path=/trunk/libcss/; revision=6392
* Fix build.John Mark Bell2009-02-071-1/+18
| | | | | | Sketch out a struct containing the state needed during selection. We need to know the specificity, origin, and importance of the source of the current property value. We also need to know whether the property has been set at all (as this is not available by simply inspecting the computed style struct). svn path=/trunk/libcss/; revision=6391
* Oh look, I've changed my mind again.John Mark Bell2009-02-075-23/+10
| | | | | | 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-076-7/+152
| | | | | | | Make css_computed_style_create() private. Implement css_computed_style_[create,destroy](). svn path=/trunk/libcss/; revision=6389
* Mutators for computed styleJohn Mark Bell2009-02-072-1/+1628
| | | | svn path=/trunk/libcss/; revision=6388