diff options
author | John Mark Bell <jmb@netsurf-browser.org> | 2011-01-29 21:51:45 +0000 |
---|---|---|
committer | John Mark Bell <jmb@netsurf-browser.org> | 2011-01-29 21:51:45 +0000 |
commit | 6ba000db056d7e9b70a7e154a003644046bf7e98 (patch) | |
tree | 30c43ec8543ec9cb66169721e3268ea0a7cdb76f /include/libcss/properties.h | |
parent | 1b13f81b8259f4416df7b3063cb280cb977722d7 (diff) | |
download | libcss-6ba000db056d7e9b70a7e154a003644046bf7e98.tar.gz libcss-6ba000db056d7e9b70a7e154a003644046bf7e98.tar.bz2 |
Add support for opacity property
svn path=/trunk/libcss/; revision=11527
Diffstat (limited to 'include/libcss/properties.h')
-rw-r--r-- | include/libcss/properties.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/include/libcss/properties.h b/include/libcss/properties.h index 11fb04d..4218956 100644 --- a/include/libcss/properties.h +++ b/include/libcss/properties.h @@ -113,8 +113,9 @@ enum css_properties_e { CSS_PROP_WIDTH = 0x060, CSS_PROP_WORD_SPACING = 0x061, CSS_PROP_Z_INDEX = 0x062, + CSS_PROP_OPACITY = 0x063, - CSS_N_PROPERTIES = CSS_PROP_Z_INDEX + 1 + CSS_N_PROPERTIES }; @@ -441,6 +442,11 @@ enum css_min_width_e { CSS_MIN_WIDTH_SET = 0x1 }; +enum css_opacity_e { + CSS_OPACITY_INHERIT = 0x0, + CSS_OPACITY_SET = 0x1 +}; + enum css_outline_color_e { CSS_OUTLINE_COLOR_INHERIT = CSS_BACKGROUND_COLOR_INHERIT, CSS_OUTLINE_COLOR_COLOR = CSS_BACKGROUND_COLOR_COLOR, |