1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 11:38:11 +00:00
serenity/Libraries/LibWeb/Layout
Andreas Kling 157896cc0b LibWeb: Block layout should account for vertical border space
We were not accounting for space occupied by borders when computing
the vertical (y) position of blocks. This meant that blocks with wide
top/bottom borders could bleed into each other incorrectly.

Fix this by using the combined padding+border geometry instead of just
the padding when placing blocks on the y axis.
2020-12-04 21:24:35 +01:00
..
BlockBox.cpp LibWeb: Paint line box fragments during all paint phases 2020-12-03 21:45:46 +01:00
BlockBox.h LibWeb: Don't put block boxes inside inlines 2020-11-26 21:22:42 +01:00
BlockFormattingContext.cpp LibWeb: Block layout should account for vertical border space 2020-12-04 21:24:35 +01:00
BlockFormattingContext.h LibWeb: Keep track of the parent of each formatting context 2020-11-25 21:26:58 +01:00
Box.cpp LibWeb: Move border painting from Layout::Box to a free function 2020-12-04 18:02:21 +01:00
Box.h LibWeb: Move border painting from Layout::Box to a free function 2020-12-04 18:02:21 +01:00
BoxModelMetrics.cpp LibWeb: Rename LayoutNode classes and move them into Layout namespace 2020-11-22 15:56:27 +01:00
BoxModelMetrics.h LibWeb: Rename LayoutNode classes and move them into Layout namespace 2020-11-22 15:56:27 +01:00
BreakNode.cpp LibWeb: Rename LayoutNode classes and move them into Layout namespace 2020-11-22 15:56:27 +01:00
BreakNode.h LibWeb: Rename LayoutNode classes and move them into Layout namespace 2020-11-22 15:56:27 +01:00
ButtonBox.cpp LibWeb: Rename LayoutNode classes and move them into Layout namespace 2020-11-22 15:56:27 +01:00
ButtonBox.h LibWeb: Rename LayoutNode classes and move them into Layout namespace 2020-11-22 15:56:27 +01:00
CanvasBox.cpp LibWeb: Rename LayoutNode classes and move them into Layout namespace 2020-11-22 15:56:27 +01:00
CanvasBox.h LibWeb: Rename LayoutNode classes and move them into Layout namespace 2020-11-22 15:56:27 +01:00
CheckBox.cpp LibWeb: Rename LayoutNode classes and move them into Layout namespace 2020-11-22 15:56:27 +01:00
CheckBox.h LibWeb: Rename LayoutNode classes and move them into Layout namespace 2020-11-22 15:56:27 +01:00
FormattingContext.cpp LibWeb: Keep track of the parent of each formatting context 2020-11-25 21:26:58 +01:00
FormattingContext.h LibWeb: Keep track of the parent of each formatting context 2020-11-25 21:26:58 +01:00
FrameBox.cpp LibWeb: Fix build with DEBUG_HIGHLIGHT_FOCUSED_FRAME 2020-11-22 16:07:53 +01:00
FrameBox.h LibWeb: Rename LayoutNode classes and move them into Layout namespace 2020-11-22 15:56:27 +01:00
ImageBox.cpp LibWeb: Rename LayoutNode classes and move them into Layout namespace 2020-11-22 15:56:27 +01:00
ImageBox.h LibWeb: Rename LayoutNode classes and move them into Layout namespace 2020-11-22 15:56:27 +01:00
InitialContainingBlockBox.cpp LibWeb: Rename LayoutNode classes and move them into Layout namespace 2020-11-22 15:56:27 +01:00
InitialContainingBlockBox.h LibWeb: Rename LayoutNode::is_root() => is_initial_containing_block() 2020-12-04 16:27:07 +01:00
InlineFormattingContext.cpp LibWeb: Make LineBoxFragment store non-const Layout::Node& 2020-12-04 15:46:58 +01:00
InlineFormattingContext.h LibWeb: Keep track of the parent of each formatting context 2020-11-25 21:26:58 +01:00
InlineNode.cpp LibWeb: Call the correct base class in InlineNode::split_into_lines() 2020-12-04 16:21:21 +01:00
InlineNode.h LibWeb: Virtualize Layout::Node::paint_fragment() 2020-12-03 21:46:01 +01:00
LayoutPosition.cpp LibWeb: Rename LayoutNode classes and move them into Layout namespace 2020-11-22 15:56:27 +01:00
LayoutPosition.h LibWeb: Rename LayoutNode classes and move them into Layout namespace 2020-11-22 15:56:27 +01:00
LayoutStyle.h LibWeb: Compute the final border-style property before painting 2020-12-04 16:11:55 +01:00
LineBox.cpp LibWeb: Make LineBox take incoming fragment size as floats 2020-12-04 21:06:27 +01:00
LineBox.h LibWeb: Make LineBox take incoming fragment size as floats 2020-12-04 21:06:27 +01:00
LineBoxFragment.cpp LibWeb: Move border painting from Layout::Box to a free function 2020-12-04 18:02:21 +01:00
LineBoxFragment.h LibWeb: Make LineBoxFragment store non-const Layout::Node& 2020-12-04 15:46:58 +01:00
ListItemBox.cpp LibWeb: Rename LayoutNode classes and move them into Layout namespace 2020-11-22 15:56:27 +01:00
ListItemBox.h LibWeb: Rename LayoutNode classes and move them into Layout namespace 2020-11-22 15:56:27 +01:00
ListItemMarkerBox.cpp LibWeb: Rename LayoutNode classes and move them into Layout namespace 2020-11-22 15:56:27 +01:00
ListItemMarkerBox.h LibWeb: Rename LayoutNode classes and move them into Layout namespace 2020-11-22 15:56:27 +01:00
Node.cpp LibWeb: Rename LayoutNode::is_root() => is_initial_containing_block() 2020-12-04 16:27:07 +01:00
Node.h LibWeb: Rename LayoutNode::is_root() => is_initial_containing_block() 2020-12-04 16:27:07 +01:00
ReplacedBox.cpp LibWeb: Rename LayoutNode classes and move them into Layout namespace 2020-11-22 15:56:27 +01:00
ReplacedBox.h LibWeb: Allow <svg> layout boxes to have children 2020-11-29 16:23:12 +01:00
SVGBox.cpp LibWeb: Rename LayoutNode classes and move them into Layout namespace 2020-11-22 15:56:27 +01:00
SVGBox.h LibWeb: Rename LayoutNode classes and move them into Layout namespace 2020-11-22 15:56:27 +01:00
SVGGraphicsBox.cpp LibWeb: Rename LayoutNode classes and move them into Layout namespace 2020-11-22 15:56:27 +01:00
SVGGraphicsBox.h LibWeb: Rename LayoutNode classes and move them into Layout namespace 2020-11-22 15:56:27 +01:00
SVGPathBox.cpp LibWeb: Rename LayoutNode classes and move them into Layout namespace 2020-11-22 15:56:27 +01:00
SVGPathBox.h LibWeb: Rename LayoutNode classes and move them into Layout namespace 2020-11-22 15:56:27 +01:00
SVGSVGBox.cpp LibWeb: Rename LayoutNode classes and move them into Layout namespace 2020-11-22 15:56:27 +01:00
SVGSVGBox.h LibWeb: Allow <svg> layout boxes to have children 2020-11-29 16:23:12 +01:00
TableBox.cpp LibWeb: Rename LayoutNode classes and move them into Layout namespace 2020-11-22 15:56:27 +01:00
TableBox.h LibWeb: Rename LayoutNode classes and move them into Layout namespace 2020-11-22 15:56:27 +01:00
TableCellBox.cpp LibWeb: Rename LayoutNode classes and move them into Layout namespace 2020-11-22 15:56:27 +01:00
TableCellBox.h LibWeb: Rename LayoutNode classes and move them into Layout namespace 2020-11-22 15:56:27 +01:00
TableFormattingContext.cpp LibWeb: Auto-size table box height to fit all the rows 2020-11-29 22:39:01 +01:00
TableFormattingContext.h LibWeb: Keep track of the parent of each formatting context 2020-11-25 21:26:58 +01:00
TableRowBox.cpp LibWeb: Rename LayoutNode classes and move them into Layout namespace 2020-11-22 15:56:27 +01:00
TableRowBox.h LibWeb: Rename LayoutNode classes and move them into Layout namespace 2020-11-22 15:56:27 +01:00
TableRowGroupBox.cpp LibWeb: Rename LayoutNode classes and move them into Layout namespace 2020-11-22 15:56:27 +01:00
TableRowGroupBox.h LibWeb: Rename LayoutNode classes and move them into Layout namespace 2020-11-22 15:56:27 +01:00
TextNode.cpp LibWeb: Paint line box fragments during all paint phases 2020-12-03 21:45:46 +01:00
TextNode.h LibWeb: Virtualize Layout::Node::paint_fragment() 2020-12-03 21:46:01 +01:00
TreeBuilder.cpp LibWeb: Allow inline-block boxes to have non-inline children 2020-11-29 22:26:54 +01:00
TreeBuilder.h LibWeb: Don't put block boxes inside inlines 2020-11-26 21:22:42 +01:00
WidgetBox.cpp LibWeb: Rename LayoutNode classes and move them into Layout namespace 2020-11-22 15:56:27 +01:00
WidgetBox.h LibWeb: Rename LayoutNode classes and move them into Layout namespace 2020-11-22 15:56:27 +01:00