From 758b01f92c0d8e1cdd966a5127e267efd0fe6391 Mon Sep 17 00:00:00 2001 From: John Mark Bell Date: Sat, 22 Aug 2009 09:33:04 +0000 Subject: 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 --- src/bytecode/opcodes.h | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) (limited to 'src/bytecode/opcodes.h') 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 -- cgit v1.2.3