aboutsummaryrefslogtreecommitdiff
path: root/src/css.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/css.hh')
-rw-r--r--src/css.hh7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/css.hh b/src/css.hh
index af7cc960..d196fe1e 100644
--- a/src/css.hh
+++ b/src/css.hh
@@ -12,7 +12,6 @@ class CssProperty {
} Value;
typedef enum {
- CSS_PROPERTY_END = -1,
CSS_PROPERTY_BACKGROUND_ATTACHMENT,
CSS_PROPERTY_BACKGROUND_COLOR,
CSS_PROPERTY_BACKGROUND_IMAGE,
@@ -156,13 +155,13 @@ class CssPropertyList : public lout::misc::SimpleVector <CssProperty> {
/** \todo proper implementation */
class CssSelector {
public:
- int tag;
+ int element;
const char *klass, *pseudo, *id;
public:
- CssSelector (int tag = -1, const char *klass = NULL,
+ CssSelector (int element = -1, const char *klass = NULL,
const char *pseudo = NULL, const char *id = NULL) {
- this->tag = tag;
+ this->element = element;
this->klass = klass;
this->pseudo = pseudo;
this->id = id;