summaryrefslogtreecommitdiff
path: root/src/doctree.hh
AgeCommit message (Collapse)Author
2011-09-06remove trailing whitespaceJorge Arellano Cid
2011-08-28fix doctree leakJohannes Hofmann
HTML like <div>hello</div> </body> </html> <div>hello</div> currently causes the document tree to be a forest with two root nodes. To ensure we don't leak the first tree, an additional root node is introduced to hold all document trees. Catched by: Jeremy's valgrind logs Reported by: corvid <corvid@lavabit.com>
2011-08-24add support for CSS adjacent sibling selectorsJohannes Hofmann
2010-01-07make Doctree a non-virtual classJohannes Hofmann
Doctree now is a proper class with it's own implementation. StyleEngine no longer needs to provide the Doctree interface itself. This hopefully make the code easier to understand and should also be a bit faster as no virtual methods are involved.
2009-07-11support multiple classes per doctree nodeJohannes Hofmann
2009-04-23commentsJohannes Hofmann
2009-01-13initial implementation of a CSS selector matching optimizationJohannes Hofmann
The idea is to avoid repeated checks of CssSimpleSelector against the same part of the doctree. E.g .navigation * { background-color:green } Would result in checking for class="navigation" all the way down to the document root for all elements. The optimization shortcuts this, for parts of the doctree that have been checked before.
2008-11-12tag -> elementJohannes Hofmann
2008-11-11adjust pseudo class handlingJohannes Hofmann
2008-11-08set CSS pseudo class in Html_tag_open_a()Johannes Hofmann
2008-10-29pass Layout to StyleEngineJohannes Hofmann
2008-10-29implement various apply() methodsJohannes Hofmann
2008-10-28add doctree.hhJohannes Hofmann