ladybird/Libraries/LibWeb/Layout
Aliaksandr Kalenik d725c36129 LibWeb: Store cached display list commands without resources
Cached display list command sequences used to carry their own
DisplayListResourceStorage. That kept resource ID sets and referenced
fonts, images, video frames, and nested display lists alive on every
cached phase, even though the command bytes already contain enough
information to discover those references when they are needed.

This makes cached command sequences store only command bytes. Resource
references are collected transiently from those bytes when a cache entry
is installed or invalidated. The navigable's central display list
resource storage now keeps cache reference counts, so compositor pruning
retains resources used by live cached commands without duplicating
storage in each sequence.
2026-05-31 00:21:25 +01:00
..
AudioBox.cpp LibWeb: Make Paintable tree ref-counted 2026-05-07 15:03:44 +02:00
AudioBox.h LibWeb: Make Paintable tree ref-counted 2026-05-07 15:03:44 +02:00
AvailableSpace.cpp Everywhere: Hoist the Libraries folder to the top-level 2024-11-10 12:50:45 +01:00
AvailableSpace.h Everywhere: Hoist the Libraries folder to the top-level 2024-11-10 12:50:45 +01:00
BlockContainer.cpp LibWeb: Make Paintable tree ref-counted 2026-05-07 15:03:44 +02:00
BlockContainer.h LibWeb: Make Paintable tree ref-counted 2026-05-07 15:03:44 +02:00
BlockFormattingContext.cpp LibWeb: Let IFC publish inline-end static position 2026-05-23 11:01:58 +02:00
BlockFormattingContext.h LibWeb: Position list marker to the right of right-to-left text 2026-04-30 16:20:10 +02:00
Box.cpp LibWeb: Make Paintable tree ref-counted 2026-05-07 15:03:44 +02:00
Box.h LibWeb: Make Paintable tree ref-counted 2026-05-07 15:03:44 +02:00
BreakNode.cpp LibWeb: Make CSS::ComputedProperties GC-allocated 2024-12-22 10:12:49 +01:00
BreakNode.h Everywhere: Change west consts caught by clang-format-21 to east consts 2025-08-29 18:18:55 +01:00
CanvasBox.cpp LibWeb: Make Paintable tree ref-counted 2026-05-07 15:03:44 +02:00
CanvasBox.h LibWeb: Make Paintable tree ref-counted 2026-05-07 15:03:44 +02:00
CheckBox.cpp LibWeb: Make Paintable tree ref-counted 2026-05-07 15:03:44 +02:00
CheckBox.h LibWeb: Make Paintable tree ref-counted 2026-05-07 15:03:44 +02:00
DominantBaseline.h LibWeb: Implement dominant-baseline for SVG text 2026-02-26 09:23:23 +01:00
FieldSetBox.cpp LibWeb: Make Paintable tree ref-counted 2026-05-07 15:03:44 +02:00
FieldSetBox.h LibWeb: Make Paintable tree ref-counted 2026-05-07 15:03:44 +02:00
FlexFormattingContext.cpp LibWeb: Stretch aspect-ratio flex items only when container is definite 2026-05-28 20:42:02 +02:00
FlexFormattingContext.h LibWeb: Preserve flex layout geometry for DevTools 2026-05-28 12:58:46 +01:00
FlexLayoutData.h LibWeb: Preserve flex layout geometry for DevTools 2026-05-28 12:58:46 +01:00
FormattingContext.cpp LibWeb: Lay out inline boxes for intrinsic baselines 2026-05-30 21:36:47 +02:00
FormattingContext.h LibWeb: Resolve table wrappers from grid areas 2026-05-19 10:41:52 +02:00
GridFormattingContext.cpp DevTools: Include subframe grids in layout inspection 2026-05-27 17:47:50 +01:00
GridFormattingContext.h LibWeb: Preserve grid layout geometry for DevTools 2026-05-27 17:47:50 +01:00
GridLayoutData.h LibWeb: Preserve grid layout geometry for DevTools 2026-05-27 17:47:50 +01:00
ImageBox.cpp LibWeb: Make Paintable tree ref-counted 2026-05-07 15:03:44 +02:00
ImageBox.h LibWeb: Make Paintable tree ref-counted 2026-05-07 15:03:44 +02:00
ImageProvider.cpp LibGfx+LibWeb: Make DecodedImageFrame a value type 2026-05-07 16:08:13 +02:00
ImageProvider.h LibWeb: Stop idle animated CSS image timers 2026-05-23 11:36:53 +02:00
InlineFormattingContext.cpp LibWeb: Account for floats when computing IFC abspos static position 2026-05-28 10:40:21 +02:00
InlineFormattingContext.h LibWeb: Let IFC publish inline-end static position 2026-05-23 11:01:58 +02:00
InlineLevelIterator.cpp LibWeb: Avoid copying inline iterator data 2026-05-30 13:43:42 +02:00
InlineLevelIterator.h LibWeb: Avoid copying inline iterator data 2026-05-30 13:43:42 +02:00
InlineNode.cpp LibWeb: Make Paintable tree ref-counted 2026-05-07 15:03:44 +02:00
InlineNode.h LibWeb: Make Paintable tree ref-counted 2026-05-07 15:03:44 +02:00
LayoutState.cpp LibWeb: Use retained data for hit testing 2026-05-30 13:50:48 +02:00
LayoutState.h LibWeb: Preserve flex layout geometry for DevTools 2026-05-28 12:58:46 +01:00
LegendBox.cpp LibWeb: Make CSS::ComputedProperties GC-allocated 2024-12-22 10:12:49 +01:00
LegendBox.h LibWeb: Remove Document.h include from Layout/Node.h 2026-02-08 18:51:13 +01:00
LineBox.cpp LibWeb/Layout: Use is_empty() when fragment text has nothing to trim 2026-03-31 13:48:50 +01:00
LineBox.h LibWeb: Let IFC publish inline-end static position 2026-05-23 11:01:58 +02:00
LineBoxFragment.cpp LibWeb: Store correct text offsets in PaintableFragment 2025-09-12 15:34:09 -04:00
LineBoxFragment.h LibWeb: Mark ellipsized fragments as hidden rather than removing them 2026-04-17 08:03:26 +02:00
LineBuilder.cpp LibWeb: Guard inline fragment lookups during layout commit 2026-05-23 11:36:45 +02:00
LineBuilder.h LibWeb: Preserve inline-flex strut descent 2026-05-23 11:01:58 +02:00
ListItemBox.cpp LibWeb: Make CSS::ComputedProperties GC-allocated 2024-12-22 10:12:49 +01:00
ListItemBox.h Meta: Enforce newlines around namespaces 2025-05-14 02:01:59 -06:00
ListItemMarkerBox.cpp LibWeb: Make Paintable tree ref-counted 2026-05-07 15:03:44 +02:00
ListItemMarkerBox.h LibWeb: Make Paintable tree ref-counted 2026-05-07 15:03:44 +02:00
NavigableContainerViewport.cpp LibWeb: Make Paintable tree ref-counted 2026-05-07 15:03:44 +02:00
NavigableContainerViewport.h LibWeb: Make Paintable tree ref-counted 2026-05-07 15:03:44 +02:00
Node.cpp LibWeb: Store cached display list commands without resources 2026-05-31 00:21:25 +01:00
Node.h LibWeb: Stop idle animated CSS image timers 2026-05-23 11:36:53 +02:00
RadioButton.cpp LibWeb: Make Paintable tree ref-counted 2026-05-07 15:03:44 +02:00
RadioButton.h LibWeb: Make Paintable tree ref-counted 2026-05-07 15:03:44 +02:00
RangeInputBox.cpp LibWeb: Let range inputs stretch in grid containers 2026-05-30 12:17:58 +01:00
RangeInputBox.h LibWeb: Let range inputs stretch in grid containers 2026-05-30 12:17:58 +01:00
ReplacedBox.cpp LibWeb: Allow Layout::ImageBox to be anonymous 2025-07-28 22:46:27 +02:00
ReplacedBox.h LibWeb/Layout: Don't inject natural size in prepare_for_replaced_layout 2026-02-02 14:36:49 +00:00
ReplacedWithChildrenFormattingContext.cpp LibWeb: Allow replaced elements to host children 2026-02-23 07:27:31 +01:00
ReplacedWithChildrenFormattingContext.h LibWeb: Allow replaced elements to host children 2026-02-23 07:27:31 +01:00
SVGBox.cpp LibGC: Enforce that a Cell type must declare the allocator to use 2026-01-20 12:00:11 +01:00
SVGBox.h LibGC: Enforce that a Cell type must declare the allocator to use 2026-01-20 12:00:11 +01:00
SVGClipBox.cpp LibWeb: Make Paintable tree ref-counted 2026-05-07 15:03:44 +02:00
SVGClipBox.h LibWeb: Make Paintable tree ref-counted 2026-05-07 15:03:44 +02:00
SVGForeignObjectBox.cpp LibWeb: Make Paintable tree ref-counted 2026-05-07 15:03:44 +02:00
SVGForeignObjectBox.h LibWeb: Make Paintable tree ref-counted 2026-05-07 15:03:44 +02:00
SVGFormattingContext.cpp LibWeb: Apply transform attribute to inner <svg> elements 2026-05-30 18:32:15 +01:00
SVGFormattingContext.h LibWeb: Apply transform attribute to inner <svg> elements 2026-05-30 18:32:15 +01:00
SVGGeometryBox.cpp LibWeb: Make Paintable tree ref-counted 2026-05-07 15:03:44 +02:00
SVGGeometryBox.h LibWeb: Make Paintable tree ref-counted 2026-05-07 15:03:44 +02:00
SVGGraphicsBox.cpp LibWeb: Make Paintable tree ref-counted 2026-05-07 15:03:44 +02:00
SVGGraphicsBox.h LibWeb: Make Paintable tree ref-counted 2026-05-07 15:03:44 +02:00
SVGImageBox.cpp LibWeb: Make Paintable tree ref-counted 2026-05-07 15:03:44 +02:00
SVGImageBox.h LibWeb: Make Paintable tree ref-counted 2026-05-07 15:03:44 +02:00
SVGMaskBox.cpp LibWeb: Make Paintable tree ref-counted 2026-05-07 15:03:44 +02:00
SVGMaskBox.h LibWeb: Make Paintable tree ref-counted 2026-05-07 15:03:44 +02:00
SVGPatternBox.cpp LibWeb: Make Paintable tree ref-counted 2026-05-07 15:03:44 +02:00
SVGPatternBox.h LibWeb: Make Paintable tree ref-counted 2026-05-07 15:03:44 +02:00
SVGSVGBox.cpp LibWeb: Make Paintable tree ref-counted 2026-05-07 15:03:44 +02:00
SVGSVGBox.h LibWeb: Make Paintable tree ref-counted 2026-05-07 15:03:44 +02:00
SVGTextBox.cpp LibWeb: Make Paintable tree ref-counted 2026-05-07 15:03:44 +02:00
SVGTextBox.h LibWeb: Make Paintable tree ref-counted 2026-05-07 15:03:44 +02:00
SVGTextPathBox.cpp LibWeb: Make Paintable tree ref-counted 2026-05-07 15:03:44 +02:00
SVGTextPathBox.h LibWeb: Make Paintable tree ref-counted 2026-05-07 15:03:44 +02:00
TableFormattingContext.cpp LibWeb: Skip unneeded table row intrinsic sizing 2026-05-30 13:43:42 +02:00
TableFormattingContext.h LibWeb: Skip unneeded table row intrinsic sizing 2026-05-30 13:43:42 +02:00
TableGrid.cpp LibWeb: Walk layout tree for table column groups 2026-05-23 11:36:45 +02:00
TableGrid.h LibWeb: Avoid having the same code in two files 2025-12-24 14:10:27 +01:00
TableWrapper.cpp LibWeb: Make CSS::ComputedProperties GC-allocated 2024-12-22 10:12:49 +01:00
TableWrapper.h LibWeb: Make CSS::ComputedProperties GC-allocated 2024-12-22 10:12:49 +01:00
TextAreaBox.cpp LibWeb: Implement auto_content_box_size for textarea and input 2026-02-02 14:36:49 +00:00
TextAreaBox.h LibWeb: Implement auto_content_box_size for textarea and input 2026-02-02 14:36:49 +00:00
TextInputBox.cpp LibWeb: Size appearance-none text inputs for max-content 2026-05-20 22:31:38 +02:00
TextInputBox.h LibWeb: Size appearance-none text inputs for max-content 2026-05-20 22:31:38 +02:00
TextNode.cpp LibWeb: Cache TextNode chunks between layouts 2026-05-24 23:41:57 +02:00
TextNode.h LibWeb: Cache TextNode chunks between layouts 2026-05-24 23:41:57 +02:00
TextOffsetMapping.cpp LibWeb: Apply ::first-letter pseudo-element styles 2026-05-20 12:09:19 +01:00
TextOffsetMapping.h LibWeb: Apply ::first-letter pseudo-element styles 2026-05-20 12:09:19 +01:00
TreeBuilder.cpp LibWeb: Clear stale pseudo-element layout nodes 2026-05-30 12:31:17 +02:00
TreeBuilder.h LibWeb: Apply ::first-letter pseudo-element styles 2026-05-20 12:09:19 +01:00
VideoBox.cpp LibWeb: Make Paintable tree ref-counted 2026-05-07 15:03:44 +02:00
VideoBox.h LibWeb: Make Paintable tree ref-counted 2026-05-07 15:03:44 +02:00
Viewport.cpp LibWeb: Collapse whitespace when gathering find in page text 2026-05-30 21:17:05 +02:00
Viewport.h LibWeb: Apply ::first-letter pseudo-element styles 2026-05-20 12:09:19 +01:00