Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | More API changes. | John Mark Bell | 2009-02-07 | 4 | -3/+150 |
| | | | | | | | Make css_computed_style_create() private. Implement css_computed_style_[create,destroy](). svn path=/trunk/libcss/; revision=6389 | ||||
* | Mutators for computed style | John Mark Bell | 2009-02-07 | 2 | -1/+1628 |
| | | | | svn path=/trunk/libcss/; revision=6388 | ||||
* | Fill in members of css_computed_{style,uncommon} | John Mark Bell | 2009-02-05 | 1 | -0/+1 |
| | | | | | | Add a couple of types to types.h -- the fixed point stuff needs thinking about. svn path=/trunk/libcss/; revision=6365 | ||||
* | Fiddle around with css_select_style()'s API. Add some documentation. | John Mark Bell | 2009-01-27 | 1 | -2/+23 |
| | | | | svn path=/trunk/libcss/; revision=6285 | ||||
* | Introduce ability to create/destroy selection contexts. | John Mark Bell | 2009-01-26 | 2 | -1/+221 |
| | | | | svn path=/trunk/libcss/; revision=6284 | ||||
* | Use a chaining hash for selectors -- permits easy sorting of hash entries by ↵ | John Mark Bell | 2009-01-26 | 2 | -125/+111 |
| | | | | | | specificity/rule index. svn path=/trunk/libcss/; revision=6280 | ||||
* | Propagate specificity of simple selectors to the head of each combinator chain. | John Mark Bell | 2009-01-26 | 1 | -0/+3 |
| | | | | | | This saves us having to calculate the specificity every time we want it. svn path=/trunk/libcss/; revision=6278 | ||||
* | Assert preconditions, rather than returning runtime errors. | John Mark Bell | 2009-01-25 | 1 | -19/+22 |
| | | | | | | Squash leakage of selectors array in selector/page rules. svn path=/trunk/libcss/; revision=6274 | ||||
* | Implement css_stylesheet_{add,remove}_rule, thus (de)populating the selector ↵ | John Mark Bell | 2009-01-25 | 1 | -7/+191 |
| | | | | | | hash. svn path=/trunk/libcss/; revision=6273 | ||||
* | Add ability to delete items from the selector hash (we use lazy deletion, as ↵ | John Mark Bell | 2009-01-25 | 2 | -3/+50 |
| | | | | | | it's simpler) svn path=/trunk/libcss/; revision=6272 | ||||
* | Clean up rules when destroying sheet | John Mark Bell | 2009-01-25 | 1 | -1/+12 |
| | | | | svn path=/trunk/libcss/; revision=6271 | ||||
* | Remove redundant fields | John Mark Bell | 2009-01-25 | 1 | -6/+0 |
| | | | | svn path=/trunk/libcss/; revision=6270 | ||||
* | Destroy rules | John Mark Bell | 2009-01-25 | 1 | -4/+81 |
| | | | | svn path=/trunk/libcss/; revision=6269 | ||||
* | Destroy selectors | John Mark Bell | 2009-01-25 | 1 | -5/+17 |
| | | | | svn path=/trunk/libcss/; revision=6268 | ||||
* | Beginnings of specificity. | John Mark Bell | 2009-01-25 | 2 | -2/+32 |
| | | | | | | | | Note that we store the specificity on each simple selector. Thus the total specificity for a combinator chain is obtained by summing the specificity of each chain member. TODO: distinguish between pseudo classes and elements. svn path=/trunk/libcss/; revision=6267 | ||||
* | Simplify API of css_stylesheet_selector_create -- it's always used to create ↵ | John Mark Bell | 2009-01-25 | 3 | -13/+7 |
| | | | | | | element selectors. Everything else is handled via detail. svn path=/trunk/libcss/; revision=6266 | ||||
* | Destroy style objects | John Mark Bell | 2009-01-25 | 1 | -3/+3 |
| | | | | svn path=/trunk/libcss/; revision=6265 | ||||
* | Destroy parser on completion of parse, rather than keeping it around until ↵ | John Mark Bell | 2009-01-25 | 1 | -11/+26 |
| | | | | | | we destroy the sheet. svn path=/trunk/libcss/; revision=6264 | ||||
* | Selector hash. | John Mark Bell | 2009-01-25 | 5 | -4/+388 |
| | | | | svn path=/trunk/libcss/; revision=6263 | ||||
* | Width values must be positive | John Mark Bell | 2009-01-25 | 1 | -0/+4 |
| | | | | svn path=/trunk/libcss/; revision=6259 | ||||
* | Range check volume values | John Mark Bell | 2009-01-25 | 1 | -0/+8 |
| | | | | svn path=/trunk/libcss/; revision=6258 | ||||
* | Make negative speech-rate values invalid | John Mark Bell | 2009-01-24 | 1 | -0/+4 |
| | | | | svn path=/trunk/libcss/; revision=6245 | ||||
* | Range check richness values | John Mark Bell | 2009-01-24 | 1 | -0/+4 |
| | | | | svn path=/trunk/libcss/; revision=6243 | ||||
* | Ensure pitch values are positive | John Mark Bell | 2009-01-24 | 1 | -0/+4 |
| | | | | svn path=/trunk/libcss/; revision=6242 | ||||
* | Range check pitch-range | John Mark Bell | 2009-01-24 | 1 | -0/+4 |
| | | | | svn path=/trunk/libcss/; revision=6240 | ||||
* | Make pause-after and pause-before treat negative values as illegal | John Mark Bell | 2009-01-24 | 1 | -0/+8 |
| | | | | svn path=/trunk/libcss/; revision=6239 | ||||
* | Ensure padding values are positive | John Mark Bell | 2009-01-24 | 1 | -0/+4 |
| | | | | svn path=/trunk/libcss/; revision=6233 | ||||
* | hidden is an invalid outline style. | John Mark Bell | 2009-01-24 | 1 | -0/+4 |
| | | | | svn path=/trunk/libcss/; revision=6232 | ||||
* | Have orphans and widows treat negative values as illegal. The spec doesn't ↵ | John Mark Bell | 2009-01-24 | 1 | -0/+8 |
| | | | | | | explicitly outlaw this, but it's clearly nonsensical. svn path=/trunk/libcss/; revision=6230 | ||||
* | Ensure max-width and min-width values are positive | John Mark Bell | 2009-01-24 | 1 | -0/+8 |
| | | | | svn path=/trunk/libcss/; revision=6229 | ||||
* | Ensure max-height and min-height values are positive | John Mark Bell | 2009-01-24 | 1 | -0/+8 |
| | | | | svn path=/trunk/libcss/; revision=6228 | ||||
* | Ensure line-height values are positive | John Mark Bell | 2009-01-24 | 1 | -0/+8 |
| | | | | svn path=/trunk/libcss/; revision=6227 | ||||
* | Ensure height values are positive | John Mark Bell | 2009-01-24 | 1 | -0/+4 |
| | | | | svn path=/trunk/libcss/; revision=6226 | ||||
* | Fix handling of max -ve numbers | Adrian Lees | 2009-01-24 | 1 | -9/+26 |
| | | | | svn path=/trunk/libcss/; revision=6214 | ||||
* | Fix assertion failure when EOF is encountered in block-content. | John Mark Bell | 2009-01-24 | 1 | -6/+23 |
| | | | | | | Fix assertion failure when the first token within a ruleset isn't an IDENT. svn path=/trunk/libcss/; revision=6213 | ||||
* | Font size values must be positive | John Mark Bell | 2009-01-24 | 1 | -0/+4 |
| | | | | svn path=/trunk/libcss/; revision=6211 | ||||
* | Require comma separator in font-family and voice-family. | John Mark Bell | 2009-01-23 | 1 | -2/+29 |
| | | | | | | There's a potential quirk required here to match Mozilla, at the very least. svn path=/trunk/libcss/; revision=6209 | ||||
* | Range check elevation angle. | John Mark Bell | 2009-01-23 | 2 | -2/+22 |
| | | | | | | Add some more constants. svn path=/trunk/libcss/; revision=6206 | ||||
* | Fix counter-reset parsing | John Mark Bell | 2009-01-23 | 1 | -2/+6 |
| | | | | svn path=/trunk/libcss/; revision=6199 | ||||
* | Fix counter-increment parsing | John Mark Bell | 2009-01-23 | 1 | -0/+4 |
| | | | | svn path=/trunk/libcss/; revision=6196 | ||||
* | There's 400 gradians in 360 degrees. | John Mark Bell | 2009-01-23 | 2 | -2/+2 |
| | | | | svn path=/trunk/libcss/; revision=6194 | ||||
* | Border widths must be positive | John Mark Bell | 2009-01-23 | 1 | -0/+4 |
| | | | | svn path=/trunk/libcss/; revision=6190 | ||||
* | If the azimuth value ends up as "behind", fill in the implied "center" | John Mark Bell | 2009-01-23 | 1 | -0/+3 |
| | | | | svn path=/trunk/libcss/; revision=6186 | ||||
* | Introduce fixed point constants. | John Mark Bell | 2009-01-23 | 3 | -0/+34 |
| | | | | | | Range check azimuth angles. svn path=/trunk/libcss/; revision=6183 | ||||
* | Ensure stress value is in range | John Mark Bell | 2009-01-22 | 1 | -0/+3 |
| | | | | svn path=/trunk/libcss/; revision=6168 | ||||
* | Move isDigit() and isHex() to utils.h. | John Mark Bell | 2009-01-22 | 3 | -14/+21 |
| | | | | | | Fix #rgb/#rrggbb parsing to ensure that the characters are valid hex digits. svn path=/trunk/libcss/; revision=6167 | ||||
* | Fix handling of EOF in property values | John Mark Bell | 2009-01-22 | 1 | -0/+6 |
| | | | | svn path=/trunk/libcss/; revision=6165 | ||||
* | Test data for EOF in strange places. | John Mark Bell | 2009-01-22 | 1 | -2/+14 |
| | | | | | | Fix EOF handling in the core parser. svn path=/trunk/libcss/; revision=6164 | ||||
* | Intern zero-length data, too. Otherwise, we'll explode later on. | John Mark Bell | 2009-01-19 | 1 | -2/+1 |
| | | | | | | Fixes content: "", for example. svn path=/trunk/libcss/; revision=6147 | ||||
* | Purge stylesheet dumping code from the library. | John Mark Bell | 2009-01-19 | 5 | -2073/+1 |
| | | | | | | | Create a common header for the test harnesses to use, instead. Fix z-index dumping while we're at it. svn path=/trunk/libcss/; revision=6146 |