diff options
author | Caitlin Potter <snowball@defpixel.com> | 2013-09-10 17:44:53 +0100 |
---|---|---|
committer | Michael Drake <tlsa@netsurf-browser.org> | 2013-09-10 17:44:53 +0100 |
commit | bc9c80c2dbf21d805f5372aea3df14d310a1512c (patch) | |
tree | 990fab4a6a72e7ddea5f12da20329412da5006b6 /include | |
parent | 2234cab352b0ef702b32aaa7ef433c4793086824 (diff) | |
download | libcss-bc9c80c2dbf21d805f5372aea3df14d310a1512c.tar.gz |
Add support for parsing the writing-mode property. Thanks to Caitlin Potter.
Diffstat (limited to 'include')
-rw-r--r-- | include/libcss/properties.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/include/libcss/properties.h b/include/libcss/properties.h index feba9ce..bbb6baa 100644 --- a/include/libcss/properties.h +++ b/include/libcss/properties.h @@ -125,6 +125,7 @@ enum css_properties_e { CSS_PROP_COLUMN_RULE_WIDTH = 0x06c, CSS_PROP_COLUMN_SPAN = 0x06d, CSS_PROP_COLUMN_WIDTH = 0x06e, + CSS_PROP_WRITING_MODE = 0x06f, CSS_N_PROPERTIES }; @@ -740,6 +741,13 @@ enum css_word_spacing_e { CSS_WORD_SPACING_NORMAL = 0x2 }; +enum css_writing_mode_e { + CSS_WRITING_MODE_INHERIT = 0x0, + CSS_WRITING_MODE_HORIZONTAL_TB = 0x1, + CSS_WRITING_MODE_VERTICAL_RL = 0x2, + CSS_WRITING_MODE_VERTICAL_LR = 0x3 +}; + enum css_z_index_e { CSS_Z_INDEX_INHERIT = 0x0, CSS_Z_INDEX_SET = 0x1, |