aboutsummaryrefslogtreecommitdiff
path: root/src/styleengine.hh
diff options
context:
space:
mode:
authorJohannes Hofmann <Johannes.Hofmann@gmx.de>2008-11-14 20:18:35 +0100
committerJohannes Hofmann <Johannes.Hofmann@gmx.de>2008-11-14 20:18:35 +0100
commit9f4b89a224206d3304c8a288badb06fdadf45824 (patch)
tree09c37285bc996161e5770612de380be4a5e78f6d /src/styleengine.hh
parentce6e984ce9eb610e3f1f7574943786761b0aca35 (diff)
fix id, class, style attribute handling
Diffstat (limited to 'src/styleengine.hh')
-rw-r--r--src/styleengine.hh8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/styleengine.hh b/src/styleengine.hh
index 7f41705e..60b044b8 100644
--- a/src/styleengine.hh
+++ b/src/styleengine.hh
@@ -37,11 +37,13 @@ class StyleEngine : public Doctree {
return NULL;
};
- void startElement (int tag, const char *id = NULL, const char *klass = NULL,
- const char *style = NULL);
+ void startElement (int tag);
+ void setId (const char *id);
+ void setClass (const char *klass);
+ void setStyle (const char *style);
void endElement (int tag);
+ void setPseudo (const char *pseudo);
void setNonCssHints (CssPropertyList *nonCssHints);
- void setPseudoClass (const char *pseudoClass);
inline dw::core::style::Style *style () {
dw::core::style::Style *s = stack->getRef (stack->size () - 1)->style;