summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* More font and voice family tests.Michael Drake2009-01-261-0/+39
| | | | svn path=/trunk/libcss/; revision=6279
* Propagate specificity of simple selectors to the head of each combinator chain.John Mark Bell2009-01-261-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 Bell2009-01-251-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 Bell2009-01-251-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 Bell2009-01-252-3/+50
| | | | | | it's simpler) svn path=/trunk/libcss/; revision=6272
* Clean up rules when destroying sheetJohn Mark Bell2009-01-251-1/+12
| | | | svn path=/trunk/libcss/; revision=6271
* Remove redundant fieldsJohn Mark Bell2009-01-251-6/+0
| | | | svn path=/trunk/libcss/; revision=6270
* Destroy rulesJohn Mark Bell2009-01-251-4/+81
| | | | svn path=/trunk/libcss/; revision=6269
* Destroy selectorsJohn Mark Bell2009-01-251-5/+17
| | | | svn path=/trunk/libcss/; revision=6268
* Beginnings of specificity. John Mark Bell2009-01-252-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 Bell2009-01-253-13/+7
| | | | | | element selectors. Everything else is handled via detail. svn path=/trunk/libcss/; revision=6266
* Destroy style objectsJohn Mark Bell2009-01-251-3/+3
| | | | svn path=/trunk/libcss/; revision=6265
* Destroy parser on completion of parse, rather than keeping it around until ↵John Mark Bell2009-01-251-11/+26
| | | | | | we destroy the sheet. svn path=/trunk/libcss/; revision=6264
* Selector hash.John Mark Bell2009-01-255-4/+388
| | | | svn path=/trunk/libcss/; revision=6263
* 0.1em is a perfectly legitimate word-spacingJohn Mark Bell2009-01-251-0/+1
| | | | svn path=/trunk/libcss/; revision=6260
* Width values must be positiveJohn Mark Bell2009-01-251-0/+4
| | | | svn path=/trunk/libcss/; revision=6259
* Range check volume valuesJohn Mark Bell2009-01-251-0/+8
| | | | svn path=/trunk/libcss/; revision=6258
* Fix test data for voice-family. This probably also wants to test with ↵John Mark Bell2009-01-241-3/+3
| | | | | | appropriate idents for voices, rather than just being a copy of the font-family tests. svn path=/trunk/libcss/; revision=6257
* CSS is case insensitive. Thus, HiDDen == hidden, and is a valid identifier.John Mark Bell2009-01-241-0/+1
| | | | svn path=/trunk/libcss/; revision=6256
* vertical-align: top is valid inputJohn Mark Bell2009-01-241-0/+1
| | | | svn path=/trunk/libcss/; revision=6255
* Test cases for margin shorthand property.Michael Drake2009-01-241-0/+61
| | | | svn path=/trunk/libcss/; revision=6253
* More CSS tests. All props tested.Michael Drake2009-01-241-0/+510
| | | | svn path=/trunk/libcss/; revision=6249
* More CSS tests.Michael Drake2009-01-241-0/+190
| | | | svn path=/trunk/libcss/; revision=6248
* More tests.Michael Drake2009-01-241-11/+46
| | | | svn path=/trunk/libcss/; revision=6247
* More tests.Michael Drake2009-01-241-0/+288
| | | | svn path=/trunk/libcss/; revision=6246
* Make negative speech-rate values invalidJohn Mark Bell2009-01-241-0/+4
| | | | svn path=/trunk/libcss/; revision=6245
* More tests.Michael Drake2009-01-241-0/+189
| | | | svn path=/trunk/libcss/; revision=6244
* Range check richness valuesJohn Mark Bell2009-01-241-0/+4
| | | | svn path=/trunk/libcss/; revision=6243
* Ensure pitch values are positiveJohn Mark Bell2009-01-241-0/+4
| | | | svn path=/trunk/libcss/; revision=6242
* +50 is a valid numberJohn Mark Bell2009-01-241-0/+1
| | | | svn path=/trunk/libcss/; revision=6241
* Range check pitch-rangeJohn Mark Bell2009-01-241-0/+4
| | | | svn path=/trunk/libcss/; revision=6240
* Make pause-after and pause-before treat negative values as illegalJohn Mark Bell2009-01-241-0/+8
| | | | svn path=/trunk/libcss/; revision=6239
* More tests.Michael Drake2009-01-241-8/+169
| | | | svn path=/trunk/libcss/; revision=6238
* More tests.Michael Drake2009-01-241-0/+434
| | | | svn path=/trunk/libcss/; revision=6237
* Use utility routines to consider inherit/importance, rather than poking flag ↵John Mark Bell2009-01-241-5/+2
| | | | | | bits ourselves svn path=/trunk/libcss/; revision=6236
* outline-style: hidden is invalid, so remove it from the bytecode testsJohn Mark Bell2009-01-241-8/+0
| | | | svn path=/trunk/libcss/; revision=6235
* Assume that the non-united zero length rule applies to all values that parse ↵John Mark Bell2009-01-241-0/+2
| | | | | | to be zero, and not just verbatim '0'. svn path=/trunk/libcss/; revision=6234
* Ensure padding values are positiveJohn Mark Bell2009-01-241-0/+4
| | | | svn path=/trunk/libcss/; revision=6233
* hidden is an invalid outline style.John Mark Bell2009-01-241-0/+4
| | | | svn path=/trunk/libcss/; revision=6232
* Fix max-height testJohn Mark Bell2009-01-241-43/+44
| | | | | | | Comment out outline-color tests that rely on named colours working Add semicolon svn path=/trunk/libcss/; revision=6231
* Have orphans and widows treat negative values as illegal. The spec doesn't ↵John Mark Bell2009-01-241-0/+8
| | | | | | explicitly outlaw this, but it's clearly nonsensical. svn path=/trunk/libcss/; revision=6230
* Ensure max-width and min-width values are positiveJohn Mark Bell2009-01-241-0/+8
| | | | svn path=/trunk/libcss/; revision=6229
* Ensure max-height and min-height values are positiveJohn Mark Bell2009-01-241-0/+8
| | | | svn path=/trunk/libcss/; revision=6228
* Ensure line-height values are positiveJohn Mark Bell2009-01-241-0/+8
| | | | svn path=/trunk/libcss/; revision=6227
* Ensure height values are positiveJohn Mark Bell2009-01-241-0/+4
| | | | svn path=/trunk/libcss/; revision=6226
* More tests.Michael Drake2009-01-241-0/+203
| | | | svn path=/trunk/libcss/; revision=6225
* Fix RO makefileJohn Mark Bell2009-01-241-5/+10
| | | | svn path=/trunk/libcss/; revision=6224
* More tests.Michael Drake2009-01-241-2/+474
| | | | svn path=/trunk/libcss/; revision=6223
* More tests.Michael Drake2009-01-241-8/+358
| | | | svn path=/trunk/libcss/; revision=6221
* Fixup ABS(), as per number.cJohn Mark Bell2009-01-241-1/+1
| | | | svn path=/trunk/libcss/; revision=6215