summaryrefslogtreecommitdiff
path: root/include/libcss/properties.h
diff options
context:
space:
mode:
authorJohn Mark Bell <jmb@netsurf-browser.org>2011-01-29 17:53:22 +0000
committerJohn Mark Bell <jmb@netsurf-browser.org>2011-01-29 17:53:22 +0000
commit1b13f81b8259f4416df7b3063cb280cb977722d7 (patch)
tree5e34f4150c1fc3bcdcd436781f4799571a40cbd4 /include/libcss/properties.h
parent9838246d69a3d48a8d0d286ecbfcd1faa199ae91 (diff)
downloadlibcss-1b13f81b8259f4416df7b3063cb280cb977722d7.tar.gz
libcss-1b13f81b8259f4416df7b3063cb280cb977722d7.tar.bz2
Centralise handling of transparent colours.
Add support for currentColor svn path=/trunk/libcss/; revision=11525
Diffstat (limited to 'include/libcss/properties.h')
-rw-r--r--include/libcss/properties.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/include/libcss/properties.h b/include/libcss/properties.h
index 0c139a3..11fb04d 100644
--- a/include/libcss/properties.h
+++ b/include/libcss/properties.h
@@ -126,8 +126,8 @@ enum css_background_attachment_e {
enum css_background_color_e {
CSS_BACKGROUND_COLOR_INHERIT = 0x0,
- CSS_BACKGROUND_COLOR_TRANSPARENT = 0x1,
- CSS_BACKGROUND_COLOR_COLOR = 0x2
+ CSS_BACKGROUND_COLOR_COLOR = 0x1,
+ CSS_BACKGROUND_COLOR_CURRENT_COLOR = 0x2
};
enum css_background_image_e {
@@ -163,9 +163,8 @@ enum css_border_spacing_e {
enum css_border_color_e {
CSS_BORDER_COLOR_INHERIT = CSS_BACKGROUND_COLOR_INHERIT,
- CSS_BORDER_COLOR_TRANSPARENT = CSS_BACKGROUND_COLOR_TRANSPARENT,
CSS_BORDER_COLOR_COLOR = CSS_BACKGROUND_COLOR_COLOR,
- CSS_BORDER_COLOR_INITIAL = 0x3
+ CSS_BORDER_COLOR_CURRENT_COLOR = CSS_BACKGROUND_COLOR_CURRENT_COLOR,
};
enum css_border_style_e {
@@ -443,9 +442,10 @@ enum css_min_width_e {
};
enum css_outline_color_e {
- CSS_OUTLINE_COLOR_INHERIT = 0x0,
- CSS_OUTLINE_COLOR_COLOR = 0x1,
- CSS_OUTLINE_COLOR_INVERT = 0x2
+ CSS_OUTLINE_COLOR_INHERIT = CSS_BACKGROUND_COLOR_INHERIT,
+ CSS_OUTLINE_COLOR_COLOR = CSS_BACKGROUND_COLOR_COLOR,
+ CSS_OUTLINE_COLOR_CURRENT_COLOR = CSS_BACKGROUND_COLOR_CURRENT_COLOR,
+ CSS_OUTLINE_COLOR_INVERT = 0x3
};
enum css_outline_style_e {