summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Beginnings of a computed style dump routine.John Mark Bell2009-02-133-8/+121
| | | | | | | 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
* 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
* Test driver for selection engine testsJohn Mark Bell2009-02-123-1/+954
| | | | svn path=/trunk/libcss/; revision=6461
* 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
* 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