Age | Commit message (Collapse) | Author | |
---|---|---|---|
2009-03-24 | rename getc() to getChar() to avoid name clash on FreeBSD | Johannes Hofmann | |
2009-03-23 | allow negative values for specific CSS properties only | Johannes Hofmann | |
This needs to be done at parser level, so that alternative settings can overrule a faulty negative one. Testcase: <html> <head> <style type="text/css" > #foo {padding: -1px; background-color: green} .bar {padding: 10px} </style> </head> <body> <div id="foo" class="bar">should be green and have 10px padding</div> </body> </html> | |||
2009-03-23 | whitespace | Johannes Hofmann | |
2009-03-15 | move CssPropertyInfo definition to cssparser.cc | Johannes Hofmann | |
2009-03-15 | camelCase | Johannes Hofmann | |
2009-03-15 | initialize CssParser::within_block | Johannes Hofmann | |
2009-03-15 | make CSS_MAX_STR_LEN a static const integer | Johannes Hofmann | |
2009-03-15 | replace a_Css_parse(), a_Css_parse_declaration() with static methods | Johannes Hofmann | |
2009-03-15 | add CssParser constructor | Johannes Hofmann | |
2009-03-15 | make CssParser a class | Johannes Hofmann | |
2009-03-15 | move macro definition to .cc file | Johannes Hofmann | |
2009-03-12 | replace CSS_LENGTH_* macros with inline functions | Johannes Hofmann | |
2009-03-10 | add support for negative numbers in CSS parser | Johannes Hofmann | |
2009-03-06 | fix CSS string parsing bug | Johannes Hofmann | |
2009-02-27 | add CSS parser todos | Johannes Hofmann | |
2009-02-26 | don't accept classes or id's starting with integer | Johannes Hofmann | |
2009-02-26 | css parsing numbers | corvid | |
Recognize floats starting with '.' (e.g. ".5") as required by CSS 2.1. | |||
2009-02-09 | whitespace cleanup: 's/ +$//g' | Jorge Arellano Cid | |
2009-02-06 | support font-size enum values | Johannes Hofmann | |
2009-02-06 | set type in CssPropertyList::set() | Johannes Hofmann | |
2009-02-06 | remove check | Johannes Hofmann | |
2009-02-06 | switch font-weight handling to new multi type system | Johannes Hofmann | |
2009-02-06 | fix check for 'none' in Css_token_matches_property() | Johannes Hofmann | |
2009-02-06 | add type to CSS properties | Johannes Hofmann | |
2009-02-06 | allow multiple types for CSS properties | Johannes Hofmann | |
2009-02-05 | move CssProperty::Name and CssProperty::Value out of CssProperty class | Johannes Hofmann | |
2009-02-02 | remove unused order_count parameter | Johannes Hofmann | |
It seems that in dillo-0.8.0-css-3 it was used to make sure that later definitions of the same CSS property have more weight than previous ones. If for example a first stylesheet sets background-color to black, and a second stylesheet sets it to green, green should win. But as we currently parese everything in order (throughing away all parsed CSS data when a new CSS stylesheet has arrived), we don't need to remember the original ordering of stylesheets. | |||
2009-02-01 | s/atoi/strtol/g | Jorge Arellano Cid | |
2009-01-31 | add copyright notice to cssparser.cc | Johannes Hofmann | |
2009-01-31 | Switched strcasecmp() to dStrcasecmp() calls. | Jorge Arellano Cid | |
2009-01-31 | make CssParser case insensitive | Johannes Hofmann | |
2009-01-30 | remove unused CSS parser functions | Johannes Hofmann | |
2009-01-30 | fix parsing CSS values of type CSS_TYPE_STRING | Johannes Hofmann | |
2009-01-30 | CssContext::addRule(): only add rules with nonempty property list | Johannes Hofmann | |
2009-01-29 | free font names from style="" attributes (found by Jeremy) | Johannes Hofmann | |
2009-01-29 | remove redundant array sizes in cssparser.cc | Johannes Hofmann | |
2009-01-29 | add (incomplete) support for the "font" shorthand | Johannes Hofmann | |
This commit makes simple stuff work, but does not implement all the hairy details (see http://www.w3.org/TR/CSS21/fonts.html#font-shorthand). | |||
2009-01-28 | make sure strings from CSS parser are freed | Johannes Hofmann | |
2009-01-28 | descendent -> descendant (noticed by corvid) | Johannes Hofmann | |
2009-01-25 | allocate/deallocate CssSimpleSelector properly | Johannes Hofmann | |
2009-01-22 | fix support for quoted font-family names | Johannes Hofmann | |
2009-01-21 | start supporting "auto" value in CSS | Johannes Hofmann | |
2009-01-21 | add missing Css_next_token() call in Css_parse_value() | Johannes Hofmann | |
This fixes a loop on "border:auto" (reported by Jeremy). | |||
2009-01-20 | drop CssRules that have more than one pseudo class set | Johannes Hofmann | |
Currently dillo only supports :link and :visited. Simple selectors with more than one pseudo class will never match. Therefore we drop the whole rule in this case. This fixes link color on http://www.fltk.org | |||
2009-01-19 | avoid looping on style="{}" | Johannes Hofmann | |
2009-01-17 | implement parsing of CSS data from style attribute | Johannes Hofmann | |
E.g. <body style="background-color: red; font-family: arial; font-size: 30mm"> Hello World </body> | |||
2009-01-17 | some consts | Johannes Hofmann | |
2009-01-12 | refactor Css_parse_selector() to avoid looping | Johannes Hofmann | |
Make sure that even if parsing of a CSS selector fails, the parser advances until the end of the selector (EOF, ',', or '{'). | |||
2009-01-11 | comment | Johannes Hofmann | |
2009-01-11 | refactor Css_parse_simple_selector() a bit | Johannes Hofmann | |