ladybird/Userland/Libraries/LibWeb/Layout
Andreas Kling 28eec22c83 LibWeb: Don't iterate over text content inside replaced elements
This fixes an issue where whitespace inside embedded <svg> elements
would create unexpected whitespace text content on the page.

When combined with something like `white-space: pre-wrap`, it ended
up generating a lot of surprising vertical offsets.
2022-07-11 18:57:45 +02:00
..
BlockContainer.cpp Everywhere: Run clang-format 2022-04-01 21:24:45 +01:00
BlockContainer.h Everywhere: Run clang-format 2022-04-01 21:24:45 +01:00
BlockFormattingContext.cpp LibWeb: Factor out BFC "layout this block-level box" to a function 2022-07-11 18:57:45 +02:00
BlockFormattingContext.h LibWeb: Factor out BFC "layout this block-level box" to a function 2022-07-11 18:57:45 +02:00
Box.cpp LibWeb: Make Layout::Box::set_needs_display() work for all boxes 2022-04-12 00:11:48 +02:00
Box.h
BoxModelMetrics.cpp
BoxModelMetrics.h LibWeb: Rename "offset" in box model metrics to "inset" 2022-03-26 17:31:01 +01:00
BreakNode.cpp
BreakNode.h
ButtonBox.cpp LibGfx: Move other font-related files to LibGfx/Font/ 2022-04-09 23:48:18 +02:00
ButtonBox.h
CanvasBox.cpp
CanvasBox.h
CheckBox.cpp LibGfx: Move other font-related files to LibGfx/Font/ 2022-04-09 23:48:18 +02:00
CheckBox.h
FlexFormattingContext.cpp LibWeb: Use max-content main size for flex items w/ definite cross size 2022-07-11 18:57:45 +02:00
FlexFormattingContext.h LibWeb: Express intrinsic size layout via size constraints 2022-07-11 18:57:45 +02:00
FormAssociatedLabelableNode.h
FormattingContext.cpp LibWeb: Express intrinsic size layout via size constraints 2022-07-11 18:57:45 +02:00
FormattingContext.h LibWeb: Express intrinsic size layout via size constraints 2022-07-11 18:57:45 +02:00
FormattingState.cpp LibWeb: Add a 1-entry lookup cache to FormattingState 2022-07-06 20:31:22 +02:00
FormattingState.h LibWeb: Express intrinsic size layout via size constraints 2022-07-11 18:57:45 +02:00
FrameBox.cpp
FrameBox.h
ImageBox.cpp LibWeb: Stop including StyleValue.h in a few places 2022-04-14 14:54:06 +02:00
ImageBox.h Everywhere: Run clang-format 2022-04-01 21:24:45 +01:00
InitialContainingBlock.cpp LibWeb: Ignore non-painting layout nodes when building stacking contexts 2022-04-07 17:06:02 +02:00
InitialContainingBlock.h Everywhere: Run clang-format 2022-04-01 21:24:45 +01:00
InlineFormattingContext.cpp LibWeb: Make sure we always apply size constraints in IFC 2022-07-11 18:57:45 +02:00
InlineFormattingContext.h LibWeb: Make sure we always apply size constraints in IFC 2022-07-11 18:57:45 +02:00
InlineLevelIterator.cpp LibWeb: Don't iterate over text content inside replaced elements 2022-07-11 18:57:45 +02:00
InlineLevelIterator.h LibWeb: Cache a pointer to the IFC root in InlineLevelIterator 2022-07-06 20:31:27 +02:00
InlineNode.cpp
InlineNode.h
Label.cpp Everywhere: Run clang-format 2022-04-01 21:24:45 +01:00
Label.h Everywhere: Run clang-format 2022-04-01 21:24:45 +01:00
LabelableNode.cpp
LabelableNode.h
LayoutPosition.cpp
LayoutPosition.h Everywhere: Run clang-format 2022-04-01 21:24:45 +01:00
LineBox.cpp
LineBox.h LibWeb: Bring CSS line-height implementation closer to spec 2022-03-24 22:52:44 +01:00
LineBoxFragment.cpp Everywhere: Run clang-format 2022-04-01 21:24:45 +01:00
LineBoxFragment.h Everywhere: Run clang-format 2022-04-01 21:24:45 +01:00
LineBuilder.cpp LibWeb: Make sure we always apply size constraints in IFC 2022-07-11 18:57:45 +02:00
LineBuilder.h LibWeb: Express intrinsic size layout via size constraints 2022-07-11 18:57:45 +02:00
ListItemBox.cpp
ListItemBox.h
ListItemMarkerBox.cpp
ListItemMarkerBox.h
Node.cpp LibWeb: Keep both horizontal and vertical border radii till painting 2022-06-13 09:43:45 +01:00
Node.h LibWeb: Express intrinsic size layout via size constraints 2022-07-11 18:57:45 +02:00
Progress.cpp
Progress.h
RadioButton.cpp
RadioButton.h
ReplacedBox.cpp
ReplacedBox.h
SVGBox.cpp
SVGBox.h
SVGFormattingContext.cpp LibWeb: Make sure CSS::ComputedValues has initial size values 2022-07-09 22:16:35 +02:00
SVGFormattingContext.h
SVGGeometryBox.cpp
SVGGeometryBox.h
SVGGraphicsBox.cpp
SVGGraphicsBox.h
SVGSVGBox.cpp
SVGSVGBox.h
TableBox.cpp
TableBox.h
TableCellBox.cpp
TableCellBox.h Everywhere: Run clang-format 2022-04-01 21:24:45 +01:00
TableFormattingContext.cpp LibWeb: Express intrinsic size layout via size constraints 2022-07-11 18:57:45 +02:00
TableFormattingContext.h LibWeb: Size table cells using a combination of min- and max-widths 2022-03-29 00:39:57 +02:00
TableRowBox.cpp
TableRowBox.h
TableRowGroupBox.cpp
TableRowGroupBox.h
TextNode.cpp LibWeb: Express intrinsic size layout via size constraints 2022-07-11 18:57:45 +02:00
TextNode.h LibWeb: Express intrinsic size layout via size constraints 2022-07-11 18:57:45 +02:00
TreeBuilder.cpp LibWeb: Tidy up Layout::TreeBuilder ancestor stack a little bit 2022-04-13 19:52:25 +02:00
TreeBuilder.h LibWeb: Tidy up Layout::TreeBuilder ancestor stack a little bit 2022-04-13 19:52:25 +02:00