ladybird/Userland/Libraries/LibWeb/Layout
Aliaksandr Kalenik 38edab09a0 LibWeb: Allow <svg> to act as a containing block
This change makes overflow clipping work correctly for children of svg
element.

Fixes following example:
```html
<!doctype html><style>
    body {
        width: 300px;
        height: 300px;
        position: relative;
        overflow: hidden;
        border: 1px solid black;
    }
    svg {
        position: absolute;
        left: 50%;
        top: 50%;
        width: 100%;
        height: 100%;
        transform: translate(-50%, -50%);
    }
</style>
<body>
<svg viewBox="0 0 100 100">
   <g>
     <rect x="0" y="0" width="100" height="100" fill="green"></rect>
   </g>
</svg>
```
2023-07-28 15:15:07 +02:00
..
AudioBox.cpp
AudioBox.h
AvailableSpace.cpp
AvailableSpace.h
BlockContainer.cpp
BlockContainer.h
BlockFormattingContext.cpp LibWeb: Handle overlapping floating box and left margin 2023-07-28 12:44:09 +02:00
BlockFormattingContext.h LibWeb: Handle float clearing specified on line break elements 2023-07-26 08:37:16 +02:00
Box.cpp
Box.h
BoxModelMetrics.cpp
BoxModelMetrics.h
BreakNode.cpp
BreakNode.h
ButtonBox.cpp
ButtonBox.h
CanvasBox.cpp
CanvasBox.h
CheckBox.cpp
CheckBox.h
FlexFormattingContext.cpp LibWeb: Handle auto margins with flex and justify-content 2023-07-26 08:35:23 +02:00
FlexFormattingContext.h LibWeb: Avoid leaking infinite remaining_free_space in FFC calculation 2023-07-26 05:17:56 +02:00
FormAssociatedLabelableNode.h
FormattingContext.cpp LibWeb: Derive box baseline from last child *with line boxes* 2023-07-25 13:42:32 +02:00
FormattingContext.h LibWeb: Handle overlapping floating box and left margin 2023-07-28 12:44:09 +02:00
FrameBox.cpp
FrameBox.h
GridFormattingContext.cpp LibWeb: Add support for align-items and align-self in CSS grid 2023-07-27 19:54:17 +02:00
GridFormattingContext.h LibWeb: Add support for align-items and align-self in CSS grid 2023-07-27 19:54:17 +02:00
ImageBox.cpp
ImageBox.h
ImageProvider.h
InlineFormattingContext.cpp LibWeb: Handle float clearing specified on line break elements 2023-07-26 08:37:16 +02:00
InlineFormattingContext.h LibWeb: Allow IFC to size inline-flex boxes midway through flex layout 2023-06-19 18:51:00 +02:00
InlineLevelIterator.cpp LibWeb: Handle float clearing specified on line break elements 2023-07-26 08:37:16 +02:00
InlineLevelIterator.h
InlineNode.cpp
InlineNode.h
Label.cpp
Label.h
LabelableNode.cpp
LabelableNode.h
LayoutState.cpp LibWeb: Bring measuring of scrollable overflow closer to spec 2023-07-13 05:09:08 +02:00
LayoutState.h LibWeb: Complete table border conflict resolution 2023-07-25 15:21:04 +02:00
LineBox.cpp LibWeb: Fix whitespace getting trimmed incorrectly 2023-07-17 21:47:34 +02:00
LineBox.h LibWeb: Remove unused code 2023-07-17 18:54:54 +02:00
LineBoxFragment.cpp
LineBoxFragment.h LibWeb: Remove unused code 2023-07-17 18:54:54 +02:00
LineBuilder.cpp
LineBuilder.h
ListItemBox.cpp
ListItemBox.h
ListItemMarkerBox.cpp
ListItemMarkerBox.h
Node.cpp LibWeb: Allow <svg> to act as a containing block 2023-07-28 15:15:07 +02:00
Node.h LibWeb: Add Node::scaled_font(float scale_factor) 2023-07-21 11:42:30 +02:00
Progress.cpp
Progress.h
RadioButton.cpp
RadioButton.h
ReplacedBox.cpp
ReplacedBox.h
SVGBox.cpp
SVGBox.h
SVGFormattingContext.cpp LibWeb: Use fixed-point saturated arithmetics for CSSPixels 2023-07-25 11:52:02 +02:00
SVGFormattingContext.h
SVGGeometryBox.cpp
SVGGeometryBox.h
SVGGraphicsBox.cpp
SVGGraphicsBox.h
SVGSVGBox.cpp
SVGSVGBox.h
SVGTextBox.cpp LibWeb: Split SVGTextContentElement into spec defined subclasses 2023-07-23 06:32:39 +02:00
SVGTextBox.h LibWeb: Split SVGTextContentElement into spec defined subclasses 2023-07-23 06:32:39 +02:00
TableFormattingContext.cpp LibWeb: Avoid division by zero when computing table measures 2023-07-27 08:01:36 +02:00
TableFormattingContext.h LibWeb: Split BorderConflictFinder::conflicting_edges method 2023-07-25 15:21:04 +02:00
TableWrapper.cpp
TableWrapper.h
TextNode.cpp LibWeb: Make Layout::TextNode::text_for_rendering() lazily computed 2023-07-03 11:50:58 +02:00
TextNode.h LibWeb: Make Layout::TextNode::text_for_rendering() lazily computed 2023-07-03 11:50:58 +02:00
TreeBuilder.cpp LibWeb: Add support for "display: contents" 2023-07-28 05:29:43 +02:00
TreeBuilder.h
VideoBox.cpp
VideoBox.h
Viewport.cpp
Viewport.h