summaryrefslogtreecommitdiff
path: root/src/parse/propstrings.c
diff options
context:
space:
mode:
authorJohn Mark Bell <jmb@netsurf-browser.org>2009-06-25 01:26:30 +0000
committerJohn Mark Bell <jmb@netsurf-browser.org>2009-06-25 01:26:30 +0000
commita8aacc54b11fd1fc9d84c7d85dd058d3f90e7c32 (patch)
tree0dd82a8963180a42e2e446de8a509cc42b5d171e /src/parse/propstrings.c
parent60b5130daa08928bcc86f69b018c0466ebdda582 (diff)
downloadlibcss-a8aacc54b11fd1fc9d84c7d85dd058d3f90e7c32.tar.gz
libcss-a8aacc54b11fd1fc9d84c7d85dd058d3f90e7c32.tar.bz2
Border and outline shorthand property parsers
svn path=/trunk/libcss/; revision=7956
Diffstat (limited to 'src/parse/propstrings.c')
-rw-r--r--src/parse/propstrings.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/parse/propstrings.c b/src/parse/propstrings.c
index 2098b60..fbe2d66 100644
--- a/src/parse/propstrings.c
+++ b/src/parse/propstrings.c
@@ -49,20 +49,28 @@ const stringmap_entry stringmap[LAST_KNOWN] = {
{ "background-image", SLEN("background-image") },
{ "background-position", SLEN("background-position") },
{ "background-repeat", SLEN("background-repeat") },
+ { "border", SLEN("border") },
+ { "border-bottom", SLEN("border-bottom") },
{ "border-bottom-color", SLEN("border-bottom-color") },
{ "border-bottom-style", SLEN("border-bottom-style") },
{ "border-bottom-width", SLEN("border-bottom-width") },
{ "border-collapse", SLEN("border-collapse") },
+ { "border-color", SLEN("border-color") },
+ { "border-left", SLEN("border-left") },
{ "border-left-color", SLEN("border-left-color") },
{ "border-left-style", SLEN("border-left-style") },
{ "border-left-width", SLEN("border-left-width") },
+ { "border-right", SLEN("border-right") },
{ "border-right-color", SLEN("border-right-color") },
{ "border-right-style", SLEN("border-right-style") },
{ "border-right-width", SLEN("border-right-width") },
{ "border-spacing", SLEN("border-spacing") },
+ { "border-style", SLEN("border-style") },
+ { "border-top", SLEN("border-top") },
{ "border-top-color", SLEN("border-top-color") },
{ "border-top-style", SLEN("border-top-style") },
{ "border-top-width", SLEN("border-top-width") },
+ { "border-width", SLEN("border-width") },
{ "bottom", SLEN("bottom") },
{ "caption-side", SLEN("caption-side") },
{ "clear", SLEN("clear") },
@@ -100,6 +108,7 @@ const stringmap_entry stringmap[LAST_KNOWN] = {
{ "min-height", SLEN("min-height") },
{ "min-width", SLEN("min-width") },
{ "orphans", SLEN("orphans") },
+ { "outline", SLEN("outline") },
{ "outline-color", SLEN("outline-color") },
{ "outline-style", SLEN("outline-style") },
{ "outline-width", SLEN("outline-width") },