diff options
author | John Mark Bell <jmb@netsurf-browser.org> | 2009-08-22 09:33:04 +0000 |
---|---|---|
committer | John Mark Bell <jmb@netsurf-browser.org> | 2009-08-22 09:33:04 +0000 |
commit | 758b01f92c0d8e1cdd966a5127e267efd0fe6391 (patch) | |
tree | adcb0d6e0a09c2745630ac2520416da513d1eb03 /include/libcss/properties.h | |
parent | 64ffb54faffc493ff1cd35943a89d62d08183317 (diff) | |
download | libcss-758b01f92c0d8e1cdd966a5127e267efd0fe6391.tar.gz |
It turns out that using magic values for text-align is simpler than having an entirely new property for html alignment.
svn path=/trunk/libcss/; revision=9387
Diffstat (limited to 'include/libcss/properties.h')
-rw-r--r-- | include/libcss/properties.h | 18 |
1 files changed, 5 insertions, 13 deletions
diff --git a/include/libcss/properties.h b/include/libcss/properties.h index 38b264e..7ec277a 100644 --- a/include/libcss/properties.h +++ b/include/libcss/properties.h @@ -109,9 +109,7 @@ enum css_properties_e { CSS_PROP_WORD_SPACING = 0x061, CSS_PROP_Z_INDEX = 0x062, - CSS_PROP_LIBCSS_ALIGN = 0x063, - - CSS_N_PROPERTIES = CSS_PROP_LIBCSS_ALIGN + 1 + CSS_N_PROPERTIES = CSS_PROP_Z_INDEX + 1 }; @@ -512,7 +510,10 @@ enum css_text_align_e { CSS_TEXT_ALIGN_RIGHT = 0x2, CSS_TEXT_ALIGN_CENTER = 0x3, CSS_TEXT_ALIGN_JUSTIFY = 0x4, - CSS_TEXT_ALIGN_DEFAULT = 0x5 + CSS_TEXT_ALIGN_DEFAULT = 0x5, + CSS_TEXT_ALIGN_LIBCSS_LEFT = 0x6, + CSS_TEXT_ALIGN_LIBCSS_CENTER = 0x7, + CSS_TEXT_ALIGN_LIBCSS_RIGHT = 0x8 }; enum css_text_decoration_e { @@ -597,13 +598,4 @@ enum css_z_index_e { CSS_Z_INDEX_AUTO = 0x2 }; -enum css_libcss_align_e { - CSS_LIBCSS_ALIGN_INHERIT = 0x0, - CSS_LIBCSS_ALIGN_LEFT = 0x1, - CSS_LIBCSS_ALIGN_RIGHT = 0x2, - CSS_LIBCSS_ALIGN_CENTER = 0x3, - CSS_LIBCSS_ALIGN_JUSTIFY = 0x4, - CSS_LIBCSS_ALIGN_DEFAULT = 0x5 -}; - #endif |