summaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* 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 handling of max -ve numbersAdrian Lees2009-01-241-9/+26
| | | | svn path=/trunk/libcss/; revision=6214
* 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-232-2/+22
| | | | | | 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-232-2/+2
| | | | 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-233-0/+34
| | | | | | 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-223-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 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
* Purge stylesheet dumping code from the library.John Mark Bell2009-01-195-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
* 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-182-2/+7
| | | | 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
* Fix font-weight, line-height, and orphans.John Mark Bell2009-01-181-3/+4
| | | | svn path=/trunk/libcss/; revision=6123
* Fix azimuthJohn Mark Bell2009-01-162-8/+11
| | | | svn path=/trunk/libcss/; revision=6107
* Fix cursor: parsingJohn Mark Bell2009-01-161-11/+23
| | | | svn path=/trunk/libcss/; revision=6104
* Fix counter-increment and counter-resetJohn Mark Bell2009-01-161-22/+22
| | | | svn path=/trunk/libcss/; revision=6098
* Fix content: parsingJohn Mark Bell2009-01-161-29/+73
| | | | svn path=/trunk/libcss/; revision=6097
* Fix parse_clip to actually stand a chance of working.John Mark Bell2009-01-161-10/+16
| | | | svn path=/trunk/libcss/; revision=6091
* Fix parsing of dimensions without a unit specifier.John Mark Bell2009-01-161-36/+67
| | | | svn path=/trunk/libcss/; revision=6088
* Fix handling of single keywords in background-position -- the "first item is ↵John Mark Bell2009-01-161-1/+3
| | | | | | horizontal" rule only applies if a length/percentage has been specified. svn path=/trunk/libcss/; revision=6084
* Fix opcode for background-positionJohn Mark Bell2009-01-161-1/+4
| | | | svn path=/trunk/libcss/; revision=6078
* Don't build the serialisation code in release modeJohn Mark Bell2009-01-144-0/+8
| | | | svn path=/trunk/libcss/; revision=6064
* Make @import actually create a rule and attempt some kind of fetch logic.John Mark Bell2009-01-143-1/+90
| | | | | | | There's still a bunch of outstanding functionality here (like URL resolution and media list parsing). Also, there's currently no way of telling the client to stop fetching data for a stylesheet (and, more importantly, not to attempt to access the stylesheet again as it's about to be destroyed) svn path=/trunk/libcss/; revision=6062
* Create charset rule objects.John Mark Bell2009-01-143-3/+58
| | | | svn path=/trunk/libcss/; revision=6059
* Complete bytecode dumping code.John Mark Bell2009-01-122-23/+1624
| | | | | | Change a few opcode values to be more consistent (namely, bit 7 set generally implies that there's data to follow). svn path=/trunk/libcss/; revision=6048
* Slightly more obvious logic. This code still sucks.John Mark Bell2009-01-121-15/+15
| | | | svn path=/trunk/libcss/; revision=6047
* Lose a todo. I don't think we want to have the lexer split up dimensions ↵John Mark Bell2009-01-121-1/+0
| | | | | | into value + unit pairs. svn path=/trunk/libcss/; revision=6046
* When parsing colours, it helps to remember that percentages aren't ↵John Mark Bell2009-01-121-17/+13
| | | | | | necessarily integers. svn path=/trunk/libcss/; revision=6045
* Parse units. This is the only place where we actually have to perform string ↵John Mark Bell2009-01-121-8/+86
| | | | | | comparisons rather than simply comparing pointers. Calling strncasecmp for such short strings may incur an excessive overhead. If so, we can perform the comparison ourselves, thus avoiding the function call. Making the lexer separate the units from the value probably isn't helpful, particularly thanks to the need to handle "color: 0f0000;" in quirks mode (this will be lexed as a dimension). svn path=/trunk/libcss/; revision=6044
* Make rgb() parsing work.John Mark Bell2009-01-121-1/+32
| | | | svn path=/trunk/libcss/; revision=6042
* Make integer parsing more robustJohn Mark Bell2009-01-122-45/+30
| | | | svn path=/trunk/libcss/; revision=6041