summaryrefslogtreecommitdiff
path: root/src/parse/propstrings.c
diff options
context:
space:
mode:
authorMichael Drake <michael.drake@codethink.co.uk>2017-04-27 10:56:03 +0100
committerMichael Drake <michael.drake@codethink.co.uk>2017-04-27 10:56:03 +0100
commited0b3a8c9d3549fb0a66372d4bbd3566138c2a06 (patch)
treed3a8fc64ba19b5ed420b08d1dd9441a32be546b0 /src/parse/propstrings.c
parent4729f01919b7ba3f99abfea8900931616fbb8320 (diff)
downloadlibcss-ed0b3a8c9d3549fb0a66372d4bbd3566138c2a06.tar.gz
libcss-ed0b3a8c9d3549fb0a66372d4bbd3566138c2a06.tar.bz2
Parsing: Add support for parsing the CSS3 box-sizing property.
Diffstat (limited to 'src/parse/propstrings.c')
-rw-r--r--src/parse/propstrings.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/parse/propstrings.c b/src/parse/propstrings.c
index 2c166a0..dd6bee4 100644
--- a/src/parse/propstrings.c
+++ b/src/parse/propstrings.c
@@ -112,6 +112,7 @@ const stringmap_entry stringmap[LAST_KNOWN] = {
{ "border-top-width", SLEN("border-top-width") },
{ "border-width", SLEN("border-width") },
{ "bottom", SLEN("bottom") },
+ { "box-sizing", SLEN("box-sizing") },
{ "break-after", SLEN("break-after") },
{ "break-before", SLEN("break-before") },
{ "break-inside", SLEN("break-inside") },
@@ -412,6 +413,8 @@ const stringmap_entry stringmap[LAST_KNOWN] = {
{ "horizontal-tb", SLEN("horizontal-tb") },
{ "vertical-rl", SLEN("vertical-rl") },
{ "vertical-lr", SLEN("vertical-lr") },
+ { "content-box", SLEN("content-box") },
+ { "border-box", SLEN("border-box") },
{ "aliceblue", SLEN("aliceblue") },
{ "antiquewhite", SLEN("antiquewhite") },