1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2026-01-16 14:11:01 +00:00
serenity/Applications/Browser
Andreas Kling 49ac0c2e24 LibHTML: Move layout root from HtmlView to Document
The layout root is now kept alive via Document::m_layout_root.
This will allow us to do more layout-related things inside the inner
layer of LibHTML without reaching out to the HtmlView.

I'd like to keep HtmlView at a slightly higher level, to prevent it
from getting too complex.

This patch also fixes accidental disconnection of the layout tree from
the DOM after doing a layout tree rebuild. ~LayoutNode() now only
unsets the DOM node's layout_node() if it's itself.
2019-10-13 12:43:31 +02:00
..
main.cpp LibHTML: Move layout root from HtmlView to Document 2019-10-13 12:43:31 +02:00
Makefile Browser: Start working on a simple browser using LibHTML 2019-10-05 10:20:17 +02:00