summaryrefslogtreecommitdiff
path: root/src/select/select.c
diff options
context:
space:
mode:
authorJohn Mark Bell <jmb@netsurf-browser.org>2009-02-10 00:39:18 +0000
committerJohn Mark Bell <jmb@netsurf-browser.org>2009-02-10 00:39:18 +0000
commit43b8d99a4caba7fe0557117c4cd9ae4554b8a79e (patch)
treeba2652fb45e789984e73e12c0ec9db14a5960b27 /src/select/select.c
parent7d50c0354fbcf7d4721f19bdf88286b56484eddb (diff)
downloadlibcss-43b8d99a4caba7fe0557117c4cd9ae4554b8a79e.tar.gz
libcss-43b8d99a4caba7fe0557117c4cd9ae4554b8a79e.tar.bz2
Distinguish between pseudo classes and pseudo elements
svn path=/trunk/libcss/; revision=6406
Diffstat (limited to 'src/select/select.c')
-rw-r--r--src/select/select.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/select/select.c b/src/select/select.c
index f6ff8c3..8e620ea 100644
--- a/src/select/select.c
+++ b/src/select/select.c
@@ -645,8 +645,11 @@ css_error match_detail(css_select_ctx *ctx, void *node,
detail->name->data, detail->name->len,
match);
break;
- case CSS_SELECTOR_PSEUDO:
- /** \todo pseudo classes/elements */
+ case CSS_SELECTOR_PSEUDO_CLASS:
+ /** \todo pseudo classes */
+ break;
+ case CSS_SELECTOR_PSEUDO_ELEMENT:
+ /** \todo pseudo elements */
break;
case CSS_SELECTOR_ATTRIBUTE:
error = state->handler->node_has_attribute(state->pw, node,