summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Hacky avoidance of element name case insensitivity. The correct solution is ↵John Mark Bell2009-07-161-1/+4
| | | | | | for the client to tell us the sensitivity when creating the stylesheet. svn path=/trunk/libcss/; revision=8573
* Use a proper hash function.John Mark Bell2009-07-161-1/+1
| | | | svn path=/trunk/libcss/; revision=8572
* Provide accessor for computed value of display assuming static position.John Mark Bell2009-07-155-60/+45
| | | | | | Modify css_computed_display to follow $9.7. svn path=/trunk/libcss/; revision=8568
* Fix selection from selectors within @media blocks.John Mark Bell2009-07-151-8/+14
| | | | svn path=/trunk/libcss/; revision=8549
* Provide some API to allow retrieval of an Initial styleJohn Mark Bell2009-07-122-0/+44
| | | | svn path=/trunk/libcss/; revision=8468
* It helps if you add filesJohn Mark Bell2009-07-091-0/+20
| | | | svn path=/trunk/libcss/; revision=8411
* Fix processing of rules after @import -- previously, they were completely ↵John Mark Bell2009-07-082-1/+3
| | | | | | ignored. svn path=/trunk/libcss/; revision=8386
* Make list-style shorthand parser attempt to parse a list-style-type value ↵John Mark Bell2009-07-071-5/+5
| | | | | | before anything else. This way, list-style: none will do the right thing as list-style-image defaults to none, anyway. svn path=/trunk/libcss/; revision=8385
* Simplify charToHex()John Mark Bell2009-07-071-36/+9
| | | | svn path=/trunk/libcss/; revision=8384
* Force use of 64bit arithmetic when multiplying/dividing.John Mark Bell2009-07-051-2/+2
| | | | svn path=/trunk/libcss/; revision=8318
* Compute absolute values for all length properties.John Mark Bell2009-07-044-32/+1047
| | | | | | | Make initial border-*-color match the computed color. Compute correct value of display/float wrt position. svn path=/trunk/libcss/; revision=8317
* Add callback to make client compute the font size.John Mark Bell2009-07-045-14/+123
| | | | | | Some progress towards computing absolute values. svn path=/trunk/libcss/; revision=8311
* Ensure that any properties explicitly set to inherit on the root element are ↵John Mark Bell2009-07-043-114/+189
| | | | | | set to their initial values. svn path=/trunk/libcss/; revision=8309
* Move quotes property into common style block.John Mark Bell2009-07-047-81/+66
| | | | svn path=/trunk/libcss/; revision=8307
* Query client for initial values of color, font-family, quotes, and ↵John Mark Bell2009-07-0411-333/+404
| | | | | | voice-family properties. svn path=/trunk/libcss/; revision=8306
* Factor out setting of property values from hints or initial values.John Mark Bell2009-07-041-65/+73
| | | | | | Invert logic, so that "continue" does not occur. svn path=/trunk/libcss/; revision=8295
* Merge iterations across computed styleJohn Mark Bell2009-07-041-60/+59
| | | | svn path=/trunk/libcss/; revision=8294
* Similar fix for empty rules in normal stylesheets.John Mark Bell2009-07-011-0/+5
| | | | svn path=/trunk/libcss/; revision=8244
* Blank inline styles, or inline styles that only contain invalid data will ↵John Mark Bell2009-07-011-5/+6
| | | | | | have no bytecode. This is perfectly legitimate, so should not result in an error. svn path=/trunk/libcss/; revision=8243
* Fixup parsing of empty inline styles -- previously, it would emit the ↵John Mark Bell2009-07-011-5/+9
| | | | | | START_STYLESHEET and START_RULESET events twice. svn path=/trunk/libcss/; revision=8242
* Ensure that charset detection always returns CSS_OK unless there's a fatal ↵John Mark Bell2009-07-011-4/+2
| | | | | | error. Otherwise, it's possible to fail to process any of a short stylesheet (sheet.length < "@charset "). svn path=/trunk/libcss/; revision=8241
* Len already includes the NUL, so stop trying to manually terminate url/title.John Mark Bell2009-07-011-2/+0
| | | | svn path=/trunk/libcss/; revision=8231
* It probably helps to remember that @import also contains URL data.John Mark Bell2009-07-011-1/+19
| | | | svn path=/trunk/libcss/; revision=8229
* Make all URIs absoluteJohn Mark Bell2009-07-0111-25/+150
| | | | svn path=/trunk/libcss/; revision=8228
* Fix test data:John Mark Bell2009-06-301-6/+24
| | | | | | | Test 4 is testing the root node, so needs to compare against a fully computed style. The paragraph node in test 5 is the first child of its parent, so the background colour is expected to be as specified. svn path=/trunk/libcss/; revision=8210
* It somewhat helps to ensure that you convert units to their external ↵John Mark Bell2009-06-301-23/+83
| | | | | | representation. Oddly enough, not doing so causes comedy breakage. svn path=/trunk/libcss/; revision=8204
* Update testdata.Michael Drake2009-06-301-0/+1
| | | | svn path=/trunk/libcss/; revision=8200
* s/background-image/list-style-image/John Mark Bell2009-06-301-2/+2
| | | | svn path=/trunk/libcss/; revision=8189
* More test data changes.Michael Drake2009-06-301-4/+23
| | | | svn path=/trunk/libcss/; revision=8188
* Fix tests.Michael Drake2009-06-301-27/+25
| | | | svn path=/trunk/libcss/; revision=8186
* Introduce an initial value of border-*-color in the computed style.John Mark Bell2009-06-303-6/+21
| | | | | | When a style is composed, this will be resolved to whatever color: computed to. svn path=/trunk/libcss/; revision=8184
* Fix tests.Michael Drake2009-06-301-0/+12
| | | | svn path=/trunk/libcss/; revision=8183
* Delete unset color and border color because they'll be inherit.Michael Drake2009-06-301-15/+0
| | | | svn path=/trunk/libcss/; revision=8182
* Fix test.Michael Drake2009-06-301-5/+5
| | | | svn path=/trunk/libcss/; revision=8181
* Enable selector tests. Update tests.Michael Drake2009-06-302-20/+233
| | | | svn path=/trunk/libcss/; revision=8180
* Finish dumping of computed stylesJohn Mark Bell2009-06-301-42/+960
| | | | svn path=/trunk/libcss/; revision=8174
* More propertiesJohn Mark Bell2009-06-291-0/+204
| | | | svn path=/trunk/libcss/; revision=8164
* Dump more computed propertiesJohn Mark Bell2009-06-291-2/+175
| | | | svn path=/trunk/libcss/; revision=8163
* Dump clip, content, counter-{increment,reset}John Mark Bell2009-06-291-16/+210
| | | | svn path=/trunk/libcss/; revision=8161
* Fix setting of computed display: noneJohn Mark Bell2009-06-291-1/+1
| | | | svn path=/trunk/libcss/; revision=8159
* Ensure that the root element has its styling set to the initial values.John Mark Bell2009-06-291-3/+10
| | | | svn path=/trunk/libcss/; revision=8158
* Fix castJohn Mark Bell2009-06-281-1/+1
| | | | svn path=/trunk/libcss/; revision=8091
* Fix list-style shorthand parserJohn Mark Bell2009-06-271-0/+8
| | | | svn path=/trunk/libcss/; revision=8073
* A few inherit tests.Michael Drake2009-06-271-0/+71
| | | | svn path=/trunk/libcss/; revision=8072
* List property tests.Michael Drake2009-06-272-0/+489
| | | | svn path=/trunk/libcss/; revision=8071
* Fix test dataJohn Mark Bell2009-06-271-36/+0
| | | | svn path=/trunk/libcss/; revision=8070
* Fix font shorthand parser to reject spurious instances of inheritJohn Mark Bell2009-06-271-0/+32
| | | | svn path=/trunk/libcss/; revision=8069
* Font property tests.Michael Drake2009-06-272-0/+729
| | | | svn path=/trunk/libcss/; revision=8068
* Fix comma separated list parsingJohn Mark Bell2009-06-271-1/+2
| | | | svn path=/trunk/libcss/; revision=8067
* Fix border + outline shorthand property parsersJohn Mark Bell2009-06-271-0/+40
| | | | svn path=/trunk/libcss/; revision=8066