Andreas Kling
4d401bf796
LibWeb: Make the paint tree GC-allocated
...
This simplifies the ownership model between DOM/layout/paint nodes
immensely by deferring to the garbage collector for figuring out what's
live and what's not.
2023-01-11 12:55:00 +01:00
Andreas Kling
ba606d9057
LibWeb: Move PaintingBox to its own .cpp and .h files
2022-03-11 00:21:49 +01:00
Andreas Kling
ed84fbce47
LibWeb: Make Paintable ref-counted
...
This will allow us to use a protective NonnullRefPtr to keep paintables
alive while running arbitrary JavaScript in response to events.
2022-03-11 00:21:49 +01:00
Andreas Kling
aae356baf1
LibWeb: Port inline elements to the new Paintable system
...
This patch adds InlinePaintable which corresponds to Layout::InlineNode.
2022-03-11 00:21:49 +01:00