ladybird/Userland/Libraries/LibWeb/Layout
Karol Kosek 142d498f14 LibWeb: Include anonymous boxes with no lines into computing BFC height
Pseudo-elements like ::before and ::after were discarded when their
content property was an empty string (ignoring whitespace), because they
are anonymous containers with no lines.

Our previous way around it was to add an empty line box (see b062a0fb7c)
however it didn't actually work for cases described in the previous
commit.

This makes avatars and cover arts square on last.fm and "fixes" the test
css-pseudo-element-should-not-be-affected-by-presentational-hints.html.
Unfortunately, this also regresses on block-and-inline/clearfix.html,
but that hopefully will be handled in subsequent commit.
2023-08-02 17:35:54 +02:00
..
AudioBox.cpp
AudioBox.h
AvailableSpace.cpp
AvailableSpace.h
BlockContainer.cpp
BlockContainer.h
BlockFormattingContext.cpp LibWeb: Include anonymous boxes with no lines into computing BFC height 2023-08-02 17:35:54 +02:00
BlockFormattingContext.h LibWeb: Better handling of floating boxes from inline formatting context 2023-08-01 07:38:19 +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: Ignore flex container size constraints during intrinsic sizing 2023-08-01 20:15:20 +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: Set max-width for inline child boxes after inside layout 2023-08-02 05:27:56 +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: Use item minimum contribution while sizing "fr" track in GFC 2023-08-01 16:25:10 +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: Better handling of floating boxes from inline formatting context 2023-08-01 07:38:19 +02:00
InlineFormattingContext.h LibWeb: Better handling of floating boxes from inline formatting context 2023-08-01 07:38:19 +02:00
InlineLevelIterator.cpp Revert "LibWeb: Make TextNode::ChunkIterator emit an empty chunk for content:""" 2023-08-02 17:35:54 +02:00
InlineLevelIterator.h
InlineNode.cpp
InlineNode.h
Label.cpp
Label.h
LabelableNode.cpp
LabelableNode.h
LayoutState.cpp LibWeb: Convert BorderData::width to CSSPixels 2023-07-30 22:18:26 +01: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 LibWeb: Better handling of floating boxes from inline formatting context 2023-08-01 07:38:19 +02:00
ListItemBox.cpp
ListItemBox.h
ListItemMarkerBox.cpp
ListItemMarkerBox.h
Node.cpp LibWeb: Add and use the "snap a length as a border width" algorithm 2023-07-30 22:18:26 +01: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 viewbox attribute in SVG symbol element 2023-08-01 14:40:51 +02:00
SVGFormattingContext.h
SVGGeometryBox.cpp LibWeb: Use viewbox attribute in SVG symbol element 2023-08-01 14:40:51 +02:00
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: Fix border for cells spanning entire table width or height 2023-07-31 10:40:31 +02:00
TableFormattingContext.h LibWeb: Split BorderConflictFinder::conflicting_edges method 2023-07-25 15:21:04 +02:00
TableWrapper.cpp
TableWrapper.h
TextNode.cpp Revert "LibWeb: Make TextNode::ChunkIterator emit an empty chunk for content:""" 2023-08-02 17:35:54 +02:00
TextNode.h Revert "LibWeb: Make TextNode::ChunkIterator emit an empty chunk for content:""" 2023-08-02 17:35:54 +02:00
TreeBuilder.cpp LibWeb: Don't lay out light DOM children of elements with a shadow root 2023-08-02 05:25:53 +02:00
TreeBuilder.h
VideoBox.cpp LibWeb: Remove unused VideoBox preferred width/height methods 2023-08-01 11:14:26 -04:00
VideoBox.h LibWeb: Remove unused VideoBox preferred width/height methods 2023-08-01 11:14:26 -04:00
Viewport.cpp
Viewport.h