summaryrefslogtreecommitdiff
path: root/src/bytecode
diff options
context:
space:
mode:
authorCaitlin Potter <snowball@defpixel.com>2013-09-10 17:44:53 +0100
committerMichael Drake <tlsa@netsurf-browser.org>2013-09-10 17:44:53 +0100
commitbc9c80c2dbf21d805f5372aea3df14d310a1512c (patch)
tree990fab4a6a72e7ddea5f12da20329412da5006b6 /src/bytecode
parent2234cab352b0ef702b32aaa7ef433c4793086824 (diff)
downloadlibcss-bc9c80c2dbf21d805f5372aea3df14d310a1512c.tar.gz
libcss-bc9c80c2dbf21d805f5372aea3df14d310a1512c.tar.bz2
Add support for parsing the writing-mode property. Thanks to Caitlin Potter.
Diffstat (limited to 'src/bytecode')
-rw-r--r--src/bytecode/opcodes.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/bytecode/opcodes.h b/src/bytecode/opcodes.h
index a0d38d4..544687a 100644
--- a/src/bytecode/opcodes.h
+++ b/src/bytecode/opcodes.h
@@ -718,6 +718,12 @@ enum op_word_spacing {
WORD_SPACING_NORMAL = 0x0000
};
+enum op_writing_mode {
+ WRITING_MODE_HORIZONTAL_TB = 0x0000,
+ WRITING_MODE_VERTICAL_RL = 0x0001,
+ WRITING_MODE_VERTICAL_LR = 0x0002
+};
+
enum op_z_index {
Z_INDEX_SET = 0x0080,