diff options
author | bptato <nincsnevem662@gmail.com> | 2024-02-22 03:00:48 +0100 |
---|---|---|
committer | bptato <nincsnevem662@gmail.com> | 2024-02-22 03:00:48 +0100 |
commit | def15ede4fbd686b0ee9b193f41b2a47190aa43a (patch) | |
tree | f5e19e6dd04e671e7bcfede37202c91355e59833 /src/html/event.nim | |
parent | 91d1e18d42a63d355095cf20bbd1767ecd2393fc (diff) | |
download | chawan-def15ede4fbd686b0ee9b193f41b2a47190aa43a.tar.gz |
layout: remove justify
The way `justify' was implemented just made text annoying to read. (The algorithm of distributing spacing evenly does not really work on a cell-based screen because of rounding errors.) CSS 2.1 says: > Conforming user agents may interpret the value 'justify' as 'left' or > 'right', depending on whether the element's default writing direction > is left-to-right or right-to-left, respectively. Since we have no bidi yet, just interpret it as `left'. Maybe in the future we could add an implementation that tries to align line box lengths instead of their contents, but this will probably be difficult to get right.
Diffstat (limited to 'src/html/event.nim')
0 files changed, 0 insertions, 0 deletions