ladybird/Libraries/LibWeb/Layout
Andreas Kling e23c657144 LibWeb: Avoid SVG getBBox paintable downcasts
SVG foreignObject elements expose SVGGraphicsElement methods, including
getBBox(), but their layout boxes create SVGForeignObjectPaintable,
rather than SVGGraphicsPaintable. Only SVGGraphicsPaintable stores the
computed SVG transform data, so use it only when that paintable kind is
present.

Add reduced crash coverage for calling getBBox() on a rendered
foreignObject element.
2026-06-08 01:04:08 +02:00
..
AudioBox.cpp LibWeb: Make layout nodes refcounted 2026-06-07 20:52:49 +02:00
AudioBox.h LibWeb: Make layout nodes refcounted 2026-06-07 20:52:49 +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 layout nodes refcounted 2026-06-07 20:52:49 +02:00
BlockContainer.h LibWeb: Make layout nodes refcounted 2026-06-07 20:52:49 +02:00
BlockFormattingContext.cpp LibWeb: Make layout nodes refcounted 2026-06-07 20:52:49 +02:00
BlockFormattingContext.h LibWeb: Make layout nodes refcounted 2026-06-07 20:52:49 +02:00
Box.cpp LibWeb: Make layout nodes refcounted 2026-06-07 20:52:49 +02:00
Box.h LibWeb: Make layout nodes refcounted 2026-06-07 20:52:49 +02:00
BreakNode.cpp LibWeb: Make layout nodes refcounted 2026-06-07 20:52:49 +02:00
BreakNode.h LibWeb: Make layout nodes refcounted 2026-06-07 20:52:49 +02:00
CanvasBox.cpp LibWeb: Make layout nodes refcounted 2026-06-07 20:52:49 +02:00
CanvasBox.h LibWeb: Make layout nodes refcounted 2026-06-07 20:52:49 +02:00
CheckBox.cpp LibWeb: Make layout nodes refcounted 2026-06-07 20:52:49 +02:00
CheckBox.h LibWeb: Make layout nodes refcounted 2026-06-07 20:52:49 +02:00
DominantBaseline.h LibWeb: Implement dominant-baseline for SVG text 2026-02-26 09:23:23 +01:00
FieldSetBox.cpp LibWeb: Make layout nodes refcounted 2026-06-07 20:52:49 +02:00
FieldSetBox.h LibWeb: Make layout nodes refcounted 2026-06-07 20:52:49 +02:00
FlexFormattingContext.cpp LibWeb: Make layout nodes refcounted 2026-06-07 20:52:49 +02:00
FlexFormattingContext.h LibWeb: Make layout nodes refcounted 2026-06-07 20:52:49 +02:00
FlexLayoutData.h LibWeb: Preserve flex layout geometry for DevTools 2026-05-28 12:58:46 +01:00
FormattingContext.cpp LibWeb: Make layout nodes refcounted 2026-06-07 20:52:49 +02:00
FormattingContext.h LibWeb: Make layout nodes refcounted 2026-06-07 20:52:49 +02:00
GridFormattingContext.cpp LibWeb: Make layout nodes refcounted 2026-06-07 20:52:49 +02:00
GridFormattingContext.h LibWeb: Make layout nodes refcounted 2026-06-07 20:52:49 +02:00
GridLayoutData.h LibWeb: Keep grid template used values outside DevTools data 2026-06-01 17:39:32 +01:00
ImageBox.cpp LibWeb: Make layout nodes refcounted 2026-06-07 20:52:49 +02:00
ImageBox.h LibWeb: Make layout nodes refcounted 2026-06-07 20:52:49 +02:00
ImageProvider.cpp LibGfx+LibWeb: Make DecodedImageFrame a value type 2026-05-07 16:08:13 +02:00
ImageProvider.h LibWeb: Make layout nodes refcounted 2026-06-07 20:52:49 +02:00
InlineFormattingContext.cpp LibWeb: Make layout nodes refcounted 2026-06-07 20:52:49 +02:00
InlineFormattingContext.h LibWeb: Let IFC publish inline-end static position 2026-05-23 11:01:58 +02:00
InlineLevelIterator.cpp LibWeb: Make layout nodes refcounted 2026-06-07 20:52:49 +02:00
InlineLevelIterator.h LibWeb: Make layout nodes refcounted 2026-06-07 20:52:49 +02:00
InlineNode.cpp LibWeb: Make layout nodes refcounted 2026-06-07 20:52:49 +02:00
InlineNode.h LibWeb: Make layout nodes refcounted 2026-06-07 20:52:49 +02:00
LayoutState.cpp LibWeb: Avoid SVG getBBox paintable downcasts 2026-06-08 01:04:08 +02:00
LayoutState.h LibWeb: Make layout nodes refcounted 2026-06-07 20:52:49 +02:00
LegendBox.cpp LibWeb: Make layout nodes refcounted 2026-06-07 20:52:49 +02:00
LegendBox.h LibWeb: Make layout nodes refcounted 2026-06-07 20:52:49 +02: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: Make layout nodes refcounted 2026-06-07 20:52:49 +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 layout nodes refcounted 2026-06-07 20:52:49 +02:00
ListItemBox.h LibWeb: Make layout nodes refcounted 2026-06-07 20:52:49 +02:00
ListItemMarkerBox.cpp LibWeb: Make layout nodes refcounted 2026-06-07 20:52:49 +02:00
ListItemMarkerBox.h LibWeb: Make layout nodes refcounted 2026-06-07 20:52:49 +02:00
NavigableContainerViewport.cpp LibWeb: Make layout nodes refcounted 2026-06-07 20:52:49 +02:00
NavigableContainerViewport.h LibWeb: Make layout nodes refcounted 2026-06-07 20:52:49 +02:00
Node.cpp LibWeb: Avoid user-select lookup on unstyled layout nodes 2026-06-08 01:04:08 +02:00
Node.h LibWeb: Make layout nodes refcounted 2026-06-07 20:52:49 +02:00
RadioButton.cpp LibWeb: Make layout nodes refcounted 2026-06-07 20:52:49 +02:00
RadioButton.h LibWeb: Make layout nodes refcounted 2026-06-07 20:52:49 +02:00
RangeInputBox.cpp LibWeb: Make layout nodes refcounted 2026-06-07 20:52:49 +02:00
RangeInputBox.h LibWeb: Make layout nodes refcounted 2026-06-07 20:52:49 +02:00
ReplacedBox.cpp LibWeb: Make computed style data refcounted 2026-06-06 23:29:48 +02:00
ReplacedBox.h LibWeb: Make layout nodes refcounted 2026-06-07 20:52:49 +02: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 LibWeb: Make layout nodes refcounted 2026-06-07 20:52:49 +02:00
SVGBox.h LibWeb: Make layout nodes refcounted 2026-06-07 20:52:49 +02:00
SVGClipBox.cpp LibWeb: Make layout nodes refcounted 2026-06-07 20:52:49 +02:00
SVGClipBox.h LibWeb: Make layout nodes refcounted 2026-06-07 20:52:49 +02:00
SVGForeignObjectBox.cpp LibWeb: Make layout nodes refcounted 2026-06-07 20:52:49 +02:00
SVGForeignObjectBox.h LibWeb: Make layout nodes refcounted 2026-06-07 20:52:49 +02:00
SVGFormattingContext.cpp LibWeb: Avoid SVG getBBox paintable downcasts 2026-06-08 01:04:08 +02:00
SVGFormattingContext.h LibWeb: Apply transform attribute to inner <svg> elements 2026-05-30 18:32:15 +01:00
SVGGeometryBox.cpp LibWeb: Make layout nodes refcounted 2026-06-07 20:52:49 +02:00
SVGGeometryBox.h LibWeb: Make layout nodes refcounted 2026-06-07 20:52:49 +02:00
SVGGraphicsBox.cpp LibWeb: Make layout nodes refcounted 2026-06-07 20:52:49 +02:00
SVGGraphicsBox.h LibWeb: Make layout nodes refcounted 2026-06-07 20:52:49 +02:00
SVGImageBox.cpp LibWeb: Make layout nodes refcounted 2026-06-07 20:52:49 +02:00
SVGImageBox.h LibWeb: Make layout nodes refcounted 2026-06-07 20:52:49 +02:00
SVGMaskBox.cpp LibWeb: Make layout nodes refcounted 2026-06-07 20:52:49 +02:00
SVGMaskBox.h LibWeb: Make layout nodes refcounted 2026-06-07 20:52:49 +02:00
SVGPatternBox.cpp LibWeb: Make layout nodes refcounted 2026-06-07 20:52:49 +02:00
SVGPatternBox.h LibWeb: Make layout nodes refcounted 2026-06-07 20:52:49 +02:00
SVGSVGBox.cpp LibWeb: Make layout nodes refcounted 2026-06-07 20:52:49 +02:00
SVGSVGBox.h LibWeb: Make layout nodes refcounted 2026-06-07 20:52:49 +02:00
SVGTextBox.cpp LibWeb: Make layout nodes refcounted 2026-06-07 20:52:49 +02:00
SVGTextBox.h LibWeb: Make layout nodes refcounted 2026-06-07 20:52:49 +02:00
SVGTextPathBox.cpp LibWeb: Make layout nodes refcounted 2026-06-07 20:52:49 +02:00
SVGTextPathBox.h LibWeb: Make layout nodes refcounted 2026-06-07 20:52:49 +02:00
TableFormattingContext.cpp LibWeb: Make layout nodes refcounted 2026-06-07 20:52:49 +02:00
TableFormattingContext.h LibWeb: Make layout nodes refcounted 2026-06-07 20:52:49 +02:00
TableGrid.cpp LibWeb: Make layout nodes refcounted 2026-06-07 20:52:49 +02:00
TableGrid.h LibWeb: Make layout nodes refcounted 2026-06-07 20:52:49 +02:00
TableWrapper.cpp LibWeb: Make layout nodes refcounted 2026-06-07 20:52:49 +02:00
TableWrapper.h LibWeb: Make layout nodes refcounted 2026-06-07 20:52:49 +02:00
TextAreaBox.cpp LibWeb: Make layout nodes refcounted 2026-06-07 20:52:49 +02:00
TextAreaBox.h LibWeb: Make layout nodes refcounted 2026-06-07 20:52:49 +02:00
TextInputBox.cpp LibWeb: Make layout nodes refcounted 2026-06-07 20:52:49 +02:00
TextInputBox.h LibWeb: Make layout nodes refcounted 2026-06-07 20:52:49 +02:00
TextNode.cpp LibWeb: Make layout nodes refcounted 2026-06-07 20:52:49 +02:00
TextNode.h LibWeb: Make layout nodes refcounted 2026-06-07 20:52:49 +02:00
TextOffsetMapping.cpp LibWeb: Make layout nodes refcounted 2026-06-07 20:52:49 +02:00
TextOffsetMapping.h LibWeb: Make layout nodes refcounted 2026-06-07 20:52:49 +02:00
TreeBuilder.cpp LibWeb: Stop SVG continuation recreation at non-box elements 2026-06-08 01:04:08 +02:00
TreeBuilder.h LibWeb: Make layout nodes refcounted 2026-06-07 20:52:49 +02:00
VideoBox.cpp LibWeb: Make layout nodes refcounted 2026-06-07 20:52:49 +02:00
VideoBox.h LibWeb: Make layout nodes refcounted 2026-06-07 20:52:49 +02:00
Viewport.cpp LibWeb: Make layout nodes refcounted 2026-06-07 20:52:49 +02:00
Viewport.h LibWeb: Make layout nodes refcounted 2026-06-07 20:52:49 +02:00