aboutsummaryrefslogtreecommitdiffstats
path: root/src/server/buffer.nim
diff options
context:
space:
mode:
authorbptato <nincsnevem662@gmail.com>2025-02-16 19:36:05 +0100
committerbptato <nincsnevem662@gmail.com>2025-02-16 20:01:30 +0100
commitd6eb9be13115582182c4a0980e6be28c63ce3503 (patch)
treea1620e52078aa30ce20626b8037e94bf5016cab1 /src/server/buffer.nim
parent5f4d7d67b6c13ae7633dede4216c958e30751050 (diff)
downloadchawan-d6eb9be13115582182c4a0980e6be28c63ce3503.tar.gz
layout: position absolute boxes relative to their parent
Also fixes an invisible bug where inline-block child absolutes were queued multiple times. This adds a pointer to the parent box for CSSBox objects, which isn't great, but the alternatives (maintaining an explicit stack or adding another tree traversal) were overly complex and/or too inefficient. On the flip side, now it should be possible to do both stacking contexts (with negative z-index) and overflow tracking in layout. (I think.)
Diffstat (limited to 'src/server/buffer.nim')
0 files changed, 0 insertions, 0 deletions