Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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 | 11 | -2/+199 |
| | | | | svn path=/trunk/libcss/; revision=9378 | ||||
* | Remove pointless todos | John Mark Bell | 2009-08-03 | 1 | -2/+0 |
| | | | | svn path=/trunk/libcss/; revision=9028 | ||||
* | s/opcode/opcode_t/ | John Mark Bell | 2009-08-03 | 3 | -5/+5 |
| | | | | svn path=/trunk/libcss/; revision=9020 | ||||
* | Avoid type collisions when used from C++ | John Mark Bell | 2009-08-02 | 1 | -1/+1 |
| | | | | svn path=/trunk/libcss/; revision=8996 | ||||
* | More apparent warnings squashed | John Mark Bell | 2009-08-02 | 1 | -3/+6 |
| | | | | svn path=/trunk/libcss/; revision=8993 | ||||
* | Avoid potential warning. | John Mark Bell | 2009-08-02 | 1 | -1/+8 |
| | | | | svn path=/trunk/libcss/; revision=8991 | ||||
* | Use unsigned int for bitfields. Apparently, using uint32_t confuses some ↵ | John Mark Bell | 2009-08-02 | 5 | -17/+17 |
| | | | | | | compilers. svn path=/trunk/libcss/; revision=8990 | ||||
* | More rigorous handling of EOF. | John Mark Bell | 2009-07-31 | 1 | -7/+75 |
| | | | | | | Expand test data for this. svn path=/trunk/libcss/; revision=8931 | ||||
* | 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 | 4 | -0/+170 |
| | | | | svn path=/trunk/libcss/; revision=8830 | ||||
* | If, after parsing the media list, we've ended up with no media whatsoever, ↵ | John Mark Bell | 2009-07-27 | 1 | -1/+6 |
| | | | | | | then the list must have been blank, which implies CSS_MEDIA_ALL. svn path=/trunk/libcss/; revision=8822 | ||||
* | Don't intern lower-case versions of strings. Use ↵ | John Mark Bell | 2009-07-27 | 21 | -592/+1916 |
| | | | | | | lwc_context_string_caseless_isequal, instead. svn path=/trunk/libcss/; revision=8815 | ||||
* | Purge use of alloca() | John Mark Bell | 2009-07-22 | 1 | -2/+10 |
| | | | | svn path=/trunk/libcss/; revision=8715 | ||||
* | Clarify operation | John Mark Bell | 2009-07-22 | 1 | -2/+3 |
| | | | | svn path=/trunk/libcss/; revision=8706 | ||||
* | Fix rgb() colour parser not to swap g and b. | Michael Drake | 2009-07-22 | 1 | -34/+34 |
| | | | | svn path=/trunk/libcss/; revision=8696 | ||||
* | 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 | 3 | -5/+37 |
| | | | | | | meant to work. svn path=/trunk/libcss/; revision=8607 | ||||
* | Colour names are case insensitive | John Mark Bell | 2009-07-17 | 1 | -1/+1 |
| | | | | svn path=/trunk/libcss/; revision=8605 | ||||
* | 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 | 3 | -19/+18 |
| | | | | | | | | another selection handler callback for this. Change selector hash to use an ASCII case-insensitive hash function. svn path=/trunk/libcss/; revision=8602 | ||||
* | Store em and percentage values for properties in the computed style. | John Mark Bell | 2009-07-17 | 3 | -536/+1983 |
| | | | | | | | | Fully compute them on access. Introduce a swathe of internal accessors that don't perform the complete computation. Port property composition to these new APIs. Reduce absolute value computation to making font sizes absolute and converting any EX units to EM. svn path=/trunk/libcss/; revision=8601 | ||||
* | It is necessary to consider the element name when matching selectors. | John Mark Bell | 2009-07-17 | 1 | -6/+27 |
| | | | | | | | Firstly, the chains being processed are from a hashtable, so aren't guaranteed to apply to the element being selected. Secondly, when processing combinators, we have a completely different node object to compare. svn path=/trunk/libcss/; revision=8593 | ||||
* | Ensure that we merge-sort the element and universal selector chains during ↵ | John Mark Bell | 2009-07-17 | 1 | -44/+51 |
| | | | | | | selection. svn path=/trunk/libcss/; revision=8592 | ||||
* | Fix matching of named ancestor combinators. | John Mark Bell | 2009-07-17 | 1 | -34/+166 |
| | | | | | | Add some helpful debug -- disabled by default. svn path=/trunk/libcss/; revision=8591 | ||||
* | Add a flag to the font size computation callback to indicate that the ↵ | John Mark Bell | 2009-07-16 | 2 | -5/+6 |
| | | | | | | resultant absolute font size should not be clamped to a fixed minimum (e.g. if the client has a minimum permissible font size) svn path=/trunk/libcss/; revision=8586 | ||||
* | Hacky avoidance of element name case insensitivity. The correct solution is ↵ | John Mark Bell | 2009-07-16 | 1 | -1/+4 |
| | | | | | | for the client to tell us the sensitivity when creating the stylesheet. svn path=/trunk/libcss/; revision=8573 | ||||
* | Use a proper hash function. | John Mark Bell | 2009-07-16 | 1 | -1/+1 |
| | | | | svn path=/trunk/libcss/; revision=8572 | ||||
* | Provide accessor for computed value of display assuming static position. | John Mark Bell | 2009-07-15 | 2 | -58/+2 |
| | | | | | | Modify css_computed_display to follow $9.7. svn path=/trunk/libcss/; revision=8568 | ||||
* | Fix selection from selectors within @media blocks. | John Mark Bell | 2009-07-15 | 1 | -8/+14 |
| | | | | svn path=/trunk/libcss/; revision=8549 | ||||
* | Provide some API to allow retrieval of an Initial style | John Mark Bell | 2009-07-12 | 1 | -0/+40 |
| | | | | svn path=/trunk/libcss/; revision=8468 | ||||
* | It helps if you add files | John Mark Bell | 2009-07-09 | 1 | -0/+20 |
| | | | | svn path=/trunk/libcss/; revision=8411 | ||||
* | Fix processing of rules after @import -- previously, they were completely ↵ | John Mark Bell | 2009-07-08 | 2 | -1/+3 |
| | | | | | | ignored. svn path=/trunk/libcss/; revision=8386 | ||||
* | Make list-style shorthand parser attempt to parse a list-style-type value ↵ | John Mark Bell | 2009-07-07 | 1 | -5/+5 |
| | | | | | | before anything else. This way, list-style: none will do the right thing as list-style-image defaults to none, anyway. svn path=/trunk/libcss/; revision=8385 | ||||
* | Simplify charToHex() | John Mark Bell | 2009-07-07 | 1 | -36/+9 |
| | | | | svn path=/trunk/libcss/; revision=8384 | ||||
* | Compute absolute values for all length properties. | John Mark Bell | 2009-07-04 | 2 | -6/+1018 |
| | | | | | | | Make initial border-*-color match the computed color. Compute correct value of display/float wrt position. svn path=/trunk/libcss/; revision=8317 | ||||
* | Add callback to make client compute the font size. | John Mark Bell | 2009-07-04 | 2 | -11/+48 |
| | | | | | | Some progress towards computing absolute values. svn path=/trunk/libcss/; revision=8311 | ||||
* | Ensure that any properties explicitly set to inherit on the root element are ↵ | John Mark Bell | 2009-07-04 | 3 | -114/+189 |
| | | | | | | set to their initial values. svn path=/trunk/libcss/; revision=8309 | ||||
* | Move quotes property into common style block. | John Mark Bell | 2009-07-04 | 4 | -33/+27 |
| | | | | svn path=/trunk/libcss/; revision=8307 | ||||
* | Query client for initial values of color, font-family, quotes, and ↵ | John Mark Bell | 2009-07-04 | 5 | -306/+348 |
| | | | | | | voice-family properties. svn path=/trunk/libcss/; revision=8306 | ||||
* | Factor out setting of property values from hints or initial values. | John Mark Bell | 2009-07-04 | 1 | -65/+73 |
| | | | | | | Invert logic, so that "continue" does not occur. svn path=/trunk/libcss/; revision=8295 | ||||
* | Merge iterations across computed style | John Mark Bell | 2009-07-04 | 1 | -60/+59 |
| | | | | svn path=/trunk/libcss/; revision=8294 | ||||
* | Similar fix for empty rules in normal stylesheets. | John Mark Bell | 2009-07-01 | 1 | -0/+5 |
| | | | | svn path=/trunk/libcss/; revision=8244 |