diff src/styleengine.hh @ 1732:3e3630a58627

store style attribute as CssPropertyList instead of a string
author Johannes Hofmann <Johannes.Hofmann@gmx.de>
date Mon, 11 Oct 2010 18:23:33 +0200
parents 92b899247f72
children f39cfc38ea10
line wrap: on
line diff
--- a/src/styleengine.hh	Mon Oct 11 18:08:31 2010 +0200
+++ b/src/styleengine.hh	Mon Oct 11 18:23:33 2010 +0200
@@ -20,9 +20,10 @@
 class StyleEngine {
    private:
       struct Node {
+         CssPropertyList *styleAttrProperties;
+         CssPropertyList *nonCssProperties;
          dw::core::style::Style *style;
          dw::core::style::Style *wordStyle;
-         const char *styleAttribute;
          bool inheritBackgroundColor;
       };
 
@@ -62,6 +63,7 @@
       void setPseudoLink ();
       void setPseudoVisited ();
       void setNonCssHints (CssPropertyList *nonCssHints);
+      void setNonCssHint(CssPropertyName name, CssPropertyValue value);
       void inheritBackgroundColor (); /* \todo get rid of this somehow */
       dw::core::style::Style *backgroundStyle ();