ladybird/Userland/Libraries/LibWeb/Layout
Aliaksandr Kalenik c875cdae64 LibWeb: Avoid layout run to calculate auto height of FC child in BFC
Before this change, each BFC child that established an FC root was laid
out at least twice: the first time to perform a normal layout, and the
second time to perform an intrinsic layout to determine the automatic
content height. With this change, we avoid the second run by querying
the formatting context for the height it used after performing the
normal layout.
2024-09-17 07:58:07 +02:00
..
AudioBox.cpp LibWeb: Add calls to JS_{DECLARE,DEFINE}_ALLOCATOR() 2024-04-09 09:13:06 +02:00
AudioBox.h LibWeb: Add calls to JS_{DECLARE,DEFINE}_ALLOCATOR() 2024-04-09 09:13:06 +02:00
AvailableSpace.cpp LibWeb: Port AvailableSpace from DeprecatedString to String 2023-11-28 17:15:27 -05:00
AvailableSpace.h LibWeb: Port AvailableSpace from DeprecatedString to String 2023-11-28 17:15:27 -05:00
BlockContainer.cpp LibWeb: Allocate CSS::ComputedValues objects on the heap 2024-01-27 12:27:44 +01:00
BlockContainer.h LibWeb: Allocate CSS::ComputedValues objects on the heap 2024-01-27 12:27:44 +01:00
BlockFormattingContext.cpp LibWeb: Avoid layout run to calculate auto height of FC child in BFC 2024-09-17 07:58:07 +02:00
BlockFormattingContext.h LibWeb: Avoid layout run to calculate auto height of FC child in BFC 2024-09-17 07:58:07 +02:00
Box.cpp LibWeb: Make FC of containing block responsible for abspos layout 2024-09-12 07:36:32 +02:00
Box.h LibWeb: Reset a vector of contained abspos before collecting them again 2024-09-13 16:48:51 +02:00
BoxModelMetrics.cpp
BoxModelMetrics.h
BreakNode.cpp LibWeb: Add calls to JS_{DECLARE,DEFINE}_ALLOCATOR() 2024-04-09 09:13:06 +02:00
BreakNode.h LibWeb: Add calls to JS_{DECLARE,DEFINE}_ALLOCATOR() 2024-04-09 09:13:06 +02:00
CanvasBox.cpp LibWeb: Add calls to JS_{DECLARE,DEFINE}_ALLOCATOR() 2024-04-09 09:13:06 +02:00
CanvasBox.h LibWeb: Add calls to JS_{DECLARE,DEFINE}_ALLOCATOR() 2024-04-09 09:13:06 +02:00
CheckBox.cpp LibWeb: Add calls to JS_{DECLARE,DEFINE}_ALLOCATOR() 2024-04-09 09:13:06 +02:00
CheckBox.h LibWeb: Add calls to JS_{DECLARE,DEFINE}_ALLOCATOR() 2024-04-09 09:13:06 +02:00
FlexFormattingContext.cpp LibWeb: Fix "box-sizing: border-box" resolution for abspos items 2024-09-17 07:56:18 +02:00
FlexFormattingContext.h LibWeb: Make FC of containing block responsible for abspos layout 2024-09-12 07:36:32 +02:00
FormAssociatedLabelableNode.h
FormattingContext.cpp LibWeb: Fix "box-sizing: border-box" resolution for abspos items 2024-09-17 07:56:18 +02:00
FormattingContext.h LibWeb: Make FC of containing block responsible for abspos layout 2024-09-12 07:36:32 +02:00
FrameBox.cpp LibWeb+WebContent: Move scrollbar painting into WebContent 2024-06-05 07:03:42 +02:00
FrameBox.h LibWeb: Add calls to JS_{DECLARE,DEFINE}_ALLOCATOR() 2024-04-09 09:13:06 +02:00
GridFormattingContext.cpp LibWeb: Fix "box-sizing: border-box" resolution for abspos items 2024-09-17 07:56:18 +02:00
GridFormattingContext.h LibWeb: Use grid area as available size for abspos contained in GFC 2024-09-12 21:07:41 +02:00
ImageBox.cpp LibWeb: Remove unused includes 2024-08-09 17:01:50 +01:00
ImageBox.h LibWeb: Add calls to JS_{DECLARE,DEFINE}_ALLOCATOR() 2024-04-09 09:13:06 +02:00
ImageProvider.cpp LibWeb: Generalize ImageBox and ImagePaintable for any ImageProvider 2024-02-19 11:07:30 +01:00
ImageProvider.h LibWeb: Visit ImageProvider from Layout::ImageBox 2024-02-27 16:53:13 +01:00
InlineFormattingContext.cpp LibWeb: Make FC of containing block responsible for abspos layout 2024-09-12 07:36:32 +02:00
InlineFormattingContext.h LibWeb: Save layout mode inside formatting context object 2024-09-11 07:59:52 +02:00
InlineLevelIterator.cpp LibGfx+LibWeb: Simplify text shaping API by removing per glyph callback 2024-09-15 15:42:36 +02:00
InlineLevelIterator.h LibWeb: Layout text chunks based on their Unicode direction 2024-08-31 11:49:47 +02:00
InlineNode.cpp LibWeb: Add calls to JS_{DECLARE,DEFINE}_ALLOCATOR() 2024-04-09 09:13:06 +02:00
InlineNode.h LibWeb: Add calls to JS_{DECLARE,DEFINE}_ALLOCATOR() 2024-04-09 09:13:06 +02:00
Label.cpp LibWeb: Add Web::UIEvents::MouseButton enum, drop dependency on LibGUI 2024-06-02 20:24:42 +02:00
Label.h LibWeb: Add calls to JS_{DECLARE,DEFINE}_ALLOCATOR() 2024-04-09 09:13:06 +02:00
LabelableNode.cpp
LabelableNode.h
LayoutState.cpp LibWeb: Return used values for grid tracks in getComputedStyle() 2024-09-09 12:48:06 +02:00
LayoutState.h LibWeb: Make FC of containing block responsible for abspos layout 2024-09-12 07:36:32 +02:00
LineBox.cpp LibWeb: Layout text chunks based on their Unicode direction 2024-08-31 11:49:47 +02:00
LineBox.h LibWeb: Layout text chunks based on their Unicode direction 2024-08-31 11:49:47 +02:00
LineBoxFragment.cpp LibGfx+LibWeb: Remove DrawEmoji variant in GlyphRun 2024-09-06 08:30:30 -04:00
LineBoxFragment.h LibWeb: Layout text chunks based on their Unicode direction 2024-08-31 11:49:47 +02:00
LineBuilder.cpp LibWeb: Layout text chunks based on their Unicode direction 2024-08-31 11:49:47 +02:00
LineBuilder.h LibWeb: Layout text chunks based on their Unicode direction 2024-08-31 11:49:47 +02:00
ListItemBox.cpp LibWeb: Add calls to JS_{DECLARE,DEFINE}_ALLOCATOR() 2024-04-09 09:13:06 +02:00
ListItemBox.h LibWeb: Add calls to JS_{DECLARE,DEFINE}_ALLOCATOR() 2024-04-09 09:13:06 +02:00
ListItemMarkerBox.cpp LibWeb: Add calls to JS_{DECLARE,DEFINE}_ALLOCATOR() 2024-04-09 09:13:06 +02:00
ListItemMarkerBox.h LibWeb: Add calls to JS_{DECLARE,DEFINE}_ALLOCATOR() 2024-04-09 09:13:06 +02:00
Node.cpp LibWeb: Propagate text-decoration-* properties to anonymous wrappers 2024-09-03 17:41:05 +02:00
Node.h LibWeb: Add "position: sticky" support 2024-08-30 19:03:06 +02:00
RadioButton.cpp LibWeb: Add Web::UIEvents::MouseButton enum, drop dependency on LibGUI 2024-06-02 20:24:42 +02:00
RadioButton.h LibWeb: Add calls to JS_{DECLARE,DEFINE}_ALLOCATOR() 2024-04-09 09:13:06 +02:00
ReplacedBox.cpp
ReplacedBox.h
SVGBox.cpp
SVGBox.h
SVGClipBox.cpp LibWeb: Add calls to JS_{DECLARE,DEFINE}_ALLOCATOR() 2024-04-09 09:13:06 +02:00
SVGClipBox.h LibWeb: Add calls to JS_{DECLARE,DEFINE}_ALLOCATOR() 2024-04-09 09:13:06 +02:00
SVGForeignObjectBox.cpp LibWeb: Add layout node and paintable for SVGForeignObjectElement 2024-04-27 07:10:20 +02:00
SVGForeignObjectBox.h LibWeb: Add layout node and paintable for SVGForeignObjectElement 2024-04-27 07:10:20 +02:00
SVGFormattingContext.cpp LibWeb: Save layout mode inside formatting context object 2024-09-11 07:59:52 +02:00
SVGFormattingContext.h LibWeb: Save layout mode inside formatting context object 2024-09-11 07:59:52 +02:00
SVGGeometryBox.cpp LibWeb: Add calls to JS_{DECLARE,DEFINE}_ALLOCATOR() 2024-04-09 09:13:06 +02:00
SVGGeometryBox.h LibWeb: Add calls to JS_{DECLARE,DEFINE}_ALLOCATOR() 2024-04-09 09:13:06 +02:00
SVGGraphicsBox.cpp
SVGGraphicsBox.h
SVGImageBox.cpp LibWeb/SVG: Implement SVGImageElement 2024-08-29 06:28:44 +02:00
SVGImageBox.h LibWeb/SVG: Implement SVGImageElement 2024-08-29 06:28:44 +02:00
SVGMaskBox.cpp LibWeb: Add calls to JS_{DECLARE,DEFINE}_ALLOCATOR() 2024-04-09 09:13:06 +02:00
SVGMaskBox.h LibJS+LibWeb: Fix a ton of JS_CELL-like macro issues 2024-05-30 09:29:20 -06:00
SVGSVGBox.cpp LibWeb: Derive SVG root's natural size from width/height attributes 2024-08-22 15:29:29 +02:00
SVGSVGBox.h LibWeb: Add calls to JS_{DECLARE,DEFINE}_ALLOCATOR() 2024-04-09 09:13:06 +02:00
SVGTextBox.cpp LibWeb: Add calls to JS_{DECLARE,DEFINE}_ALLOCATOR() 2024-04-09 09:13:06 +02:00
SVGTextBox.h LibWeb: Add calls to JS_{DECLARE,DEFINE}_ALLOCATOR() 2024-04-09 09:13:06 +02:00
SVGTextPathBox.cpp LibWeb: Add calls to JS_{DECLARE,DEFINE}_ALLOCATOR() 2024-04-09 09:13:06 +02:00
SVGTextPathBox.h LibWeb: Add calls to JS_{DECLARE,DEFINE}_ALLOCATOR() 2024-04-09 09:13:06 +02:00
TableFormattingContext.cpp LibWeb: Assign static position for abspos boxes nested into TFC 2024-09-14 15:04:08 +02:00
TableFormattingContext.h LibWeb: Assign static position for abspos boxes nested into TFC 2024-09-14 15:04:08 +02:00
TableGrid.cpp LibWeb: Use TraversalDecision for multi level Node traversal methods 2024-05-07 16:45:28 -06:00
TableGrid.h LibWeb: Use IterationDecision in single level Node iteration methods 2024-05-07 16:45:28 -06:00
TableWrapper.cpp LibWeb: Add calls to JS_{DECLARE,DEFINE}_ALLOCATOR() 2024-04-09 09:13:06 +02:00
TableWrapper.h LibWeb: Add calls to JS_{DECLARE,DEFINE}_ALLOCATOR() 2024-04-09 09:13:06 +02:00
TextNode.cpp LibWeb: Layout text chunks based on their Unicode direction 2024-08-31 11:49:47 +02:00
TextNode.h LibWeb: Layout text chunks based on their Unicode direction 2024-08-31 11:49:47 +02:00
TreeBuilder.cpp LibWeb: Rename IdentifierStyleValue -> CSSKeywordValue 2024-08-15 13:58:38 +01:00
TreeBuilder.h LibWeb: Lay out SVG <clipPath> uses 2024-03-29 21:59:56 +01:00
VideoBox.cpp LibWeb: Add calls to JS_{DECLARE,DEFINE}_ALLOCATOR() 2024-04-09 09:13:06 +02:00
VideoBox.h LibWeb: Add calls to JS_{DECLARE,DEFINE}_ALLOCATOR() 2024-04-09 09:13:06 +02:00
Viewport.cpp LibWeb: Fix handling of find-in-page with pseudo-element content 2024-07-10 19:31:57 +01:00
Viewport.h LibWeb: Cache text blocks used by find in page 2024-07-03 15:35:14 +02:00