aboutsummaryrefslogtreecommitdiff
path: root/src/cssparser.cc
AgeCommit message (Collapse)Author
2011-08-24add support for CSS adjacent sibling selectorsJohannes Hofmann
2011-06-21Eliminated a pack of 22 compiler warnings (gcc-4.6.1 amd64)Jorge Arellano Cid
2011-06-12merge in recent changes from main repocorvid
2011-06-07support !important in style attributesJohannes Hofmann
2010-12-18CssParser::parseImport(): implement media-conditional @import rules.Jeremy Henty
2010-12-18cssparser.cc: move some calls to nextToken().Jeremy Henty
2010-12-18CssParser::parseImport(): call ignoreStatement().Jeremy Henty
2010-12-14border-color: transparentcorvid
2010-11-26minor bracket style normalization for "else" clausesJorge Arellano Cid
2010-11-26Support @media rules.Jeremy Henty
2010-11-21imported patch ignore-unknown-at-rules-1Jeremy Henty
2010-11-21imported patch ignore-unknown-at-rules-0Jeremy Henty
2010-11-15fix bug comment handling of CssParserJohannes Hofmann
The skipString() method of CssParser was eating one char too much in case of a match. This caused e.g. empty comments (/**/) to be misinterpreted. Noticed and tracked down by: Jeremy Henty <onepoint@starurchin.org>
2010-11-09mergeJorge Arellano Cid
2010-11-09css text-indent propertycorvid
thread: http://lists.auriga.wearlab.de/pipermail/dillo-dev/2010-November/007801.html
2010-10-21imported patch border-collapse-parsingJorge Arellano Cid
2010-10-07CSS part for font-variant: small-caps supportJorge Arellano Cid
(some uppercasing is done but not utf8)
2010-04-20css word-spacing propertycorvid
2010-04-02add CSS_TYPE_LENGTH_PERCENTAGE_NUMBERJohannes Hofmann
* Add an additional CssValueType CSS_TYPE_LENGTH_PERCENTAGE_NUMBER which can be a length, a percentage, or a number without unit. * Numbers without units are represented as CssLength of type CSS_LENGTH_TYPE_NONE. * Properly detect numbers without unit in cases where they are not allowed (see testcase below). For lengths only '0' can be specified without unit. Testcase: <html> <head> <style tyoe="text/css"> div {border: solid black 2px} </style> </head> <body> <!-- correct - border-width should be set to 0 -> no border --> <div style="border-width: 0">foo bar</div> <!-- false - border-width should be left untouched -> 2px border --> <div style="border-width: 40">foo bar</div> <!-- false - border-width should be left untouched -> 2px border --> <div style="border-width: 40 px">foo bar</div> </body> </html>
2010-03-30white-space: pre-wrapcorvid
thread: http://lists.auriga.wearlab.de/pipermail/dillo-dev/2010-March/007420.html
2010-02-27trim some spacescorvid
2009-12-20recognize text-{top,bottom} as vertical-align valuescorvid
2009-12-19fix CSS_SHORTHAND_DIRECTIONS case in CssParserJohannes Hofmann
* Don't modify type parameter in tokenMatchesProperty() if there is no match. * Use correct type for each of the values parsed in a CSS_SHORTHAND_DIRECTIONS-style declaration.
2009-12-18support border-width: thin | medium | thickJohannes Hofmann
2009-12-09remove DISPLAY_LASTJohannes Hofmann
2009-12-08add DISPLAY_NONEJohannes Hofmann
2009-12-08add support for CSS property list-style-positionJohannes Hofmann
2009-11-20don't loop on unterminated CSS commentsJohannes Hofmann
2009-11-19ignore XML comment markers in CSSJohannes Hofmann
2009-11-15properly parse comma separated list of font-family names in CSS parserJohannes Hofmann
2009-10-18use letter spacing when drawingcorvid
2009-10-17add letter-spacing support to CSS subsystemJohannes Hofmann
The implementation in the fltk backend is still missing.
2009-09-23fix css *resize cursor valuescorvid
2009-09-20trim some spacescorvid
2009-07-11make CssSimpleSelector members privateJohannes Hofmann
2009-06-24bgr -> rgbJohannes Hofmann
2009-06-24don't allow mixing of decimal values and percentages in rgb() colorsJohannes Hofmann
2009-06-23whitespaceJohannes Hofmann
2009-06-23add support for css colors of the form rgb(255, 255, 255)Johannes Hofmann
2009-06-22remove system includescorvid
2009-04-22whitespaceJorge Arellano Cid
2009-04-19wrap long lines in src/ css codecorvid
2009-04-08properly skip ';' after @import directiveJohannes Hofmann
2009-04-08support CSS @import directiveJohannes Hofmann
2009-03-24rename getc() to getChar() to avoid name clash on FreeBSDJohannes Hofmann
2009-03-23allow negative values for specific CSS properties onlyJohannes 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-23whitespaceJohannes Hofmann
2009-03-15move CssPropertyInfo definition to cssparser.ccJohannes Hofmann
2009-03-15camelCaseJohannes Hofmann
2009-03-15initialize CssParser::within_blockJohannes Hofmann