summaryrefslogtreecommitdiff
path: root/src/bytecode
diff options
context:
space:
mode:
authorJohn Mark Bell <jmb@netsurf-browser.org>2008-12-02 13:57:35 +0000
committerJohn Mark Bell <jmb@netsurf-browser.org>2008-12-02 13:57:35 +0000
commit23aa9cd7d8154c822335531f0619acce43f544b8 (patch)
treeee5ac05003e905c369f9d2c1ddd46640921db80a /src/bytecode
parentf940655fc3e16613c7dcec4537b16544366a6de1 (diff)
downloadlibcss-23aa9cd7d8154c822335531f0619acce43f544b8.tar.gz
libcss-23aa9cd7d8154c822335531f0619acce43f544b8.tar.bz2
Something approximating clip
svn path=/trunk/libcss/; revision=5870
Diffstat (limited to 'src/bytecode')
-rw-r--r--src/bytecode/opcodes.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/bytecode/opcodes.h b/src/bytecode/opcodes.h
index 9565225..330489e 100644
--- a/src/bytecode/opcodes.h
+++ b/src/bytecode/opcodes.h
@@ -122,7 +122,13 @@ enum op_clear {
};
enum op_clip {
- CLIP_SHAPE = 0x0080,
+ CLIP_SHAPE_RECT = 0x0080,
+
+ CLIP_RECT_TOP_AUTO = 0x0008,
+ CLIP_RECT_RIGHT_AUTO = 0x0010,
+ CLIP_RECT_BOTTOM_AUTO = 0x0020,
+ CLIP_RECT_LEFT_AUTO = 0x0040,
+
CLIP_AUTO = 0x0000,
};