summaryrefslogtreecommitdiff
path: root/src/parse
Commit message (Collapse)AuthorAgeFilesLines
* Port libcss to libwapcaplet.Daniel Silverstone2009-02-144-323/+276
| | | | | | | | | It passes the tests, perhaps we need more of them. Lifetimes of lwc_string objects really need attention before we can consider this finished. svn path=/trunk/libcss/; revision=6517
* Make fpmath stuff public.John Mark Bell2009-02-141-44/+44
| | | | | | Un-inline string->fixed conversion routine. svn path=/trunk/libcss/; revision=6513
* Rework handling of imported stylesheets.John Mark Bell2009-02-141-37/+2
| | | | | | No longer is the client called back mid-parse. Instead, they must acquire details of and process imported stylesheets after css_stylesheet_data_done() has been called on the parent sheet. The return code of css_stylesheet_data_done() informs the client of the need to process imported sheets. svn path=/trunk/libcss/; revision=6504
* Parse media type list in @import ruleJohn Mark Bell2009-02-142-6/+66
| | | | svn path=/trunk/libcss/; revision=6490
* I guess it helps if you actually flag that you've had a valid statement, so ↵John Mark Bell2009-02-141-0/+6
| | | | | | @import/@charset cease to take effect. svn path=/trunk/libcss/; revision=6484
* Drop css_error_handler and rename css_alloc to css_allocator_fnDaniel Silverstone2009-02-144-6/+6
| | | | svn path=/trunk/libcss/; revision=6482
* Assert that we've got a style once the property handler's returned CSS_OK.John Mark Bell2009-02-141-9/+7
| | | | svn path=/trunk/libcss/; revision=6479
* Purge side bits. These cause more trouble than they're worth, and it's not ↵John Mark Bell2009-02-101-67/+55
| | | | | | as if there's a dearth of opcode space. svn path=/trunk/libcss/; revision=6410
* Distinguish between pseudo classes and pseudo elementsJohn Mark Bell2009-02-102-3/+44
| | | | svn path=/trunk/libcss/; revision=6406
* Simplify API of css_stylesheet_selector_create -- it's always used to create ↵John Mark Bell2009-01-251-4/+2
| | | | | | element selectors. Everything else is handled via detail. svn path=/trunk/libcss/; revision=6266
* 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
* Make negative speech-rate values invalidJohn Mark Bell2009-01-241-0/+4
| | | | svn path=/trunk/libcss/; revision=6245
* 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
* 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
* 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
* 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
* Fix assertion failure when EOF is encountered in block-content.John Mark Bell2009-01-241-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 positiveJohn Mark Bell2009-01-241-0/+4
| | | | svn path=/trunk/libcss/; revision=6211
* Require comma separator in font-family and voice-family.John Mark Bell2009-01-231-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 Bell2009-01-231-0/+12
| | | | | | Add some more constants. svn path=/trunk/libcss/; revision=6206
* Fix counter-reset parsingJohn Mark Bell2009-01-231-2/+6
| | | | svn path=/trunk/libcss/; revision=6199
* Fix counter-increment parsingJohn Mark Bell2009-01-231-0/+4
| | | | svn path=/trunk/libcss/; revision=6196
* There's 400 gradians in 360 degrees.John Mark Bell2009-01-231-1/+1
| | | | svn path=/trunk/libcss/; revision=6194
* Border widths must be positiveJohn Mark Bell2009-01-231-0/+4
| | | | svn path=/trunk/libcss/; revision=6190
* If the azimuth value ends up as "behind", fill in the implied "center"John Mark Bell2009-01-231-0/+3
| | | | svn path=/trunk/libcss/; revision=6186
* Introduce fixed point constants.John Mark Bell2009-01-231-0/+12
| | | | | | Range check azimuth angles. svn path=/trunk/libcss/; revision=6183
* Ensure stress value is in rangeJohn Mark Bell2009-01-221-0/+3
| | | | svn path=/trunk/libcss/; revision=6168
* Move isDigit() and isHex() to utils.h.John Mark Bell2009-01-221-2/+11
| | | | | | 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 Bell2009-01-221-0/+6
| | | | svn path=/trunk/libcss/; revision=6165
* Test data for EOF in strange places.John Mark Bell2009-01-221-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 Bell2009-01-191-2/+1
| | | | | | Fixes content: "", for example. svn path=/trunk/libcss/; revision=6147
* Fix z-indexJohn Mark Bell2009-01-181-1/+1
| | | | svn path=/trunk/libcss/; revision=6140
* Fix widowsJohn Mark Bell2009-01-181-1/+1
| | | | svn path=/trunk/libcss/; revision=6139
* Fix volumeJohn Mark Bell2009-01-181-1/+2
| | | | svn path=/trunk/libcss/; revision=6138
* Fix text-decorationJohn Mark Bell2009-01-181-0/+3
| | | | svn path=/trunk/libcss/; revision=6135
* Fix stressJohn Mark Bell2009-01-181-1/+1
| | | | svn path=/trunk/libcss/; revision=6134
* Fix speech-rateJohn Mark Bell2009-01-181-1/+1
| | | | svn path=/trunk/libcss/; revision=6133
* Fix richnessJohn Mark Bell2009-01-181-1/+1
| | | | svn path=/trunk/libcss/; revision=6132
* Fix quotesJohn Mark Bell2009-01-181-0/+10
| | | | svn path=/trunk/libcss/; revision=6131
* Fix play-duringJohn Mark Bell2009-01-181-2/+6
| | | | svn path=/trunk/libcss/; revision=6130
* Fix pitchJohn Mark Bell2009-01-181-0/+5
| | | | svn path=/trunk/libcss/; revision=6128
* Fix pitch-rangeJohn Mark Bell2009-01-181-1/+1
| | | | svn path=/trunk/libcss/; revision=6127