Age | Commit message (Collapse) | Author | |
---|---|---|---|
2011-06-07 | support !important in style attributes | Johannes Hofmann | |
2010-11-13 | Full CSS border-style implementation | Jorge Arellano Cid | |
The drawBorder{Top,Bottom,Left,Right} functions are similar. They use a trapezium as draw polygon, or drawTypedLine() for dots and dashes. Although the concept is simple, achieving pixel accuracy is laborious [1]. [1] http://www.dillo.org/css_compat/tests/border-style.html | |||
2010-10-17 | no need to inline CssPropertyList copy constructor | Johannes Hofmann | |
2010-10-11 | allow to apply CssContext to an arbitrary node in the docTree | Johannes Hofmann | |
2010-10-11 | merge | Johannes Hofmann | |
2010-10-01 | rework border-width handling | Johannes Hofmann | |
The initial value of border-width-* is "medium" not 0 (see http://www.w3.org/TR/CSS2/box.html#border-width-properties). Redo the border handling for tables to deal with this. | |||
2010-09-24 | call layout->setBgColor() from web.cc | Johannes Hofmann | |
2010-09-17 | set font and color on <html> tag, so authors can override it | Johannes Hofmann | |
2010-04-23 | use CSS rule position when specificity is equal | Johannes Hofmann | |
When two CSS rules have the same specificity make sure they are applied in the order as they appear in the stylesheets (see [1]). Testcase: <html><head><style> A:link {color: red} A.foo {color: green} </style></head><body> <a class="foo" href=http://www.dillo.org>should be green</a> </body></html> Reported by: corvid [1] http://www.w3.org/TR/CSS2/cascade.html#cascading-order | |||
2010-01-11 | add quirk to reset font properties in tables (fixes e.g. gmail) | Johannes Hofmann | |
2009-12-18 | Changed the default background color when allow_white_bg=NO | Jorge Arellano Cid | |
2009-11-27 | fix nested <ul> handling in user agent style | Johannes Hofmann | |
Originally I hoped that <ul> elements would be nested like this: <ul> <li>foo</li> <ul> <li>bar</li> </ul> </ul> in which case we could use ul > ul. But instead it seems to be common to use: <ul> <li>foo</li> <li> <ul> <li>bar</li> </ul> </li> </ul> The child selector ('>') is slightly more efficient than the general descendant (' ') selector, but it doesn't seem to matter much anyway. | |||
2009-11-07 | adjust user-agent style for th | Johannes Hofmann | |
Make th look like td, but with bold and centering added. Submitted by: Jeremy Henty | |||
2009-09-20 | trim some spaces | corvid | |
2009-07-23 | properly count multiple classes in CssSimpleSelector::specificity () | Johannes Hofmann | |
2009-07-17 | Fix an implicit int cast error when int != int32_t | Jorge Arellano Cid | |
2009-07-11 | allow multiple class strings in CssSimpleSelector | Johannes Hofmann | |
2009-07-11 | make CssSimpleSelector members private | Johannes Hofmann | |
2009-07-11 | cleanups | Johannes Hofmann | |
2009-07-11 | support multiple classes per doctree node | Johannes Hofmann | |
2009-06-22 | remove system includes | corvid | |
2009-06-11 | make <var> italic (noticed by corvid) | Johannes Hofmann | |
2009-04-23 | comments | Johannes Hofmann | |
2009-04-19 | wrap long lines in src/ css code | corvid | |
2009-04-08 | support CSS @import directive | Johannes Hofmann | |
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 | |