ladybird/Userland/Libraries/LibWeb/Layout
Aliaksandr Kalenik 2960bf4ec8 LibWeb: Make inline paintables own their fragments
The paintable tree structure more closely matches the painting order
when fragments are owned by corresponding inline paintables. This
change does not affect the layout tree, as it is more convenient for
layout purposes to have all fragments owned by a block container in
one place.

Additionally, this improves performance significantly on pages with
many fragments, as we no longer have to walk the ancestor chain up
to the closest block container to determine if a fragment belongs
to an inline paintable.
2024-01-13 18:46:41 +01:00
..
AudioBox.cpp
AudioBox.h
AvailableSpace.cpp LibWeb: Port AvailableSpace from DeprecatedString to String 2023-11-28 17:15:27 -05:00
AvailableSpace.h LibWeb: Port AvailableSpace from DeprecatedString to String 2023-11-28 17:15:27 -05:00
BlockContainer.cpp
BlockContainer.h
BlockFormattingContext.cpp LibWeb: Move line-height from NodeWithStyle to ComputedValues 2024-01-12 17:26:16 +01:00
BlockFormattingContext.h LibWeb: Let parent formatting context determine size of flex containers 2024-01-10 16:28:12 +01:00
Box.cpp
Box.h
BoxModelMetrics.cpp
BoxModelMetrics.h
BreakNode.cpp
BreakNode.h
ButtonBox.cpp LibGfx+LibWeb: Produce font cascade list in CSS font matching algorithm 2023-12-10 17:32:04 +01:00
ButtonBox.h
CanvasBox.cpp
CanvasBox.h
CheckBox.cpp
CheckBox.h
FlexFormattingContext.cpp LibWeb: Avoid an unnecessary LayoutState lookup in FlexFormattingContext 2024-01-13 14:34:39 +01:00
FlexFormattingContext.h LibWeb: Let parent formatting context determine size of flex containers 2024-01-10 16:28:12 +01:00
FormAssociatedLabelableNode.h
FormattingContext.cpp LibWeb: Return CSSPixels from calculate_inner_height() 2024-01-07 09:03:57 +01:00
FormattingContext.h LibWeb: Let parent formatting context determine size of flex containers 2024-01-10 16:28:12 +01:00
FrameBox.cpp Everywhere: Use to_number<T> instead of to_{int,uint,float,double} 2023-12-23 20:41:07 +01:00
FrameBox.h
GridFormattingContext.cpp LibWeb: Add support for implicit grid lines formed by grid areas in GFC 2024-01-08 09:28:37 +01:00
GridFormattingContext.h LibWeb: Support auto-fill for rows in GFC 2024-01-07 11:12:35 +01:00
ImageBox.cpp
ImageBox.h
ImageProvider.h LibGfx+LibWeb: Add ImmutableBitmap for images bitmap caching in painter 2023-11-26 12:55:43 +01:00
InlineFormattingContext.cpp LibWeb: Move line-height from NodeWithStyle to ComputedValues 2024-01-12 17:26:16 +01:00
InlineFormattingContext.h LibWeb: Let parent formatting context determine size of flex containers 2024-01-10 16:28:12 +01:00
InlineLevelIterator.cpp LibWeb: Move font list from NodeWithStyle to ComputedValues 2024-01-12 17:26:16 +01:00
InlineLevelIterator.h LibGfx+LibWeb: Calculate and save glyph positions during layout 2023-12-02 22:06:11 +01:00
InlineNode.cpp
InlineNode.h
Label.cpp LibWeb: Use cached element name and id where possible 2024-01-13 12:05:36 +01:00
Label.h
LabelableNode.cpp
LabelableNode.h
LayoutState.cpp LibWeb: Make inline paintables own their fragments 2024-01-13 18:46:41 +01:00
LayoutState.h LibWeb: Resolve text shadows in LayoutState::commit() 2024-01-13 12:03:32 +01:00
LineBox.cpp LibGfx+LibWeb: Produce font cascade list in CSS font matching algorithm 2023-12-10 17:32:04 +01:00
LineBox.h LibGfx+LibWeb: Calculate and save glyph positions during layout 2023-12-02 22:06:11 +01:00
LineBoxFragment.cpp LibWeb: Use separate structure to represent fragments in paintable tree 2024-01-13 10:53:38 +01:00
LineBoxFragment.h LibWeb: Use separate structure to represent fragments in paintable tree 2024-01-13 10:53:38 +01:00
LineBuilder.cpp LibWeb: Move line-height from NodeWithStyle to ComputedValues 2024-01-12 17:26:16 +01:00
LineBuilder.h LibGfx+LibWeb: Calculate and save glyph positions during layout 2023-12-02 22:06:11 +01:00
ListItemBox.cpp
ListItemBox.h
ListItemMarkerBox.cpp Everywhere: Rename {Deprecated => Byte}String 2023-12-17 18:25:10 +03:30
ListItemMarkerBox.h Everywhere: Rename {Deprecated => Byte}String 2023-12-17 18:25:10 +03:30
Node.cpp LibWeb: Make inline paintables own their fragments 2024-01-13 18:46:41 +01:00
Node.h LibWeb: Move font list from NodeWithStyle to ComputedValues 2024-01-12 17:26:16 +01:00
RadioButton.cpp
RadioButton.h
ReplacedBox.cpp
ReplacedBox.h
SVGBox.cpp
SVGBox.h
SVGFormattingContext.cpp LibWeb: Add initial support for SVG <textPath> 2023-12-19 21:29:03 +01:00
SVGFormattingContext.h
SVGGeometryBox.cpp LibWeb: Support transforms, stroking, gradients, etc for SVG <text> 2023-11-05 02:46:46 +01:00
SVGGeometryBox.h LibWeb: Store computed SVG path data/transforms in LayoutState 2023-10-30 19:44:54 +01:00
SVGGraphicsBox.cpp
SVGGraphicsBox.h
SVGSVGBox.cpp
SVGSVGBox.h
SVGTextBox.cpp LibWeb: Support transforms, stroking, gradients, etc for SVG <text> 2023-11-05 02:46:46 +01:00
SVGTextBox.h LibWeb: Layout SVG <text> elements during layout (not while painting) 2023-10-30 19:44:54 +01:00
SVGTextPathBox.cpp LibWeb: Add initial support for SVG <textPath> 2023-12-19 21:29:03 +01:00
SVGTextPathBox.h LibWeb: Add initial support for SVG <textPath> 2023-12-19 21:29:03 +01:00
TableFormattingContext.cpp Everywhere: Use to_number<T> instead of to_{int,uint,float,double} 2023-12-23 20:41:07 +01:00
TableFormattingContext.h
TableGrid.cpp LibWeb: Consider colgroups while calculating table grid size 2023-11-04 17:37:38 +01:00
TableGrid.h AK: Rename GenericTraits to DefaultTraits 2023-11-09 10:05:51 -05:00
TableWrapper.cpp
TableWrapper.h
TextNode.cpp LibWeb: Port Layout::TextNode from DeprecatedString 2023-11-28 17:15:27 -05:00
TextNode.h LibWeb: Port Layout::TextNode from DeprecatedString 2023-11-28 17:15:27 -05:00
TreeBuilder.cpp LibWeb: Detach all paintables when building/committing layout tree 2024-01-13 12:34:53 +01:00
TreeBuilder.h LibWeb: Wrap PseudoElements stored in SimpleSelector in a class 2023-12-11 16:54:59 +01:00
VideoBox.cpp
VideoBox.h
Viewport.cpp
Viewport.h