Age | Commit message (Collapse) | Author | |
---|---|---|---|
2014-07-25 | avoid requesting background images if an ancestor has display:none | Johannes Hofmann | |
noticed-by: eocene | |||
2014-07-02 | make dpmm a proper member of StyleEngine | Johannes Hofmann | |
2014-04-02 | fix crash and use proper requester URL for CSS images | Johannes Hofmann | |
2014-04-01 | resolve CSS background-image URLs relative to styleheet URL | Johannes Hofmann | |
2014-02-15 | share user agent style between CssContext's | Johannes Hofmann | |
2013-10-07 | View(port) background now set by HTML parser. | Sebastian Geerken | |
2013-09-20 | Added BrowserWindow and DilloURL (base URL) to StyleEngine::apply and related. | Sebastian Geerken | |
2012-11-04 | some style engine refactoring | Johannes Hofmann | |
2011-12-30 | move buildUserAgentStyle and buildUserStyle to styleengine.cc | Johannes Hofmann | |
By moving buildUserAgentStyle and buildUserStyle from css.cc to styleengine.cc we can avoid the circular dependency between css.hh and cssparser.hh. | |||
2011-06-07 | support !important in style attributes | Johannes Hofmann | |
2010-11-24 | trim some spaces | corvid | |
2010-10-17 | fix Style leaks in StyleEngine | Johannes Hofmann | |
2010-10-14 | inline setNonCssHint() | Johannes Hofmann | |
2010-10-11 | use background-color on <html>-element | Johannes Hofmann | |
2010-10-11 | add StyleEngine::restyle() | Johannes Hofmann | |
2010-10-11 | rework nonCssHints API of StyleEngine | Johannes Hofmann | |
* Instead of passing the nonCssHints as a CssPropertyList, set the hints separately and create the list in StyleEngine. * The CssPropertyList holding the nonCssHints is now completely managed by StyleEngine and kept on the stack. * Replace the table_cell_props mechanic in html.cc/table.cc with a new method inheritNonCssHints() in StyleEngine. | |||
2010-10-11 | store style attribute as CssPropertyList instead of a string | Johannes Hofmann | |
2010-10-11 | make StyleEngine::Node a struct - it's just that anyway | Johannes Hofmann | |
2010-10-01 | fix last commit | Johannes Hofmann | |
dw::core::style::Style must always hold the computed values of CSS properties, as those are inherited. The computed value of border-width is 0 if border-style is 'none', so avoid the combination of border-width != 0 and border-style 'none'. Refactor StyleEngine a bit. | |||
2010-01-07 | make Doctree a non-virtual class | Johannes 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-12-18 | support border-width: thin | medium | thick | Johannes Hofmann | |
2009-05-08 | spelling | corvid | |
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-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-02-17 | fix missing background color for ComplexButton (noticed by corvid) | Johannes Hofmann | |
2009-02-09 | whitespace cleanup: 's/ +$//g' | Jorge Arellano Cid | |
2009-02-06 | fix check for name/id mismatch (noticed by corvid) | 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-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. | |||
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-14 | inherit pseudo classes "link" and "visited" | Johannes Hofmann | |
2008-12-09 | add comment about inheritBackgroundColor() | 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-04 | add wordStyle() method to StyleEngine | Johannes Hofmann | |
2008-12-04 | hook up <style>...</style> parsing | Johannes Hofmann | |
2008-12-01 | fix DocTree implementation in StyleEngine | Johannes Hofmann | |
2008-11-28 | add workaround for table row coloring | Johannes Hofmann | |
2008-11-14 | fix id, class, style attribute handling | Johannes Hofmann | |
2008-11-14 | setNonCssProperties() -> setNonCssHints() | Johannes Hofmann | |
2008-11-14 | call StyleEngine::startElement() in Html_force_push_tag() to fix assertions | Johannes Hofmann | |
2008-11-13 | start implementing resolution of relative CSS values | Johannes Hofmann | |
2008-11-13 | use CssLength in computeValue | Johannes Hofmann | |
2008-11-13 | compute relative values | Johannes Hofmann | |
2008-11-08 | set CSS pseudo class in Html_tag_open_a() | Johannes Hofmann | |
2008-10-30 | remove nonCssProperties from Node | Johannes Hofmann | |
2008-10-29 | pass Layout to StyleEngine | Johannes Hofmann | |