From ef63d6c8ddafed074cba41f9cc2a0bb5b7230f37 Mon Sep 17 00:00:00 2001 From: John Mark Bell Date: Tue, 29 May 2012 17:49:27 +0000 Subject: Fix up documentation lies svn path=/trunk/libcss/; revision=13933 --- docs/Bytecode | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) (limited to 'docs') diff --git a/docs/Bytecode b/docs/Bytecode index 0d71d2a..4d26f44 100644 --- a/docs/Bytecode +++ b/docs/Bytecode @@ -27,8 +27,8 @@ All numeric values are stored in a 32bit wide field. This field contains a fixed point value with 22 bits assigned to the integer part and 10 bits assigned to the fractional part. -Strings are stored as a pointer to an interned string. -The pointer's width is the native width of a pointer on the platform. +Strings are stored as a 32bit index into a table of interned string pointers. +The table is found in the stylesheet object. CSS dimensions are stored as two 32bit values: . Length is a 32bit numeric value (as described above) and unit is as follows: @@ -71,12 +71,7 @@ Length is a 32bit numeric value (as described above) and unit is as follows: 00000000 => Hz 00000001 => kHz -CSS colours are stored as one 32bit value: - - bits 24-31: Alpha component - bits 16-23: Red component - bits 8-15 : Green component - bits 0-7 : Blue component +CSS colours are stored as one 32bit value. See "Colour" for their format. Shorthand properties -------------------- -- cgit v1.2.3