ladybird/Userland/Libraries/LibWeb/Layout
Andreas Kling 4cbec00c44 LibWeb: Actually check if percentage used flex basis is definite
Previously, we considered all LengthPercentage values for used flex
basis to be definite. This is not accurate, as percentages should only
be considered definite if the reference value they resolve against is
a definite size.

Fix this by checking the flex container's main definite size flag.
2022-07-26 01:53:41 +02:00
..
BlockContainer.cpp
BlockContainer.h
BlockFormattingContext.cpp LibWeb: Move "has-definite-width/height" flags to UsedValues 2022-07-26 01:53:41 +02:00
BlockFormattingContext.h LibWeb: Rename FormattingState to LayoutState 2022-07-17 14:11:36 +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: Actually check if percentage used flex basis is definite 2022-07-26 01:53:41 +02:00
FlexFormattingContext.h LibWeb: Actually check if percentage used flex basis is definite 2022-07-26 01:53:41 +02:00
FormAssociatedLabelableNode.h
FormattingContext.cpp LibWeb: Containing block always has definite width during abspos layout 2022-07-26 01:53:41 +02:00
FormattingContext.h LibWeb: Rename FormattingState to LayoutState 2022-07-17 14:11:36 +02:00
FrameBox.cpp
FrameBox.h
ImageBox.cpp
ImageBox.h
InitialContainingBlock.cpp
InitialContainingBlock.h
InlineFormattingContext.cpp LibWeb: Add accessors for UsedValues::computed_{width,height} 2022-07-19 15:40:41 +02:00
InlineFormattingContext.h LibWeb: Rename LayoutState::NodeState => LayoutState::UsedValues 2022-07-17 14:11:37 +02:00
InlineLevelIterator.cpp LibWeb: Add accessors for UsedValues::computed_{width,height} 2022-07-19 15:40:41 +02:00
InlineLevelIterator.h LibWeb: Rename LayoutState::NodeState => LayoutState::UsedValues 2022-07-17 14:11:37 +02:00
InlineNode.cpp
InlineNode.h
Label.cpp
Label.h
LabelableNode.cpp
LabelableNode.h
LayoutPosition.cpp
LayoutPosition.h
LayoutState.cpp LibWeb: Move "has-definite-width/height" flags to UsedValues 2022-07-26 01:53:41 +02:00
LayoutState.h LibWeb: Move "has-definite-width/height" flags to UsedValues 2022-07-26 01:53:41 +02:00
LineBox.cpp
LineBox.h
LineBoxFragment.cpp LibWeb: Rename FormattingState to LayoutState 2022-07-17 14:11:36 +02:00
LineBoxFragment.h LibWeb: Rename FormattingState to LayoutState 2022-07-17 14:11:36 +02:00
LineBuilder.cpp LibWeb: Add accessors for UsedValues::computed_{width,height} 2022-07-19 15:40:41 +02:00
LineBuilder.h LibWeb: Rename LayoutState::NodeState => LayoutState::UsedValues 2022-07-17 14:11:37 +02:00
ListItemBox.cpp
ListItemBox.h
ListItemMarkerBox.cpp
ListItemMarkerBox.h
Node.cpp LibWeb: Move "has-definite-width/height" flags to UsedValues 2022-07-26 01:53:41 +02:00
Node.h LibWeb: Move "has-definite-width/height" flags to UsedValues 2022-07-26 01:53:41 +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: Add accessors for UsedValues::computed_{width,height} 2022-07-19 15:40:41 +02:00
SVGFormattingContext.h LibWeb: Rename FormattingState to LayoutState 2022-07-17 14:11:36 +02:00
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: Add accessors for UsedValues::computed_{width,height} 2022-07-19 15:40:41 +02:00
TableFormattingContext.h LibWeb: Rename FormattingState to LayoutState 2022-07-17 14:11:36 +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: Support appearance: none for <progress> elements 2022-07-23 01:45:49 +02:00
TreeBuilder.h