summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn-Mark Bell <jmb@netsurf-browser.org>2017-02-05 12:18:11 (GMT)
committer John-Mark Bell <jmb@netsurf-browser.org>2017-02-05 12:18:11 (GMT)
commitf83915d4fe8b6cba8b52422dd2a6240cae712c6b (patch)
tree03cf2cde70d04645998887b7ae421f12ea5520f0
parent7d759aba6639709b23b92f9fb6cb29099ff612d3 (diff)
downloadlibcss-f83915d4fe8b6cba8b52422dd2a6240cae712c6b.tar.gz
libcss-f83915d4fe8b6cba8b52422dd2a6240cae712c6b.tar.bz2
Propstrings: add AND, ONLY, OR
-rw-r--r--src/parse/propstrings.c3
-rw-r--r--src/parse/propstrings.h1
2 files changed, 4 insertions, 0 deletions
diff --git a/src/parse/propstrings.c b/src/parse/propstrings.c
index 2c166a0..5a59a7e 100644
--- a/src/parse/propstrings.c
+++ b/src/parse/propstrings.c
@@ -412,6 +412,9 @@ const stringmap_entry stringmap[LAST_KNOWN] = {
{ "horizontal-tb", SLEN("horizontal-tb") },
{ "vertical-rl", SLEN("vertical-rl") },
{ "vertical-lr", SLEN("vertical-lr") },
+ { "and", SLEN("and") },
+ { "or", SLEN("or") },
+ { "only", SLEN("only") },
{ "aliceblue", SLEN("aliceblue") },
{ "antiquewhite", SLEN("antiquewhite") },
diff --git a/src/parse/propstrings.h b/src/parse/propstrings.h
index c686a91..3d4753f 100644
--- a/src/parse/propstrings.h
+++ b/src/parse/propstrings.h
@@ -98,6 +98,7 @@ enum {
LIBCSS_RIGHT, CURRENTCOLOR, ODD, EVEN, SRC, LOCAL, INITIAL,
FORMAT, WOFF, TRUETYPE, OPENTYPE, EMBEDDED_OPENTYPE, SVG, COLUMN,
AVOID_PAGE, AVOID_COLUMN, BALANCE, HORIZONTAL_TB, VERTICAL_RL, VERTICAL_LR,
+ AND, OR, ONLY,
/* Named colours */
FIRST_COLOUR,