summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Mark Bell <jmb@netsurf-browser.org>2008-10-21 23:28:19 +0000
committerJohn Mark Bell <jmb@netsurf-browser.org>2008-10-21 23:28:19 +0000
commit9a6eff42fea3bc075615c196bf7b3ec44328faf4 (patch)
treeff3d27adaa873b9085ff0b9fab94766c3541f49b
parent70d6097ba0d24d928c21b2c943660fade55dfe4f (diff)
downloadlibcss-9a6eff42fea3bc075615c196bf7b3ec44328faf4.tar.gz
libcss-9a6eff42fea3bc075615c196bf7b3ec44328faf4.tar.bz2
Provide example of typed parameter list
svn path=/trunk/libcss/; revision=5618
-rw-r--r--docs/Bytecode9
1 files changed, 9 insertions, 0 deletions
diff --git a/docs/Bytecode b/docs/Bytecode
index 9decf8f..9471129 100644
--- a/docs/Bytecode
+++ b/docs/Bytecode
@@ -331,6 +331,15 @@ Opcodes
declares the type of the next item. The list is terminated by a
word with all bits set to zero (the encoding for "normal").
+ For example,
+ content: open-quote url('http://example.com/')
+ " : " attr(name) close-quote;"
+ would result in the following bytecode:
+
+ <00080010> <00000081> <00000013> "http://example.com/" <00>
+ <00000080> <00000003> " : " <00> <00000083> <00000004> "name"
+ <00000003> <00000000>
+
11 - counter-increment
<value> (14bits) :
bits 8-13: MBZ