about summary refs log tree commit diff stats
path: root/test/layout/flex-column-child-padding.html
diff options
context:
space:
mode:
authorbptato <nincsnevem662@gmail.com>2024-10-03 23:40:50 +0200
committerbptato <nincsnevem662@gmail.com>2024-10-04 00:04:05 +0200
commitfaa97429d651c76d86ad0c2ab530d9f666fb6927 (patch)
tree20db8af70f56bf385d43dd9da47a9c17d5d62677 /test/layout/flex-column-child-padding.html
parent5817302b293eb1237c457a2fe7c774194f07c7d7 (diff)
downloadchawan-faa97429d651c76d86ad0c2ab530d9f666fb6927.tar.gz
sixel: fix some weird artifacts
Since getColor's color assignment eagerly fills in holes with the
nearest neighbor of the first such observed node, it is prone to falling
into a local minimum where dithering ends up switching between a few
very wrong colors.

Ensure this doesn't happen by always allocating at least 4 nodes of the
octree branch. (Allocating all 7 seems to result in a heavy performance
hit; just 4 means at worst 4096 extra nodes, but likely a lot less, and
I don't see a difference in either output or performance.)
Diffstat (limited to 'test/layout/flex-column-child-padding.html')
0 files changed, 0 insertions, 0 deletions
'>c9383c72 ^
62cd83ba ^
f07bb12f ^
34a60763 ^
c9383c72 ^

b3556b21 ^
62cd83ba ^
3e18db75 ^

c9383c72 ^
a614f048 ^
f07bb12f ^

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36