summaryrefslogtreecommitdiff
path: root/src/select
Commit message (Collapse)AuthorAgeFilesLines
* correctly apply enum casts to avoid warnings about casting between Vincent Sanders2012-04-141-6/+6
| | | | | | disimmilar enumerations. svn path=/trunk/libcss/; revision=13868
* Complete widows and orphans support. Thanks to James Montgomerie.Michael Drake2012-04-136-38/+219
| | | | svn path=/trunk/libcss/; revision=13864
* Fix debug build (warnings about comparing different enums).François Revel2012-04-061-4/+6
| | | | svn path=/trunk/libcss/; revision=13810
* Use correct unit enum values for computed clip rectangleRob Kendrick2012-03-251-1/+1
| | | | svn path=/trunk/libcss/; revision=13651
* Add support for parsing CSS3 Multi-column layout properties:Michael Drake2012-01-2814-0/+843
| | | | | | | | | | | | | | | | | | + break-after + break-before + break-inside + column-count + column-fill + column-gap + column-rule-color + column-rule-style + column_rule-width + column_span + column_width TODO: Shorthand properties (columns, column-rule) TODO: Selection svn path=/trunk/libcss/; revision=13412
* Fix font-face defaults (credit: James Montgomerie)John Mark Bell2012-01-241-1/+10
| | | | svn path=/trunk/libcss/; revision=13406
* @font-face support. Credit: James MontgomerieJohn Mark Bell2011-12-044-20/+615
| | | | | | Things missing: parser tests; the following descriptors: font-feature-settings, font-stretch, font-variant, unicode-range. svn path=/trunk/libcss/; revision=13244
* Fall back to UA's default font family if no generic family is specified in ↵John Mark Bell2011-12-041-10/+48
| | | | | | | | the input CSS. Based on a patch from James Montgomerie. svn path=/trunk/libcss/; revision=13227
* Simplify cache loop criterion.Michael Drake2011-11-071-2/+3
| | | | svn path=/trunk/libcss/; revision=13134
* Fill reject cache backwards from end.Michael Drake2011-11-072-7/+8
| | | | svn path=/trunk/libcss/; revision=13133
* Code style tweak.Michael Drake2011-11-061-1/+1
| | | | svn path=/trunk/libcss/; revision=13132
* Avoid trying to add already-cached selectors to reject cache. Remove ↵Michael Drake2011-11-061-24/+15
| | | | | | pre-insertion search. svn path=/trunk/libcss/; revision=13131
* Fix regression introduced by reject cache: do not cache failure to match ↵John Mark Bell2011-11-051-0/+1
| | | | | | multi-detailed selectors svn path=/trunk/libcss/; revision=13126
* Selection micro optimisation.Michael Drake2011-11-041-15/+17
| | | | svn path=/trunk/libcss/; revision=13120
* Don't need to match CSS_SELECTOR_ELEMENT detail since it will always match.Michael Drake2011-11-041-8/+13
| | | | svn path=/trunk/libcss/; revision=13119
* Cache rejected ancestor class/ID selectors to improve selection efficiencyJohn Mark Bell2011-11-042-8/+102
| | | | svn path=/trunk/libcss/; revision=13118
* Appease ancient compilersJohn Mark Bell2011-09-061-3/+9
| | | | svn path=/trunk/libcss/; revision=12765
* A bunch more microoptimisationsJohn Mark Bell2011-09-063-101/+74
| | | | svn path=/trunk/libcss/; revision=12746
* Iterate over pseudo elements, then properties, and reject unused pseudo ↵John Mark Bell2011-09-051-16/+15
| | | | | | | | elements at the earliest opportunity. Avoids pointlessly iterating over count(unused-pseudo-element) * count(properties) properties. svn path=/trunk/libcss/; revision=12744
* Compute node name, id, and classes once, instead of once per stylesheetJohn Mark Bell2011-09-052-48/+51
| | | | svn path=/trunk/libcss/; revision=12743
* Hoist string internment into selection context constructor.John Mark Bell2011-09-052-305/+302
| | | | | | Destroy interned strings from selection context destructor. svn path=/trunk/libcss/; revision=12742
* Add support for selecting page-break-{before, after, inside}John Mark Bell2011-08-239-64/+267
| | | | | | Credit: James Montgomerie svn path=/trunk/libcss/; revision=12645
* Fix build with GCC 4.6John Mark Bell2011-07-2612-36/+1
| | | | svn path=/trunk/libcss/; revision=12627
* Add structure versioning for client inputJohn Mark Bell2011-03-131-1/+3
| | | | svn path=/trunk/libcss/; revision=12007
* Ensure that the uncommon extension block is initialised correctlyJohn Mark Bell2011-03-121-1/+24
| | | | svn path=/trunk/libcss/; revision=11990
* Fix set_clipJohn Mark Bell2011-03-121-2/+2
| | | | svn path=/trunk/libcss/; revision=11989
* Fix cascade of clip rectangle valueJohn Mark Bell2011-03-121-0/+1
| | | | svn path=/trunk/libcss/; revision=11988
* CSS3 NamespacesJohn Mark Bell2011-03-123-67/+70
| | | | svn path=/trunk/libcss/; revision=11972
* Hide the CSS computed style itself. Only expose a few simple structures ↵Daniel Silverstone2011-03-124-0/+2114
| | | | | | which we can keep sane. All property accessors are thus hidden behind a link symbol for ABI safety svn path=/trunk/libcss/; revision=11969
* The document root element cannot be the child of anythingJohn Mark Bell2011-01-311-12/+25
| | | | svn path=/trunk/libcss/; revision=11572
* Fix specificity calculation for prefix, suffix, and substring attribute ↵John Mark Bell2011-01-311-0/+21
| | | | | | | | selectors. Fix dumping of these selectors when debugging selector chains svn path=/trunk/libcss/; revision=11569
* Place negated class and id selectors in the universal hash chainJohn Mark Bell2011-01-311-2/+4
| | | | svn path=/trunk/libcss/; revision=11568
* CSS3 SelectorsJohn Mark Bell2011-01-312-4/+309
| | | | svn path=/trunk/libcss/; revision=11557
* Add support for opacity propertyJohn Mark Bell2011-01-296-0/+112
| | | | svn path=/trunk/libcss/; revision=11527
* Centralise handling of transparent colours.John Mark Bell2011-01-299-19/+89
| | | | | | Add support for currentColor svn path=/trunk/libcss/; revision=11525
* Rename all css_[^_] internal symbols to css__ so that they're nicely namespacedDaniel Silverstone2011-01-2610-32/+32
| | | | svn path=/trunk/libcss/; revision=11492
* Fix cascade of counter-{increment,reset} on 64bit platformsJohn Mark Bell2011-01-241-3/+3
| | | | svn path=/trunk/libcss/; revision=11476
* Ensure there are zero global symbols without css_ or css__ in front of them. ↵Daniel Silverstone2011-01-20107-568/+568
| | | | | | This helps prevent confusion if someone else wants a function called parse_background or similar svn path=/trunk/libcss/; revision=11416
* fix play_diring cascade string usageVincent Sanders2011-01-201-2/+2
| | | | svn path=/trunk/libcss/; revision=11412
* fix cursor cascadeVincent Sanders2011-01-201-2/+2
| | | | svn path=/trunk/libcss/; revision=11410
* Merge parser autogeneration and string handling refactor branch ↵Vincent Sanders2011-01-19104-701/+26
| | | | | | r=jmb,kinnison,vince svn path=/trunk/libcss/; revision=11408
* Turns out, we know the size of the styles block up-front.John Mark Bell2011-01-051-3/+1
| | | | svn path=/trunk/libcss/; revision=11214
* Simultaneously select styles for base + pseudo elements.John Mark Bell2011-01-0581-300/+379
| | | | svn path=/trunk/libcss/; revision=11211
* Complete the fix for pseudo element selection: inline styles and ↵John Mark Bell2011-01-021-6/+18
| | | | | | presentational hints must not be applied to pseudo elements. svn path=/trunk/libcss/; revision=11181
* When selecting for a node's pseudo elements, only match rules which apply to ↵Michael Drake2011-01-011-11/+24
| | | | | | the pseudo element, and not the raw node as well. svn path=/trunk/libcss/; revision=11177
* Split up properties selectorsVincent Sanders2010-12-05103-6646/+8253
| | | | svn path=/trunk/libcss/; revision=11011
* Add string vector capability to stylesheet (r=jmb)Vincent Sanders2010-12-054-3/+3
| | | | | | Move properties ready for split svn path=/trunk/libcss/; revision=11005
* Fix destruction of bytecode for the clip property.John Mark Bell2010-09-281-1/+1
| | | | svn path=/trunk/libcss/; revision=10856
* Remove ownerNode and ownerRule fields from stylesheet objects.John Mark Bell2010-06-271-3/+11
| | | | | | | | | | | These prevent stylesheets being used in multiple contexts simultaneously. Their values can be inferred from the context in which the stylesheet is used. Replace use of ownerRule to backtrack in style selection with a (fixed-size) stack of rules to process. This prevents crashes when a sheet that was previously imported somewhere is reused as a top-level sheet. svn path=/trunk/libcss/; revision=10581
* Really fix hint leaks. Hint data ownership is passed to libcss.John Mark Bell2010-04-292-140/+34
| | | | | | Ensure that hint is initialised before asking client to populate it (so as to guard against broken clients) svn path=/trunk/libcss/; revision=10520