diff options
author | John Mark Bell <jmb@netsurf-browser.org> | 2008-11-25 19:02:51 +0000 |
---|---|---|
committer | John Mark Bell <jmb@netsurf-browser.org> | 2008-11-25 19:02:51 +0000 |
commit | 131f35a6bc639962fdc02d0f7f8e15cda637621e (patch) | |
tree | cce8fce38e7e1f496fc7de5eb25dd9995b151a82 /src/bytecode | |
parent | 804356284adc96b004a5d12b1c2a6f9026161e02 (diff) | |
download | libcss-131f35a6bc639962fdc02d0f7f8e15cda637621e.tar.gz libcss-131f35a6bc639962fdc02d0f7f8e15cda637621e.tar.bz2 |
max-height
max-width
min-height
min-width
orphans
outline-color
outline-style
TODO: fix all instances of the creation of bytecode with parameters. Currently, they only consult value to determine if there are additional parameters. This means that, in the case of inherit and the default value being one which takes parameters, spurious space is allocated in the bytecode.
svn path=/trunk/libcss/; revision=5771
Diffstat (limited to 'src/bytecode')
-rw-r--r-- | src/bytecode/opcodes.h | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/src/bytecode/opcodes.h b/src/bytecode/opcodes.h index b97b738..bd03970 100644 --- a/src/bytecode/opcodes.h +++ b/src/bytecode/opcodes.h @@ -369,23 +369,23 @@ enum op_outline_color { }; enum op_outline_style { - OUTLINE_STYLE_NONE = 0x0000, - OUTLINE_STYLE_HIDDEN = 0x0001, - OUTLINE_STYLE_DOTTED = 0x0002, - OUTLINE_STYLE_DASHED = 0x0003, - OUTLINE_STYLE_SOLID = 0x0004, - OUTLINE_STYLE_DOUBLE = 0x0005, - OUTLINE_STYLE_GROOVE = 0x0006, - OUTLINE_STYLE_RIDGE = 0x0007, - OUTLINE_STYLE_INSET = 0x0008, - OUTLINE_STYLE_OUTSET = 0x0009, + OUTLINE_STYLE_NONE = BORDER_STYLE_NONE, + OUTLINE_STYLE_HIDDEN = BORDER_STYLE_HIDDEN, + OUTLINE_STYLE_DOTTED = BORDER_STYLE_DOTTED, + OUTLINE_STYLE_DASHED = BORDER_STYLE_DASHED, + OUTLINE_STYLE_SOLID = BORDER_STYLE_SOLID, + OUTLINE_STYLE_DOUBLE = BORDER_STYLE_DOUBLE, + OUTLINE_STYLE_GROOVE = BORDER_STYLE_GROOVE, + OUTLINE_STYLE_RIDGE = BORDER_STYLE_RIDGE, + OUTLINE_STYLE_INSET = BORDER_STYLE_INSET, + OUTLINE_STYLE_OUTSET = BORDER_STYLE_OUTSET, }; enum op_outline_width { - OUTLINE_WIDTH_SET = 0x0080, - OUTLINE_WIDTH_THIN = 0x0000, - OUTLINE_WIDTH_MEDIUM = 0x0001, - OUTLINE_WIDTH_THICK = 0x0002, + OUTLINE_WIDTH_SET = BORDER_WIDTH_SET, + OUTLINE_WIDTH_THIN = BORDER_WIDTH_THIN, + OUTLINE_WIDTH_MEDIUM = BORDER_WIDTH_MEDIUM, + OUTLINE_WIDTH_THICK = BORDER_WIDTH_THICK, }; enum op_overflow { |