Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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 | ||||
* | Somewhat nasty text-align magic for the benefit of HTML tables. | John Mark Bell | 2009-08-23 | 1 | -0/+11 |
| | | | | svn path=/trunk/libcss/; revision=9405 | ||||
* | It turns out that using magic values for text-align is simpler than having ↵ | John Mark Bell | 2009-08-22 | 5 | -129/+31 |
| | | | | | | an entirely new property for html alignment. svn path=/trunk/libcss/; revision=9387 | ||||
* | Wrong -- it inherits | John Mark Bell | 2009-08-21 | 1 | -1/+1 |
| | | | | svn path=/trunk/libcss/; revision=9380 | ||||
* | -libcss-align is not inherited | John Mark Bell | 2009-08-21 | 1 | -1/+1 |
| | | | | svn path=/trunk/libcss/; revision=9379 | ||||
* | -libcss-align | John Mark Bell | 2009-08-21 | 5 | -0/+107 |
| | | | | svn path=/trunk/libcss/; revision=9378 | ||||
* | s/opcode/opcode_t/ | John Mark Bell | 2009-08-03 | 1 | -1/+1 |
| | | | | svn path=/trunk/libcss/; revision=9020 | ||||
* | Use unsigned int for bitfields. Apparently, using uint32_t confuses some ↵ | John Mark Bell | 2009-08-02 | 2 | -6/+6 |
| | | | | | | compilers. svn path=/trunk/libcss/; revision=8990 | ||||
* | Fix processing of quotes bytecode during cascade. | John Mark Bell | 2009-07-30 | 1 | -7/+9 |
| | | | | svn path=/trunk/libcss/; revision=8912 | ||||
* | Plug potential memory leaks in property setting | John Mark Bell | 2009-07-30 | 1 | -0/+27 |
| | | | | svn path=/trunk/libcss/; revision=8911 | ||||
* | Change selector hash to segregate: | John Mark Bell | 2009-07-29 | 3 | -171/+783 |
| | | | | | | | | | | | | | 1) element selectors 2) universal selectors with class names 3) universal selectors with ids 4) universal selectors Only bother looking for matching selectors in 2 & 3 if the node being selected for has class names or an id, respectively. In theory, this should speed up style selection somewhat. svn path=/trunk/libcss/; revision=8882 | ||||
* | Calculate the in-memory size of stylesheets and provide some API to access this. | John Mark Bell | 2009-07-27 | 2 | -0/+31 |
| | | | | svn path=/trunk/libcss/; revision=8830 | ||||
* | Clarify operation | John Mark Bell | 2009-07-22 | 1 | -2/+3 |
| | | | | svn path=/trunk/libcss/; revision=8706 | ||||
* | Match details before considering combinators. | John Mark Bell | 2009-07-22 | 1 | -14/+13 |
| | | | | svn path=/trunk/libcss/; revision=8667 | ||||
* | Remove pointless parameter | John Mark Bell | 2009-07-21 | 2 | -6/+5 |
| | | | | svn path=/trunk/libcss/; revision=8653 | ||||
* | Always set values in result style when composing | John Mark Bell | 2009-07-21 | 1 | -335/+392 |
| | | | | svn path=/trunk/libcss/; revision=8651 | ||||
* | Avoid division by zero | John Mark Bell | 2009-07-20 | 1 | -2/+5 |
| | | | | svn path=/trunk/libcss/; revision=8624 | ||||
* | Error checking for string comparisons. | John Mark Bell | 2009-07-17 | 1 | -3/+13 |
| | | | | svn path=/trunk/libcss/; revision=8608 | ||||
* | Fix selector hash some more. It turns out that I'd forgotten how it was ↵ | John Mark Bell | 2009-07-17 | 2 | -4/+35 |
| | | | | | | meant to work. svn path=/trunk/libcss/; revision=8607 | ||||
* | Fix utterly broken selector chain search code. | John Mark Bell | 2009-07-17 | 1 | -12/+0 |
| | | | | svn path=/trunk/libcss/; revision=8604 | ||||
* | Change mechanism for handling case sensitivity of element names. Now has ↵ | John Mark Bell | 2009-07-17 | 2 | -15/+17 |
| | | | | | | | | another selection handler callback for this. Change selector hash to use an ASCII case-insensitive hash function. svn path=/trunk/libcss/; revision=8602 |