1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-16 14:37:35 +00:00
serenity/Userland/Libraries/LibWeb/Layout
Andreas Kling 0cacaf025d LibWeb: Stop putting the FormattingState nodes in a slow hash map
Instead, put them in a Vector<OwnPtr<NodeState>>. Each layout node
has a unique index into the vector. It's a simple serial ID assigned
during layout tree construction. Every new layout restarts the sequence
at 0 for the next ICB.

This is a huge layout speed improvement on all content.
2022-07-11 18:57:45 +02:00
..
BlockContainer.cpp
BlockContainer.h
BlockFormattingContext.cpp LibWeb: More specialization of intrinsic sizing layout 2022-07-11 18:57:45 +02:00
BlockFormattingContext.h LibWeb: More specialization of intrinsic sizing layout 2022-07-11 18:57:45 +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: Use the *outer* flex base size in intrinsic size calculation 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: Bring sizing of replaced elements closer to spec 2022-07-11 18:57:45 +02:00
FormattingContext.h LibWeb: Bring sizing of replaced elements closer to spec 2022-07-11 18:57:45 +02:00
FormattingState.cpp LibWeb: Stop putting the FormattingState nodes in a slow hash map 2022-07-11 18:57:45 +02:00
FormattingState.h LibWeb: Stop putting the FormattingState nodes in a slow hash map 2022-07-11 18:57:45 +02:00
FrameBox.cpp
FrameBox.h
ImageBox.cpp
ImageBox.h
InitialContainingBlock.cpp
InitialContainingBlock.h
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
Label.h
LabelableNode.cpp
LabelableNode.h
LayoutPosition.cpp
LayoutPosition.h
LineBox.cpp
LineBox.h
LineBoxFragment.cpp
LineBoxFragment.h
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: Stop putting the FormattingState nodes in a slow hash map 2022-07-11 18:57:45 +02:00
Node.h LibWeb: Stop putting the FormattingState nodes in a slow hash map 2022-07-11 18:57:45 +02:00
Progress.cpp
Progress.h
RadioButton.cpp LibWeb: Set 1:1 intrinsic aspect ratio for radio buttons 2022-07-11 18:57:45 +02:00
RadioButton.h
ReplacedBox.cpp
ReplacedBox.h
SVGBox.cpp
SVGBox.h
SVGFormattingContext.cpp LibWeb: Cache reference to <svg> element in SVGFormattingContext 2022-07-11 18:57:45 +02:00
SVGFormattingContext.h
SVGGeometryBox.cpp
SVGGeometryBox.h
SVGGraphicsBox.cpp
SVGGraphicsBox.h
SVGSVGBox.cpp LibWeb: Try to work out the intrinsic size of <svg> elements 2022-07-11 18:57:45 +02:00
SVGSVGBox.h LibWeb: Try to work out the intrinsic size of <svg> elements 2022-07-11 18:57:45 +02:00
TableBox.cpp
TableBox.h
TableCellBox.cpp
TableCellBox.h
TableFormattingContext.cpp LibWeb: Express intrinsic size layout via size constraints 2022-07-11 18:57:45 +02:00
TableFormattingContext.h
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
TreeBuilder.h