Age | Commit message (Collapse) | Author | |
---|---|---|---|
2009-03-15 | move CssPropertyInfo definition to cssparser.cc | Johannes Hofmann | |
2009-03-15 | replace a_Css_parse(), a_Css_parse_declaration() with static methods | Johannes Hofmann | |
2009-03-09 | needn't include prefs.h | corvid | |
2009-02-15 | fix leak in CssStyleSheet::addRule() | Johannes Hofmann | |
2009-02-09 | whitespace cleanup: 's/ +$//g' | Jorge Arellano Cid | |
2009-02-07 | minor cleanup | Johannes Hofmann | |
2009-02-06 | set type in CssPropertyList::set() | Johannes Hofmann | |
2009-02-06 | add type to CSS properties | Johannes Hofmann | |
2009-02-05 | move CssProperty::Name and CssProperty::Value out of CssProperty class | Johannes Hofmann | |
2009-02-05 | add CssProperty::type | 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-01-31 | remove debugging code | Johannes Hofmann | |
2009-01-31 | remove unnecessary initialization | Johannes Hofmann | |
2009-01-31 | optimize CssStyleSheet::apply() a bit | Johannes Hofmann | |
2009-01-31 | fix cascading order | Johannes Hofmann | |
CSS data given in style="" attributes can be overruled by AUTHOR_IMPORTANT style data. This fixes http://www.w3.org/Style/CSS/Test/CSS2.1/current/html4/t060402-c31-important-00-b.htm | |||
2009-01-31 | comment | Johannes Hofmann | |
2009-01-30 | comment | Johannes Hofmann | |
2009-01-30 | apply CSS rules ordered by their specificity | Johannes Hofmann | |
2009-01-30 | simplify CssSimpleSelector::specificity() | Johannes Hofmann | |
2009-01-30 | insert rules in correct order | Johannes Hofmann | |
2009-01-30 | add CssRule::specificity | Johannes Hofmann | |
2009-01-30 | add CssSelector::specificity() | Johannes Hofmann | |
2009-01-30 | add comment | Johannes Hofmann | |
2009-01-30 | whitespace | Johannes Hofmann | |
2009-01-30 | CssContext::addRule(): only add rules with nonempty property list | Johannes Hofmann | |
2009-01-30 | remove unused method | Johannes Hofmann | |
2009-01-29 | free font names when replacing them | Johannes Hofmann | |
2009-01-28 | make sure strings from CSS parser are freed | Johannes Hofmann | |
2009-01-28 | a few dStrcasecmp()s | corvid | |
2009-01-28 | simplify CssContext::buildUserStyle() | corvid | |
2009-01-28 | descendent -> descendant (noticed by corvid) | Johannes Hofmann | |
2009-01-26 | adapt font-family preferences to match CSS | Johannes Hofmann | |
CSS 2.1 uses the following predefined font names: 'serif', 'sans-serif', 'cursive', 'fantasy', 'monospace'. Add preferences so that the user can set real font names for these. Basically the new "font_sans_serif" option is what "vw_fontame" used to be and "font_monospace" is equivalent to "fw_fontname". The other two options are new. | |||
2009-01-26 | use ConstString in CssStyleSheet::apply() | Johannes Hofmann | |
2009-01-25 | allocate/deallocate CssSimpleSelector properly | Johannes Hofmann | |
2009-01-22 | improve font handling | Johannes Hofmann | |
The vw_fontname and fw_fontname preferences are now used to define the CSS fontanmes "sans" and "monospace". | |||
2009-01-21 | don't call docTree->top() over and over | Johannes Hofmann | |
2009-01-21 | move assert from CssSelector::match() to CssRule constructor | Johannes Hofmann | |
2009-01-21 | refactor CssSelector::match() making it slightly more efficient | Johannes Hofmann | |
2009-01-21 | cosmetic change to CssSelector::match() | Johannes Hofmann | |
2009-01-21 | simplify CssSelector a bit | Johannes Hofmann | |
2009-01-21 | fix minor issue in CSS optimization | Johannes Hofmann | |
This brings down the number of CssSimpleSelector::match() calls from 816603 to 602787 on http://www.spiegel.de | |||
2009-01-19 | remove debugging code | Johannes Hofmann | |
2009-01-19 | fix border around images within links | Johannes Hofmann | |
2009-01-19 | switch default color for visited links to #800080 again | Johannes Hofmann | |
2009-01-16 | update copyright | Johannes Hofmann | |
2009-01-15 | refactor CssSelector::match() a bit | Johannes Hofmann | |
2009-01-13 | merge | Johannes Hofmann | |
2009-01-13 | minor cleanup | Johannes Hofmann | |
2009-01-13 | initial implementation of a CSS selector matching optimization | Johannes 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. | |||
2009-01-12 | add RuleList class to implement proper memory management | Johannes Hofmann | |