summaryrefslogtreecommitdiff
path: root/src/parse/propstrings.c
diff options
context:
space:
mode:
authorJohn Mark Bell <jmb@netsurf-browser.org>2011-01-31 00:18:15 +0000
committerJohn Mark Bell <jmb@netsurf-browser.org>2011-01-31 00:18:15 +0000
commit9fa9b9d104c730ef6d84b19245b61ebc9554b432 (patch)
treefb4f28285283241da6490b482dc61aac731f48a8 /src/parse/propstrings.c
parent6ba000db056d7e9b70a7e154a003644046bf7e98 (diff)
downloadlibcss-9fa9b9d104c730ef6d84b19245b61ebc9554b432.tar.gz
libcss-9fa9b9d104c730ef6d84b19245b61ebc9554b432.tar.bz2
CSS3 Selectors
svn path=/trunk/libcss/; revision=11557
Diffstat (limited to 'src/parse/propstrings.c')
-rw-r--r--src/parse/propstrings.c18
1 files changed, 18 insertions, 0 deletions
diff --git a/src/parse/propstrings.c b/src/parse/propstrings.c
index 487ad98..37ced63 100644
--- a/src/parse/propstrings.c
+++ b/src/parse/propstrings.c
@@ -36,6 +36,22 @@ const stringmap_entry stringmap[LAST_KNOWN] = {
{ "focus", SLEN("focus") },
{ "lang", SLEN("lang") },
{ "first", SLEN("first") },
+ { "root", SLEN("root") },
+ { "nth-child", SLEN("nth-child") },
+ { "nth-last-child", SLEN("nth-last-child") },
+ { "nth-of-type", SLEN("nth-of-type") },
+ { "nth-last-of-type", SLEN("nth-last-of-type") },
+ { "last-child", SLEN("last-child") },
+ { "first-of-type", SLEN("first-of-type") },
+ { "last-of-type", SLEN("last-of-type") },
+ { "only-child", SLEN("only-child") },
+ { "only-of-type", SLEN("only-of-type") },
+ { "empty", SLEN("empty") },
+ { "target", SLEN("target") },
+ { "enabled", SLEN("enabled") },
+ { "disabled", SLEN("disabled") },
+ { "checked", SLEN("checked") },
+ { "not", SLEN("not") },
{ "first-line", SLEN("first-line") },
{ "first-letter", SLEN("first-letter") },
@@ -338,6 +354,8 @@ const stringmap_entry stringmap[LAST_KNOWN] = {
{ "-libcss-center", SLEN("-libcss-center") },
{ "-libcss-right", SLEN("-libcss-right") },
{ "currentColor", SLEN("currentColor") },
+ { "odd", SLEN("odd") },
+ { "even", SLEN("even") },
{ "aliceblue", SLEN("aliceblue") },
{ "antiquewhite", SLEN("antiquewhite") },