summaryrefslogtreecommitdiff
path: root/src/bytecode
diff options
context:
space:
mode:
authorJohn Mark Bell <jmb@netsurf-browser.org>2009-08-22 09:33:04 +0000
committerJohn Mark Bell <jmb@netsurf-browser.org>2009-08-22 09:33:04 +0000
commit758b01f92c0d8e1cdd966a5127e267efd0fe6391 (patch)
treeadcb0d6e0a09c2745630ac2520416da513d1eb03 /src/bytecode
parent64ffb54faffc493ff1cd35943a89d62d08183317 (diff)
downloadlibcss-758b01f92c0d8e1cdd966a5127e267efd0fe6391.tar.gz
libcss-758b01f92c0d8e1cdd966a5127e267efd0fe6391.tar.bz2
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 'src/bytecode')
-rw-r--r--src/bytecode/opcodes.h12
1 files changed, 4 insertions, 8 deletions
diff --git a/src/bytecode/opcodes.h b/src/bytecode/opcodes.h
index f583537..3fad172 100644
--- a/src/bytecode/opcodes.h
+++ b/src/bytecode/opcodes.h
@@ -522,7 +522,10 @@ enum op_text_align {
TEXT_ALIGN_LEFT = 0x0000,
TEXT_ALIGN_RIGHT = 0x0001,
TEXT_ALIGN_CENTER = 0x0002,
- TEXT_ALIGN_JUSTIFY = 0x0003
+ TEXT_ALIGN_JUSTIFY = 0x0003,
+ TEXT_ALIGN_LIBCSS_LEFT = 0x0004,
+ TEXT_ALIGN_LIBCSS_CENTER = 0x0005,
+ TEXT_ALIGN_LIBCSS_RIGHT = 0x0006
};
enum op_text_decoration {
@@ -628,12 +631,5 @@ enum op_z_index {
Z_INDEX_AUTO = 0x0000
};
-enum op_libcss_align {
- LIBCSS_ALIGN_LEFT = 0x0000,
- LIBCSS_ALIGN_RIGHT = 0x0001,
- LIBCSS_ALIGN_CENTER = 0x0002,
- LIBCSS_ALIGN_JUSTIFY = 0x0003
-};
-
#endif