Age | Commit message (Collapse) | Author | |
---|---|---|---|
2009-06-22 | remove system includes | corvid | |
2009-04-19 | wrap long lines in src/ css code | corvid | |
2009-04-08 | support CSS @import directive | Johannes Hofmann | |
2009-03-23 | disable negative margins for now | Johannes Hofmann | |
dw::Textblock does not handle them properly yet. | |||
2009-03-15 | replace a_Css_parse(), a_Css_parse_declaration() with static methods | Johannes Hofmann | |
2009-03-11 | whitespace | Jorge Arellano Cid | |
2009-03-11 | fix allow_white_bg=NO case | Johannes Hofmann | |
This is not perfect, as the replacement color is hardcoded to 0xdcd1ba. | |||
2009-03-09 | whitespace | Johannes Hofmann | |
2009-03-06 | remove bg_color dillorc option | Johannes Hofmann | |
To set a custom background color add a line like: body {background-color: white} to your ~/.dillo/style.css file. This also works for plain text display and image viewing. | |||
2009-03-05 | reduce number of styleEngine::style0() calls | Johannes Hofmann | |
Rearrange code, so that for each new element, StyleEngine::setNonCssHints() is called before the first call to StyleEngine::style() or StyleEngine::wordStyle(). This avoids unnecessary CSS style computations which are expensive. Add an assertion to ensure this. | |||
2009-02-17 | fix missing background color for ComplexButton (noticed by corvid) | Johannes Hofmann | |
2009-02-17 | add font_max_size dillorc option | Johannes Hofmann | |
2009-02-16 | check base font against font_min_size | Johannes Hofmann | |
2009-02-15 | clean StyleEngine::stack on deletion | Johannes Hofmann | |
2009-02-11 | add "font_min_size" dillorc option | Johannes Hofmann | |
2009-02-09 | whitespace cleanup: 's/ +$//g' | Jorge Arellano Cid | |
2009-02-08 | merge | Johannes Hofmann | |
2009-02-07 | inherit valign when inheritBackgroundColor is set | Johannes Hofmann | |
This fixes <sup><u> not up </u> up </sup>, but is not the real solution. Things like <sup> up <sup> upper </sup></sup> still don't work, but they didn't work in dillo-2.0 either. Noticed by: corvid | |||
2009-02-06 | support font-size enum values | Johannes Hofmann | |
2009-02-06 | switch font-weight handling to new multi type system | Johannes Hofmann | |
2009-02-05 | move CssProperty::Name and CssProperty::Value out of CssProperty class | 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-30 | remove todo | Johannes Hofmann | |
2009-01-29 | free font names from style="" attributes (found by Jeremy) | 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-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 | start supporting "auto" value in CSS | Johannes Hofmann | |
2009-01-19 | switch default font size to 14 | Johannes Hofmann | |
2009-01-17 | add parse_embedded_css option | Johannes Hofmann | |
2009-01-17 | implement parsing of CSS data from style attribute | Johannes Hofmann | |
E.g. <body style="background-color: red; font-family: arial; font-size: 30mm"> Hello World </body> | |||
2009-01-16 | update copyright | Johannes Hofmann | |
2009-01-15 | use prefs.font_factor to scale base font | Johannes Hofmann | |
2009-01-15 | merge | Johannes Hofmann | |
2009-01-13 | pass valign property from base style into wordStyle | Johannes Hofmann | |
This fixes rendering of <sub>, <sup> elements. | |||
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-06 | initialize styleAttribute and inheritBackgroundColor (by Jorge) | Johannes Hofmann | |
2009-01-04 | backout 14ce954d98c0 | Johannes Hofmann | |
Inheriting the pseudo class breaks things like <a><font color="black"><small>test</small></font></a> The style for the :link pseudo class (blue color in this case) would overwrite the black color set by <font>. This happens on http://www.freshmeat.net | |||
2009-01-03 | reduce rounding errors when casting float to int | Johannes Hofmann | |
2008-12-19 | make StyleEngine::computeValue() and computeLength() return bool | Johannes Hofmann | |
StyleEngine::computeValue now returns whether the value was actually set. This information is now used in computeLength to avoid setting of random length values in case of an unrecognized CSS_LENGTH_TYPE. This fixes crashes with images that have invalid width or height attributes (e.g. <img src="foo.jpg" width="10px" />). | |||
2008-12-15 | initialize wordStyle | Johannes Hofmann | |
2008-12-14 | inherit pseudo classes "link" and "visited" | Johannes Hofmann | |
2008-12-11 | always use shaded colors | Johannes Hofmann | |
This makes things much simpler and improves sharing of colors. If computing two more shades really proves to be a performance issue, we can shade on demand without exposing this optimization to the interface. | |||
2008-12-11 | use shaded colors for borders | Johannes Hofmann | |
2008-12-09 | remove duplicate break | Johannes Hofmann | |
2008-12-09 | support white-space property | Johannes Hofmann | |
2008-12-09 | whitespace | Johannes Hofmann | |
2008-12-09 | use output parameter in StyleEngine::computeValue() | Johannes Hofmann | |
This way an assignment is avoided in case of an invalid or unsupported value for the given property. E.g. it is not allowed to specify a percentage for border-width. | |||
2008-12-09 | use CssLength type | Johannes Hofmann | |
2008-12-08 | partly revert ed5ea857edc6 to fix coloring of <tr> elements | Johannes Hofmann | |
2008-12-04 | adjust inheritBackgroundColor() handling to new wordStyle() stuff | Johannes Hofmann | |