From 9a6eff42fea3bc075615c196bf7b3ec44328faf4 Mon Sep 17 00:00:00 2001 From: John Mark Bell Date: Tue, 21 Oct 2008 23:28:19 +0000 Subject: Provide example of typed parameter list svn path=/trunk/libcss/; revision=5618 --- docs/Bytecode | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'docs/Bytecode') 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 (14bits) : bits 8-13: MBZ -- cgit v1.2.3