summaryrefslogtreecommitdiff
path: root/src/bytecode/opcodes.h
diff options
context:
space:
mode:
authorJohn Mark Bell <jmb@netsurf-browser.org>2008-12-03 16:00:32 +0000
committerJohn Mark Bell <jmb@netsurf-browser.org>2008-12-03 16:00:32 +0000
commite14ee0baa1b7f2bfdca10fa5852385a200746c7d (patch)
treec2999575403b45b8d246ceb8291357ad18a4b6a0 /src/bytecode/opcodes.h
parent23aa9cd7d8154c822335531f0619acce43f544b8 (diff)
downloadlibcss-e14ee0baa1b7f2bfdca10fa5852385a200746c7d.tar.gz
libcss-e14ee0baa1b7f2bfdca10fa5852385a200746c7d.tar.bz2
Changes to the encoding of content in bytecode to better match the spec.
Beginnings of a content property parser. svn path=/trunk/libcss/; revision=5874
Diffstat (limited to 'src/bytecode/opcodes.h')
-rw-r--r--src/bytecode/opcodes.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/bytecode/opcodes.h b/src/bytecode/opcodes.h
index 330489e..790b93b 100644
--- a/src/bytecode/opcodes.h
+++ b/src/bytecode/opcodes.h
@@ -140,7 +140,11 @@ enum op_content {
CONTENT_STRING = 0x0080,
CONTENT_URI = 0x0081,
CONTENT_COUNTER = 0x0082,
- CONTENT_ATTR = 0x0083,
+ CONTENT_COUNTERS = 0x0083,
+ CONTENT_ATTR = 0x0084,
+
+ CONTENT_COUNTER_STYLE_SHIFT = 8,
+ CONTENT_COUNTERS_STYLE_SHIFT = 8,
CONTENT_NORMAL = 0x0000,
CONTENT_NONE = 0x0001,