summaryrefslogtreecommitdiff
path: root/src/bytecode/opcodes.h
diff options
context:
space:
mode:
authorMichael Drake <tlsa@netsurf-browser.org>2022-11-03 08:59:53 +0000
committerMichael Drake <tlsa@netsurf-browser.org>2022-11-03 08:59:53 +0000
commite6d5d797176bca17454b81a328b1329aaa84ff6a (patch)
tree037f29f2e3eda2e7ec9f07cb8005cfc27929742f /src/bytecode/opcodes.h
parent4d9a3d3e1dcdaa912dd00341a668ced672847a26 (diff)
downloadlibcss-e6d5d797176bca17454b81a328b1329aaa84ff6a.tar.gz
properties: Define align-self values in terms of align-items
Diffstat (limited to 'src/bytecode/opcodes.h')
-rw-r--r--src/bytecode/opcodes.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/bytecode/opcodes.h b/src/bytecode/opcodes.h
index b82172f..8bc05b4 100644
--- a/src/bytecode/opcodes.h
+++ b/src/bytecode/opcodes.h
@@ -29,11 +29,11 @@ enum op_align_items {
};
enum op_align_self {
- ALIGN_SELF_STRETCH = 0x0000,
- ALIGN_SELF_FLEX_START = 0x0001,
- ALIGN_SELF_FLEX_END = 0x0002,
- ALIGN_SELF_CENTER = 0x0003,
- ALIGN_SELF_BASELINE = 0x0004,
+ ALIGN_SELF_STRETCH = ALIGN_ITEMS_STRETCH,
+ ALIGN_SELF_FLEX_START = ALIGN_ITEMS_FLEX_START,
+ ALIGN_SELF_FLEX_END = ALIGN_ITEMS_FLEX_END,
+ ALIGN_SELF_CENTER = ALIGN_ITEMS_CENTER,
+ ALIGN_SELF_BASELINE = ALIGN_ITEMS_BASELINE,
ALIGN_SELF_AUTO = 0x0005
};