aboutsummaryrefslogtreecommitdiff
path: root/src/css.cc
AgeCommit message (Collapse)Author
2009-01-12String -> ConstStringJohannes Hofmann
2009-01-12remove CssRule reference countingJohannes Hofmann
2009-01-12avoid unnecessary lout::object::String creationJohannes Hofmann
2009-01-12fix some bugsJohannes Hofmann
2009-01-12initial implementation of hashmap based CSS selector matchingJohannes Hofmann
2009-01-12replace fixed break space in Html_tag_open_li() with a user agent styleJohannes Hofmann
This changes allows to set the margin of <li> elements to zero via CSS. Subsequent <li> elements then have no spacing in between. Test case: <html> <head> <style type="text/css"> li { border: 1px solid black; margin: 0; } </style> </head> <body> <ul> <li>hello</li> <li>hello</li> </ul> </body> </html> There should be no vertical space between the two boxes.
2009-01-09cleanup user agent styleJohannes Hofmann
2009-01-03fix <dt> handlingJohannes Hofmann
2009-01-03set list-style-type to decimal for <ol>Johannes Hofmann
2009-01-03fix debug printing of CSS selectorsJohannes Hofmann
2009-01-03convert list handling to use styleEngineJohannes Hofmann
2008-12-19Interim patch for CSS stylesheet loading. Not finished yet.Jorge Arellano Cid
2008-12-17remove unnecessary this->Johannes Hofmann
2008-12-17initialize refCount in CssRuleJohannes Hofmann
2008-12-17add CssSelector destructorJohannes Hofmann
2008-12-16speed up CSS selector matchingJohannes Hofmann
A CssStyleSheet is now an array of lists of CssRules. The array holds a list if those rules that might potentially match whith a given element on the top of docTree.
2008-12-15remove border style definition for <img> from user-agent styleJohannes Hofmann
2008-12-14convert Html_tag_open_img()Johannes Hofmann
2008-12-11remove table border color definitions from user-agent styleJohannes Hofmann
2008-12-11fix <hr> handlingJohannes Hofmann
2008-12-11update user agent style for tablesJohannes Hofmann
2008-12-10convert Html_tag_open_hr() and Html_tag_open_pre()Johannes Hofmann
2008-12-05add margin directives to user agent style to replace Html_add_indented()Johannes Hofmann
2008-12-04fix default table bordersJohannes Hofmann
2008-12-02disable debug outputJohannes Hofmann
2008-12-01streamline CssSelector a bitJohannes Hofmann
2008-12-01add style definition for <th>Johannes Hofmann
2008-12-01swap CHILD and DESCENDENT CSS selector combinatorsJohannes Hofmann
2008-11-30make complex selectors workJohannes Hofmann
2008-11-30factor out Css_parse_simple_selector()Johannes Hofmann
2008-11-30make CssSelector a list of CssSimpleSelector objectsJohannes Hofmann
2008-11-25convert <code>, <pre>Johannes Hofmann
2008-11-25convert <big>, <small>, <center>, <tt>Johannes Hofmann
2008-11-24convert <samp>, <kbd>, <u>, <strike> handlingJohannes 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-19add proper buffer handling in CssContext::buildUserStyle()Johannes Hofmann
2008-11-15fix background color definition in user-agent styleJohannes Hofmann
2008-11-15increase style bufferJohannes Hofmann
2008-11-14use shorthand propertiesJohannes Hofmann
2008-11-14support padding-* and set it for <td>Johannes Hofmann
2008-11-14s, strike, del, thead, tbody, tfootJohannes Hofmann
2008-11-14support <sub> and <sup>Johannes Hofmann
2008-11-14CSS for HTML is case insensitiveJohannes Hofmann
2008-11-14setNonCssProperties() -> setNonCssHints()Johannes Hofmann
2008-11-13set margins for h[1-6]Johannes Hofmann
2008-11-13mergeJohannes Hofmann
2008-11-13fix h[1-6] stylesJohannes Hofmann
2008-11-13add CssContext destructorJohannes Hofmann
2008-11-13merge with cvsJohannes Hofmann
2008-11-13add reference counting for CssPropertyList and CssSelectorJohannes Hofmann