summaryrefslogtreecommitdiff
path: root/src/css.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/css.hh')
-rw-r--r--src/css.hh6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/css.hh b/src/css.hh
index 017a2fc2..a18e8987 100644
--- a/src/css.hh
+++ b/src/css.hh
@@ -156,12 +156,14 @@ class CssPropertyList : public lout::misc::SimpleVector <CssProperty> {
class CssSelector {
private:
int tag;
- const char *klass, *id;
+ const char *klass, *pseudo, *id;
public:
- CssSelector (int tag, const char *klass, const char *id) {
+ CssSelector (int tag, const char *klass = NULL,
+ const char *pseudo = NULL, const char *id = NULL) {
this->tag = tag;
this->klass = klass;
+ this->pseudo = pseudo;
this->id = id;
};