summaryrefslogtreecommitdiff
path: root/docs/Bytecode
diff options
context:
space:
mode:
authorMichael Drake <tlsa@netsurf-browser.org>2018-04-22 10:36:07 +0100
committerMichael Drake <michael.drake@codethink.co.uk>2019-03-10 13:42:03 +0000
commit819a78a0eb742c04ec3fdfeaeba97ad4962c8eaa (patch)
tree7a812bbc7c8b4cad3d7efda2ab0b6456f25bb836 /docs/Bytecode
parent0311677f5676e2f6213a774938dbdc893897cebb (diff)
downloadlibcss-819a78a0eb742c04ec3fdfeaeba97ad4962c8eaa.tar.gz
libcss-819a78a0eb742c04ec3fdfeaeba97ad4962c8eaa.tar.bz2
Documentation: Add new units to bytecode docs.
Diffstat (limited to 'docs/Bytecode')
-rw-r--r--docs/Bytecode9
1 files changed, 9 insertions, 0 deletions
diff --git a/docs/Bytecode b/docs/Bytecode
index f64656a..dd0f424 100644
--- a/docs/Bytecode
+++ b/docs/Bytecode
@@ -69,6 +69,7 @@ Length is a 32bit numeric value (as described above) and unit is as follows:
00000000 => deg
00000001 => grad
00000010 => rad
+ 00000011 => turn
bit 10 set => time unit
bits 11-31: MBZ
@@ -84,6 +85,14 @@ Length is a 32bit numeric value (as described above) and unit is as follows:
00000000 => Hz
00000001 => kHz
+ bit 12 set => resolution unit
+ bits 13-31: MBZ
+ bits 8-11 : MBZ
+ bits 0-7 :
+ 00000000 => dpi
+ 00000001 => dpcm
+ 00000010 => dppx
+
CSS colours are stored as one 32bit value. See "Colour" for their format.
Shorthand properties