ladybird/Libraries/LibHTML/Layout
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
..
BoxModelMetrics.cpp LibHTML: Rename ComputedStyle to BoxModelMetrics 2019-10-04 15:50:50 +02:00
BoxModelMetrics.h LibHTML: Rename ComputedStyle to BoxModelMetrics 2019-10-04 15:50:50 +02:00
LayoutBlock.cpp LibHTML+Browser: Add debug option to draw borders around line boxes 2019-10-12 15:02:53 +02:00
LayoutBlock.h LibHTML: Implement the <blink> element 2019-10-09 21:25:29 +02:00
LayoutBreak.cpp LibHTML: Implement the <br> element for line breaking 2019-10-12 13:47:49 +02:00
LayoutBreak.h LibHTML: Implement the <br> element for line breaking 2019-10-12 13:47:49 +02:00
LayoutDocument.cpp LibHTML: Rename "style_properties" to "style" everywhere 2019-10-07 10:56:44 +02:00
LayoutDocument.h LibHTML: LayoutText should always use parent's style properties 2019-10-04 12:12:39 +02:00
LayoutImage.cpp LibHTML: Implement the <blink> element 2019-10-09 21:25:29 +02:00
LayoutImage.h LibHTML: Implement basic layout for inline <img alt> 2019-10-05 23:29:01 +02:00
LayoutInline.cpp LibHTML: Add LayoutNodeWithStyle class, make LayoutText style-less 2019-10-07 10:56:44 +02:00
LayoutInline.h LibHTML: Add LayoutNodeWithStyle class, make LayoutText style-less 2019-10-07 10:56:44 +02:00
LayoutListItem.cpp LibHTML: Make sure the marker has the same inline state as siblings 2019-10-11 23:26:25 +02:00
LayoutListItem.h LibHTML: Add LayoutNode classes for "display: list-item" and its marker 2019-10-11 23:16:53 +02:00
LayoutListItemMarker.cpp LibHTML: Add LayoutNode classes for "display: list-item" and its marker 2019-10-11 23:16:53 +02:00
LayoutListItemMarker.h LibHTML: Add LayoutNode classes for "display: list-item" and its marker 2019-10-11 23:16:53 +02:00
LayoutNode.cpp LibHTML: Move layout root from HtmlView to Document 2019-10-13 12:43:31 +02:00
LayoutNode.h LibHTML: Move is_ancestor_of() from LayoutNode to TreeNode 2019-10-09 21:33:34 +02:00
LayoutReplaced.cpp LibHTML: Add LayoutNodeWithStyle class, make LayoutText style-less 2019-10-07 10:56:44 +02:00
LayoutReplaced.h LibHTML: Add LayoutNodeWithStyle class, make LayoutText style-less 2019-10-07 10:56:44 +02:00
LayoutText.cpp LibHTML: Add StyleProperties::line_height() 2019-10-12 13:42:58 +02:00
LayoutText.h LibHTML: Collapse whitespace in LayoutText unless white-space: pre; 2019-10-09 16:29:35 +02:00
LineBox.cpp LibHTML: Rewrite inline and text layout 2019-10-03 15:20:13 +02:00
LineBox.h LibHTML: Rewrite inline and text layout 2019-10-03 15:20:13 +02:00
LineBoxFragment.cpp LibHTML: Implement the <blink> element 2019-10-09 21:25:29 +02:00
LineBoxFragment.h LibHTML: Rewrite inline and text layout 2019-10-03 15:20:13 +02:00