changeset 680:d79762895bd9

call inheritBackgroundColor() in Html_open_h()
author Johannes Hofmann <Johannes.Hofmann@gmx.de>
date Mon, 15 Dec 2008 16:40:50 +0100
parents 14ce954d98c0
children c5e18de0d8eb
files src/html.cc
diffstat 1 files changed, 4 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/html.cc	Sun Dec 14 22:21:18 2008 +0100
+++ b/src/html.cc	Mon Dec 15 16:40:50 2008 +0100
@@ -1825,11 +1825,13 @@
 {
    CssPropertyList props;
 
-   DW2TB(html->dw)->addParbreak (9, html->styleEngine->wordStyle ());
-
+
+   html->styleEngine->inheritBackgroundColor ();
    a_Html_tag_set_align_attr (html, &props, tag, tagsize);
    html->styleEngine->setNonCssHints (&props);
 
+   DW2TB(html->dw)->addParbreak (9, html->styleEngine->wordStyle ());
+
    /* First finalize unclosed H tags (we test if already named anyway) */
    a_Menu_pagemarks_set_text(html->bw, html->Stash->str);
    a_Menu_pagemarks_add(html->bw, DW2TB(html->dw),