summaryrefslogtreecommitdiff
path: root/src/parse/propstrings.h
diff options
context:
space:
mode:
authorJohn Mark Bell <jmb@netsurf-browser.org>2009-02-14 14:12:14 +0000
committerJohn Mark Bell <jmb@netsurf-browser.org>2009-02-14 14:12:14 +0000
commit4ea236159365de19fd77dab0f63db055de124f99 (patch)
tree514bd61a0a60f2135a51e65a53497c797c5b6f3e /src/parse/propstrings.h
parentf2ed699ce61ea40708ab97156fc747456b9585a7 (diff)
downloadlibcss-4ea236159365de19fd77dab0f63db055de124f99.tar.gz
libcss-4ea236159365de19fd77dab0f63db055de124f99.tar.bz2
Parse media type list in @import rule
svn path=/trunk/libcss/; revision=6490
Diffstat (limited to 'src/parse/propstrings.h')
-rw-r--r--src/parse/propstrings.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/parse/propstrings.h b/src/parse/propstrings.h
index 2fa3d31..10c394a 100644
--- a/src/parse/propstrings.h
+++ b/src/parse/propstrings.h
@@ -17,6 +17,10 @@ enum {
/* At-rules */
CHARSET, IMPORT, MEDIA, PAGE,
+ /* Media types */
+ AURAL, BRAILLE, EMBOSSED, HANDHELD, PRINT, PROJECTION,
+ SCREEN, SPEECH, TTY, TV, ALL,
+
/* Pseudo classes */
FIRST_CHILD, LINK, VISITED, HOVER, ACTIVE, FOCUS, LANG,
/* LEFT, RIGHT, -- already in properties */ FIRST,
@@ -93,6 +97,18 @@ static struct {
{ "media", SLEN("media") },
{ "page", SLEN("page") },
+ { "aural", SLEN("aural") },
+ { "braille", SLEN("braille") },
+ { "embossed", SLEN("embossed") },
+ { "handheld", SLEN("handheld") },
+ { "print", SLEN("print") },
+ { "projection", SLEN("projection") },
+ { "screen", SLEN("screen") },
+ { "speech", SLEN("speech") },
+ { "tty", SLEN("tty") },
+ { "tv", SLEN("tv") },
+ { "all", SLEN("all") },
+
{ "first-child", SLEN("first-child") },
{ "link", SLEN("link") },
{ "visited", SLEN("visited") },