summaryrefslogtreecommitdiff
path: root/include/libcss/properties.h
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 /include/libcss/properties.h
parent4729f01919b7ba3f99abfea8900931616fbb8320 (diff)
downloadlibcss-ed0b3a8c9d3549fb0a66372d4bbd3566138c2a06.tar.gz
libcss-ed0b3a8c9d3549fb0a66372d4bbd3566138c2a06.tar.bz2
Parsing: Add support for parsing the CSS3 box-sizing property.
Diffstat (limited to 'include/libcss/properties.h')
-rw-r--r--include/libcss/properties.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/libcss/properties.h b/include/libcss/properties.h
index 0840f6f..06c033f 100644
--- a/include/libcss/properties.h
+++ b/include/libcss/properties.h
@@ -127,6 +127,7 @@ enum css_properties_e {
CSS_PROP_COLUMN_WIDTH = 0x06e,
CSS_PROP_WRITING_MODE = 0x06f,
CSS_PROP_OVERFLOW_Y = 0x070,
+ CSS_PROP_BOX_SIZING = 0x071,
CSS_N_PROPERTIES
};
@@ -209,6 +210,12 @@ enum css_bottom_e {
CSS_BOTTOM_AUTO = 0x2
};
+enum css_box_sizing_e {
+ CSS_BOX_SIZING_INHERIT = 0x0,
+ CSS_BOX_SIZING_CONTENT_BOX = 0x1,
+ CSS_BOX_SIZING_BORDER_BOX = 0x2
+};
+
enum css_break_after_e {
CSS_BREAK_AFTER_INHERIT = 0x0,
CSS_BREAK_AFTER_AUTO = 0x1,