diff options
| author | bptato <nincsnevem662@gmail.com> | 2025-02-16 19:36:05 +0100 |
|---|---|---|
| committer | bptato <nincsnevem662@gmail.com> | 2025-02-16 20:01:30 +0100 |
| commit | d6eb9be13115582182c4a0980e6be28c63ce3503 (patch) | |
| tree | a1620e52078aa30ce20626b8037e94bf5016cab1 /src/server/buffer.nim | |
| parent | 5f4d7d67b6c13ae7633dede4216c958e30751050 (diff) | |
| download | chawan-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