aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorbptato <nincsnevem662@gmail.com>2025-01-23 00:23:45 +0100
committerbptato <nincsnevem662@gmail.com>2025-01-23 00:48:31 +0100
commit7862eb840ad1964484352cdfa5458edda413fe0d (patch)
treea1d55a74e3f93d7a05c59aee15b6c8ee285a749e /test
parent6c90f68a129cd0129c2b5574c7ad8cd436c523df (diff)
downloadchawan-7862eb840ad1964484352cdfa5458edda413fe0d.tar.gz
cssvalues: quick hack to make simple calc() expressions work
Most calc calls I've seen look something like "calc(100% - 2em)", i.e. just a percentage value offset by a pixel value. As it happens, we also had 24 bits available in CSSLength objects because of padding. Just enough to smuggle in that offset :) Very limited of course, but it does fix layout on a couple of websites.
Diffstat (limited to 'test')
0 files changed, 0 insertions, 0 deletions