summaryrefslogtreecommitdiff
path: root/src/parse/css21props.c
Commit message (Collapse)AuthorAgeFilesLines
* Port css21 frontend to new object APIJohn Mark Bell2008-11-091-78/+78
| | | | svn path=/trunk/libcss/; revision=5676
* Function to extract an integer from a css_string.John Mark Bell2008-10-261-1/+1
| | | | | | | | | | Use this in font-weight parsing. TODO: NUMBER tokens may contain [-+]? ([0-9]+ | [0-9]* '.' [0-9]+). The lexer currently doesn't cater for the [-+]? part. This is a bug (inherited from the grammar in the spec), and must be fixed. TODO: integer_from_css_string probably wants to pass out the number of characters processed so that the client can determine if the input was valid for their context. svn path=/trunk/libcss/; revision=5645
* font-variant, font-weightJohn Mark Bell2008-10-261-8/+86
| | | | svn path=/trunk/libcss/; revision=5644
* font-styleJohn Mark Bell2008-10-261-4/+35
| | | | svn path=/trunk/libcss/; revision=5643
* font-sizeJohn Mark Bell2008-10-261-4/+91
| | | | svn path=/trunk/libcss/; revision=5642
* floatJohn Mark Bell2008-10-261-4/+35
| | | | svn path=/trunk/libcss/; revision=5641
* empty-cellsJohn Mark Bell2008-10-261-4/+33
| | | | svn path=/trunk/libcss/; revision=5640
* elevationJohn Mark Bell2008-10-261-4/+72
| | | | svn path=/trunk/libcss/; revision=5639
* directionJohn Mark Bell2008-10-261-8/+98
| | | | | | display svn path=/trunk/libcss/; revision=5638
* cue-{after,before}John Mark Bell2008-10-261-8/+99
| | | | svn path=/trunk/libcss/; revision=5637
* colorJohn Mark Bell2008-10-261-4/+47
| | | | svn path=/trunk/libcss/; revision=5636
* caption-sideJohn Mark Bell2008-10-261-4/+33
| | | | svn path=/trunk/libcss/; revision=5635
* border-collapseJohn Mark Bell2008-10-261-26/+268
| | | | | | | | {top,right,bottom,left} s/parse_length_specifier/parse_unit_specifier/g Fix error propagation in some cases. svn path=/trunk/libcss/; revision=5634
* border-{top,right,bottom,left}-{style,width}John Mark Bell2008-10-261-48/+171
| | | | svn path=/trunk/libcss/; revision=5633
* Some kind of border-{top,right,bottom,left}-color parsing.John Mark Bell2008-10-251-24/+67
| | | | svn path=/trunk/libcss/; revision=5630
* A bunch of property parsers.John Mark Bell2008-10-251-48/+232
| | | | | | | | | | Split out !important parsing into a separate function. Support for dumping bytecode to a file handle in some kind of human-readable format. Strings can be represented in the bytecode as a pointer, length pair rather than embedding the string data into the bytecode -- all strings are interned by the core syntax parser. Add todo relating to early destruction of parser object (it shouldn't be needed once parsing is complete). Note documented issue surrounding interned string dictionary, however. In general, it seems wasteful to create a new dictionary containing string representations of keywords for every single parser instance. It would be better to have one central (statically allocated?) dictionary for this and then each parser instance can have a smaller dictionary containing any unknown strings contained within the stylesheet being parsed (e.g. string constants or URLs). svn path=/trunk/libcss/; revision=5627
* Something approximating a parser for clear.John Mark Bell2008-10-231-4/+58
| | | | | | Provide API to create/destroy css_styles and append them to css_rules. svn path=/trunk/libcss/; revision=5625
* Actually include the opcodes header.John Mark Bell2008-10-221-0/+1
| | | | | | Fix typos. svn path=/trunk/libcss/; revision=5624
* Bytecode stuffJohn Mark Bell2008-10-221-0/+2
| | | | svn path=/trunk/libcss/; revision=5621
* Parse common part of declarations.John Mark Bell2008-10-221-0/+1610
Stub out handlers for properties. svn path=/trunk/libcss/; revision=5620