1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 01:17:36 +00:00
serenity/Libraries/LibWeb/Layout
Andreas Kling 59de4adb60 LibWeb: Pass current target box to BFC::run()
The BFC "context box" is now the outer box of the block formatting
context. Previously the context box was always the current target box,
which made it hard to reason about who was really the containing block
of whom in various places.

Note that IFC still has the containing block as its context box, this
change only affects BFC. However, to clarify the situation in IFC,
I've added a containing_block() getter than returns the context_box().
2020-12-06 20:05:04 +01:00
..
BlockBox.cpp LibWeb: Pass current target box to BFC::run() 2020-12-06 20:05:04 +01:00
BlockBox.h LibWeb: First slightly naive implementation of CSS floats :^) 2020-12-05 22:51:03 +01:00
BlockFormattingContext.cpp LibWeb: Pass current target box to BFC::run() 2020-12-06 20:05:04 +01:00
BlockFormattingContext.h LibWeb: Pass current target box to BFC::run() 2020-12-06 20:05:04 +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: Pass current target box to BFC::run() 2020-12-06 20:05:04 +01:00
BreakNode.h LibWeb: First slightly naive implementation of CSS floats :^) 2020-12-05 22:51:03 +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: Pass current target box to BFC::run() 2020-12-06 20:05:04 +01:00
FormattingContext.h LibWeb: Pass current target box to BFC::run() 2020-12-06 20:05:04 +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: Pass current target box to BFC::run() 2020-12-06 20:05:04 +01:00
InlineFormattingContext.h LibWeb: Pass current target box to BFC::run() 2020-12-06 20:05:04 +01:00
InlineNode.cpp LibWeb: First slightly naive implementation of CSS floats :^) 2020-12-05 22:51:03 +01:00
InlineNode.h LibWeb: First slightly naive implementation of CSS floats :^) 2020-12-05 22:51:03 +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: Naively implement the CSS clear property 2020-12-06 01:45:51 +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: Naively implement the CSS clear property 2020-12-06 01:45:51 +01:00
Node.h LibWeb: Pass current target box to BFC::run() 2020-12-06 20:05:04 +01:00
ReplacedBox.cpp LibWeb: Pass current target box to BFC::run() 2020-12-06 20:05:04 +01:00
ReplacedBox.h LibWeb: First slightly naive implementation of CSS floats :^) 2020-12-05 22:51:03 +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: Pass current target box to BFC::run() 2020-12-06 20:05:04 +01:00
TableFormattingContext.h LibWeb: Pass current target box to BFC::run() 2020-12-06 20:05:04 +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: Pass current target box to BFC::run() 2020-12-06 20:05:04 +01:00
TextNode.h LibWeb: First slightly naive implementation of CSS floats :^) 2020-12-05 22:51:03 +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