summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorVincent Sanders <vince@kyllikki.org>2021-02-09 22:03:22 +0000
committerVincent Sanders <vince@kyllikki.org>2021-02-09 22:03:22 +0000
commit3ccff93d3a494b9303a1cc55c4075ef0c59eaf4f (patch)
tree4a20a77fa06e9fc65bb911bdb48872f578acd4d2 /docs
parent35f499b333d1f97c47ac5581143ce9806d1c3536 (diff)
downloadlibcss-3ccff93d3a494b9303a1cc55c4075ef0c59eaf4f.tar.gz
libcss-3ccff93d3a494b9303a1cc55c4075ef0c59eaf4f.tar.bz2
Use two more bits, six total, for the list style property
Adding the two bits that were previously reserved (Must Be Zero) for use in the list style property gives space for sixty four styles instead of sixteen.
Diffstat (limited to 'docs')
-rw-r--r--docs/Bytecode40
1 files changed, 20 insertions, 20 deletions
diff --git a/docs/Bytecode b/docs/Bytecode
index 880ccbd..d691923 100644
--- a/docs/Bytecode
+++ b/docs/Bytecode
@@ -342,11 +342,9 @@ Opcodes
bits 0-6: 0000000 => string,
0000001 => uri,
0000010 => counter,
- bits 12-13: MBZ
- bits 8-11 : list-style-type
+ bits 8-13 : list-style-type
0000011 => counters,
- bits 12-13: MBZ
- bits 8-11 : list-style-type
+ bits 8-13 : list-style-type
0000100 => attr,
other => rffe.
bit 7 clear => keywords:
@@ -646,22 +644,24 @@ Opcodes
2f - list-style-type
<value> (14bits) :
- 0 => disc,
- 1 => circle,
- 2 => square,
- 3 => decimal,
- 4 => decimal-leading-zero,
- 5 => lower-roman,
- 6 => upper-roman,
- 7 => lower-greek,
- 8 => lower-latin,
- 9 => upper-latin,
- a => armenian,
- b => georgian,
- c => lower-alpha,
- d => upper-alpha,
- e => none,
- other => Reserved for future expansion.
+ bits 6-13: MBZ
+ bits 0-5 :
+ 0 => disc,
+ 1 => circle,
+ 2 => square,
+ 3 => decimal,
+ 4 => decimal-leading-zero,
+ 5 => lower-roman,
+ 6 => upper-roman,
+ 7 => lower-greek,
+ 8 => lower-latin,
+ 9 => upper-latin,
+ a => armenian,
+ b => georgian,
+ c => lower-alpha,
+ d => upper-alpha,
+ e => none,
+ other => Reserved for future expansion.
30 - margin-top
31 - margin-right