aboutsummaryrefslogtreecommitdiff
path: root/src/cssparser.cc
AgeCommit message (Collapse)Author
2009-02-01s/atoi/strtol/gJorge Arellano Cid
2009-01-31add copyright notice to cssparser.ccJohannes Hofmann
2009-01-31Switched strcasecmp() to dStrcasecmp() calls.Jorge Arellano Cid
2009-01-31make CssParser case insensitiveJohannes Hofmann
2009-01-30remove unused CSS parser functionsJohannes Hofmann
2009-01-30fix parsing CSS values of type CSS_TYPE_STRINGJohannes Hofmann
2009-01-30CssContext::addRule(): only add rules with nonempty property listJohannes Hofmann
2009-01-29free font names from style="" attributes (found by Jeremy)Johannes Hofmann
2009-01-29remove redundant array sizes in cssparser.ccJohannes Hofmann
2009-01-29add (incomplete) support for the "font" shorthandJohannes 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-28make sure strings from CSS parser are freedJohannes Hofmann
2009-01-28descendent -> descendant (noticed by corvid)Johannes Hofmann
2009-01-25allocate/deallocate CssSimpleSelector properlyJohannes Hofmann
2009-01-22fix support for quoted font-family namesJohannes Hofmann
2009-01-21start supporting "auto" value in CSSJohannes Hofmann
2009-01-21add missing Css_next_token() call in Css_parse_value()Johannes Hofmann
This fixes a loop on "border:auto" (reported by Jeremy).
2009-01-20drop CssRules that have more than one pseudo class setJohannes 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-19avoid looping on style="{}"Johannes Hofmann
2009-01-17implement parsing of CSS data from style attributeJohannes Hofmann
E.g. <body style="background-color: red; font-family: arial; font-size: 30mm"> Hello World </body>
2009-01-17some constsJohannes Hofmann
2009-01-12refactor Css_parse_selector() to avoid loopingJohannes 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-11commentJohannes Hofmann
2009-01-11refactor Css_parse_simple_selector() a bitJohannes Hofmann
2009-01-09remove unused codeJohannes Hofmann
2009-01-03fix parsing of CSS selectors with '>' combinatorJohannes Hofmann
2008-12-19Interim patch for CSS stylesheet loading. Not finished yet.Jorge Arellano Cid
2008-12-11sort propertiesJohannes Hofmann
2008-12-02check for EOF in Css_next_token()Johannes Hofmann
2008-12-02implement CSS_SHORTHAND_BORDERJohannes Hofmann
2008-12-02ignore CSS commentsJohannes Hofmann
2008-12-01stop simple selector parsing at whitespaceJohannes Hofmann
2008-12-01avoid looping in CSS parserJohannes Hofmann
2008-11-30make complex selectors workJohannes Hofmann
2008-11-30factor out Css_parse_simple_selector()Johannes Hofmann
2008-11-30factor out Css_parse_selector()Johannes Hofmann
2008-11-30remove more obsolete codeJohannes Hofmann
2008-11-30remove obsolete ifJohannes Hofmann
2008-11-30add CssSimpleSelector::ELEMENT_ANYJohannes Hofmann
2008-11-30introduce space_separated flagJohannes Hofmann
2008-11-30make CssSelector a list of CssSimpleSelector objectsJohannes Hofmann
2008-11-23remove unused codeJohannes Hofmann
2008-11-21typoJohannes Hofmann
2008-11-20mergeJohannes Hofmann
2008-11-20Removed lots of compiler warnings, and formatted code to 80 columns.Jorge Arellano Cid
Used: indent -kr -st -sc -i3 -bad -nbbo -nut
2008-11-20ignore unknown HTML elementsJohannes Hofmann
2008-11-15support percentages in font-size definitionJohannes Hofmann
2008-11-14add missing Css_next_token() callJohannes Hofmann
2008-11-14remove previously introduced shortcut properties as they break the cascadeJohannes Hofmann
2008-11-13add reference counting for CssPropertyList and CssSelectorJohannes Hofmann
2008-11-12support cursorJohannes Hofmann