mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-10-21 07:29:53 +00:00
When an absolutely positioned box has auto insets on both sides of an axis, it's placed according to the "static position rectangle". This is, roughly, the rectangle a box would occupy if it were position:static instead of position:absolute or position:fixed. This patch implements a rough, but still significantly better, estimation of such static positions. It gets pretty hairy in the case where an abspos box has a parent whose children are inline. |
||
---|---|---|
.. | ||
AvailableSpace.cpp | ||
AvailableSpace.h | ||
BlockContainer.cpp | ||
BlockContainer.h | ||
BlockFormattingContext.cpp | ||
BlockFormattingContext.h | ||
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 | ||
FlexFormattingContext.h | ||
FormAssociatedLabelableNode.h | ||
FormattingContext.cpp | ||
FormattingContext.h | ||
FrameBox.cpp | ||
FrameBox.h | ||
GridFormattingContext.cpp | ||
GridFormattingContext.h | ||
ImageBox.cpp | ||
ImageBox.h | ||
InitialContainingBlock.cpp | ||
InitialContainingBlock.h | ||
InlineFormattingContext.cpp | ||
InlineFormattingContext.h | ||
InlineLevelIterator.cpp | ||
InlineLevelIterator.h | ||
InlineNode.cpp | ||
InlineNode.h | ||
Label.cpp | ||
Label.h | ||
LabelableNode.cpp | ||
LabelableNode.h | ||
LayoutPosition.cpp | ||
LayoutPosition.h | ||
LayoutState.cpp | ||
LayoutState.h | ||
LineBox.cpp | ||
LineBox.h | ||
LineBoxFragment.cpp | ||
LineBoxFragment.h | ||
LineBuilder.cpp | ||
LineBuilder.h | ||
ListItemBox.cpp | ||
ListItemBox.h | ||
ListItemMarkerBox.cpp | ||
ListItemMarkerBox.h | ||
Node.cpp | ||
Node.h | ||
Progress.cpp | ||
Progress.h | ||
RadioButton.cpp | ||
RadioButton.h | ||
ReplacedBox.cpp | ||
ReplacedBox.h | ||
SVGBox.cpp | ||
SVGBox.h | ||
SVGFormattingContext.cpp | ||
SVGFormattingContext.h | ||
SVGGeometryBox.cpp | ||
SVGGeometryBox.h | ||
SVGGraphicsBox.cpp | ||
SVGGraphicsBox.h | ||
SVGSVGBox.cpp | ||
SVGSVGBox.h | ||
TableBox.cpp | ||
TableBox.h | ||
TableCellBox.cpp | ||
TableCellBox.h | ||
TableFormattingContext.cpp | ||
TableFormattingContext.h | ||
TableRowBox.cpp | ||
TableRowBox.h | ||
TableRowGroupBox.cpp | ||
TableRowGroupBox.h | ||
TextNode.cpp | ||
TextNode.h | ||
TreeBuilder.cpp | ||
TreeBuilder.h |