summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Drake <tlsa@netsurf-browser.org>2018-04-22 10:36:07 +0100
committerMichael Drake <tlsa@netsurf-browser.org>2018-07-28 15:27:12 +0100
commit2e66983ea472c2b6addcd3b3c2fa7132a7a1ef39 (patch)
tree58bdeaf14d4d0bf47b75149f189593b695e771bb
parentb8eec452e810a3afb52c11f9b8f2df39fcfba8ea (diff)
downloadlibcss-2e66983ea472c2b6addcd3b3c2fa7132a7a1ef39.tar.gz
libcss-2e66983ea472c2b6addcd3b3c2fa7132a7a1ef39.tar.bz2
Documentation: Add new units to bytecode docs.
-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