summaryrefslogtreecommitdiff
path: root/src/bytecode
diff options
context:
space:
mode:
authorLucas Neves <lcneves@gmail.com>2017-11-13 21:19:03 +0000
committerLucas Neves <lcneves@gmail.com>2017-11-13 21:19:03 +0000
commitdfbf50683125344885c26d5d7407356d97f54651 (patch)
tree031e2d8b8f13cc7ff06a5f3ba94d8c1f21f6d38f /src/bytecode
parent3f00f3b7c6f2492600feb7bce70e1ae6ca8f4475 (diff)
downloadlibcss-dfbf50683125344885c26d5d7407356d97f54651.tar.gz
libcss-dfbf50683125344885c26d5d7407356d97f54651.tar.bz2
Add support for new length units.
Diffstat (limited to 'src/bytecode')
-rw-r--r--src/bytecode/bytecode.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/bytecode/bytecode.h b/src/bytecode/bytecode.h
index 656d7a5..422f141 100644
--- a/src/bytecode/bytecode.h
+++ b/src/bytecode/bytecode.h
@@ -32,6 +32,19 @@ typedef enum unit {
UNIT_MM = 5,
UNIT_PT = 6,
UNIT_PC = 7,
+ UNIT_CAP = 8,
+ UNIT_CH = 9,
+ UNIT_IC = 10,
+ UNIT_REM = 11,
+ UNIT_LH = 12,
+ UNIT_RLH = 13,
+ UNIT_VH = 14,
+ UNIT_VW = 15,
+ UNIT_VI = 16,
+ UNIT_VB = 17,
+ UNIT_VMIN = 18,
+ UNIT_VMAX = 19,
+ UNIT_Q = 20,
UNIT_PCT = (1 << 8),