Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Fall back to UA's default font family if no generic family is specified in ↵ | John Mark Bell | 2011-12-04 | 1 | -10/+48 | |
| | | | | | | | | the input CSS. Based on a patch from James Montgomerie. svn path=/trunk/libcss/; revision=13227 | |||||
* | Simplify cache loop criterion. | Michael Drake | 2011-11-07 | 1 | -2/+3 | |
| | | | | svn path=/trunk/libcss/; revision=13134 | |||||
* | Fill reject cache backwards from end. | Michael Drake | 2011-11-07 | 2 | -7/+8 | |
| | | | | svn path=/trunk/libcss/; revision=13133 | |||||
* | Code style tweak. | Michael Drake | 2011-11-06 | 1 | -1/+1 | |
| | | | | svn path=/trunk/libcss/; revision=13132 | |||||
* | Avoid trying to add already-cached selectors to reject cache. Remove ↵ | Michael Drake | 2011-11-06 | 1 | -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 Bell | 2011-11-05 | 1 | -0/+1 | |
| | | | | | | multi-detailed selectors svn path=/trunk/libcss/; revision=13126 | |||||
* | Selection micro optimisation. | Michael Drake | 2011-11-04 | 1 | -15/+17 | |
| | | | | svn path=/trunk/libcss/; revision=13120 | |||||
* | Don't need to match CSS_SELECTOR_ELEMENT detail since it will always match. | Michael Drake | 2011-11-04 | 1 | -8/+13 | |
| | | | | svn path=/trunk/libcss/; revision=13119 | |||||
* | Cache rejected ancestor class/ID selectors to improve selection efficiency | John Mark Bell | 2011-11-04 | 2 | -8/+102 | |
| | | | | svn path=/trunk/libcss/; revision=13118 | |||||
* | Appease ancient compilers | John Mark Bell | 2011-09-06 | 1 | -3/+9 | |
| | | | | svn path=/trunk/libcss/; revision=12765 | |||||
* | A bunch more microoptimisations | John Mark Bell | 2011-09-06 | 3 | -101/+74 | |
| | | | | svn path=/trunk/libcss/; revision=12746 | |||||
* | Iterate over pseudo elements, then properties, and reject unused pseudo ↵ | John Mark Bell | 2011-09-05 | 1 | -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 stylesheet | John Mark Bell | 2011-09-05 | 2 | -48/+51 | |
| | | | | svn path=/trunk/libcss/; revision=12743 | |||||
* | Hoist string internment into selection context constructor. | John Mark Bell | 2011-09-05 | 2 | -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 Bell | 2011-08-23 | 9 | -64/+267 | |
| | | | | | | Credit: James Montgomerie svn path=/trunk/libcss/; revision=12645 | |||||
* | Fix build with GCC 4.6 | John Mark Bell | 2011-07-26 | 12 | -36/+1 | |
| | | | | svn path=/trunk/libcss/; revision=12627 | |||||
* | Add structure versioning for client input | John Mark Bell | 2011-03-13 | 1 | -1/+3 | |
| | | | | svn path=/trunk/libcss/; revision=12007 | |||||
* | Ensure that the uncommon extension block is initialised correctly | John Mark Bell | 2011-03-12 | 1 | -1/+24 | |
| | | | | svn path=/trunk/libcss/; revision=11990 | |||||
* | Fix set_clip | John Mark Bell | 2011-03-12 | 1 | -2/+2 | |
| | | | | svn path=/trunk/libcss/; revision=11989 | |||||
* | Fix cascade of clip rectangle value | John Mark Bell | 2011-03-12 | 1 | -0/+1 | |
| | | | | svn path=/trunk/libcss/; revision=11988 | |||||
* | CSS3 Namespaces | John Mark Bell | 2011-03-12 | 3 | -67/+70 | |
| | | | | svn path=/trunk/libcss/; revision=11972 | |||||
* | Hide the CSS computed style itself. Only expose a few simple structures ↵ | Daniel Silverstone | 2011-03-12 | 4 | -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 anything | John Mark Bell | 2011-01-31 | 1 | -12/+25 | |
| | | | | svn path=/trunk/libcss/; revision=11572 | |||||
* | Fix specificity calculation for prefix, suffix, and substring attribute ↵ | John Mark Bell | 2011-01-31 | 1 | -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 chain | John Mark Bell | 2011-01-31 | 1 | -2/+4 | |
| | | | | svn path=/trunk/libcss/; revision=11568 | |||||
* | CSS3 Selectors | John Mark Bell | 2011-01-31 | 2 | -4/+309 | |
| | | | | svn path=/trunk/libcss/; revision=11557 | |||||
* | Add support for opacity property | John Mark Bell | 2011-01-29 | 6 | -0/+112 | |
| | | | | svn path=/trunk/libcss/; revision=11527 | |||||
* | Centralise handling of transparent colours. | John Mark Bell | 2011-01-29 | 9 | -19/+89 | |
| | | | | | | Add support for currentColor svn path=/trunk/libcss/; revision=11525 | |||||
* | Rename all css_[^_] internal symbols to css__ so that they're nicely namespaced | Daniel Silverstone | 2011-01-26 | 10 | -32/+32 | |
| | | | | svn path=/trunk/libcss/; revision=11492 | |||||
* | Fix cascade of counter-{increment,reset} on 64bit platforms | John Mark Bell | 2011-01-24 | 1 | -3/+3 | |
| | | | | svn path=/trunk/libcss/; revision=11476 | |||||
* | Ensure there are zero global symbols without css_ or css__ in front of them. ↵ | Daniel Silverstone | 2011-01-20 | 107 | -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 usage | Vincent Sanders | 2011-01-20 | 1 | -2/+2 | |
| | | | | svn path=/trunk/libcss/; revision=11412 | |||||
* | fix cursor cascade | Vincent Sanders | 2011-01-20 | 1 | -2/+2 | |
| | | | | svn path=/trunk/libcss/; revision=11410 | |||||
* | Merge parser autogeneration and string handling refactor branch ↵ | Vincent Sanders | 2011-01-19 | 104 | -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 Bell | 2011-01-05 | 1 | -3/+1 | |
| | | | | svn path=/trunk/libcss/; revision=11214 | |||||
* | Simultaneously select styles for base + pseudo elements. | John Mark Bell | 2011-01-05 | 81 | -300/+379 | |
| | | | | svn path=/trunk/libcss/; revision=11211 | |||||
* | Complete the fix for pseudo element selection: inline styles and ↵ | John Mark Bell | 2011-01-02 | 1 | -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 Drake | 2011-01-01 | 1 | -11/+24 | |
| | | | | | | the pseudo element, and not the raw node as well. svn path=/trunk/libcss/; revision=11177 | |||||
* | Split up properties selectors | Vincent Sanders | 2010-12-05 | 103 | -6646/+8253 | |
| | | | | svn path=/trunk/libcss/; revision=11011 | |||||
* | Add string vector capability to stylesheet (r=jmb) | Vincent Sanders | 2010-12-05 | 4 | -3/+3 | |
| | | | | | | Move properties ready for split svn path=/trunk/libcss/; revision=11005 | |||||
* | Fix destruction of bytecode for the clip property. | John Mark Bell | 2010-09-28 | 1 | -1/+1 | |
| | | | | svn path=/trunk/libcss/; revision=10856 | |||||
* | Remove ownerNode and ownerRule fields from stylesheet objects. | John Mark Bell | 2010-06-27 | 1 | -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 Bell | 2010-04-29 | 2 | -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 | |||||
* | Stop leaking references to interned strings obtained from presentational hints | John Mark Bell | 2010-04-28 | 1 | -62/+142 | |
| | | | | svn path=/trunk/libcss/; revision=10513 | |||||
* | Fix RISC OS build | John Mark Bell | 2010-04-05 | 1 | -1/+2 | |
| | | | | svn path=/trunk/libcss/; revision=10247 | |||||
* | Correct management of string references in computed styles. | John Mark Bell | 2010-04-04 | 3 | -30/+213 | |
| | | | | svn path=/trunk/libcss/; revision=10240 | |||||
* | Make libcss suitable for the new libwapcaplet behaviour. | Daniel Silverstone | 2010-03-28 | 4 | -1202/+996 | |
| | | | | svn path=/trunk/libcss/; revision=10168 | |||||
* | Fix libcss to use new libwapcaplet behaviour. | Daniel Silverstone | 2010-03-27 | 3 | -70/+40 | |
| | | | | | | | TODO: update the tests to include a refcounting proof svn path=/trunk/libcss/; revision=10162 | |||||
* | Origin and media are not properties of the stylesheet. | John Mark Bell | 2010-01-12 | 1 | -44/+74 | |
| | | | | | | | | | They are properties of the context in which the stylesheet is used. Therefore, for top-level sheets, this information must be provided at selection time. For child sheets, the origin is inherited from their parent and the applicable media types are specified on the linking mechanism. svn path=/trunk/libcss/; revision=9802 | |||||
* | Lose redundant assignments. | John Mark Bell | 2009-11-22 | 1 | -3/+0 | |
| | | | | | | | | Drop some dead code. Avoid a potential NULL dereference. Add missing "break" in initial substate of block context parser svn path=/trunk/libcss/; revision=9678 |