1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2026-01-13 01:31:00 +00:00
serenity/Userland/Libraries/LibWeb/Layout
Andreas Kling 0843960235 LibWeb: Use CSS::Size for computed size and max-size values
This patch changes the *computed* representation of the following CSS
properties to use CSS::Size:

- width, min-width, max-width
- height, min-height, max-height

A few things had to change in order for things to keep working,
but I tried to keep the diff to a minimum.

The main trouble was that `min-width` and `max-width` can't actually be
`auto`, but they *can* be `none`. We previously treated `auto` as a
valid value (and it behaved mostly like `none`).
2022-09-25 17:51:43 +02:00
..
BlockContainer.cpp
BlockContainer.h
BlockFormattingContext.cpp LibWeb: Use CSS::Size for computed size and max-size values 2022-09-25 17:51:43 +02:00
BlockFormattingContext.h LibWeb: Remove awkward BFC::compute_theoretical_height() function 2022-09-24 13:53:23 +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 CSS::Size for computed size and max-size values 2022-09-25 17:51:43 +02:00
FlexFormattingContext.h LibWeb: Use CSS::Size for computed size and max-size values 2022-09-25 17:51:43 +02:00
FormAssociatedLabelableNode.h
FormattingContext.cpp LibWeb: Use CSS::Size for computed size and max-size values 2022-09-25 17:51:43 +02:00
FormattingContext.h LibWeb: Use CSS::Size for computed size and max-size values 2022-09-25 17:51:43 +02:00
FrameBox.cpp
FrameBox.h
GridFormattingContext.cpp LibWeb: Add FormattingContext::automatic_content_height() 2022-09-24 13:41:08 +02:00
GridFormattingContext.h LibWeb: Add FormattingContext::automatic_content_height() 2022-09-24 13:41:08 +02:00
ImageBox.cpp LibWeb: Get default fonts via Platform::FontPlugin 2022-09-17 21:27:32 +02:00
ImageBox.h LibWeb: Cache width of "alt" text in ImageBox 2022-09-07 17:47:33 +02:00
InitialContainingBlock.cpp
InitialContainingBlock.h LibWeb: Break inclusion cycle by removing unnecessary include 2022-09-17 04:00:54 +00:00
InlineFormattingContext.cpp LibWeb: Add FormattingContext::automatic_content_height() 2022-09-24 13:41:08 +02:00
InlineFormattingContext.h LibWeb: Add FormattingContext::automatic_content_height() 2022-09-24 13:41:08 +02:00
InlineLevelIterator.cpp LibWeb: Resolve cyclic declaration/definitions involving Length 2022-09-15 14:45:38 +01:00
InlineLevelIterator.h LibWeb: Add missing includes 2022-09-18 13:27:24 -04:00
InlineNode.cpp
InlineNode.h
Label.cpp
Label.h
LabelableNode.cpp
LabelableNode.h
LayoutPosition.cpp
LayoutPosition.h
LayoutState.cpp LibWeb: Use CSS::Size for computed size and max-size values 2022-09-25 17:51:43 +02:00
LayoutState.h LibWeb: Remove the flex item size cache 2022-09-18 18:55:06 +02:00
LineBox.cpp
LineBox.h
LineBoxFragment.cpp
LineBoxFragment.h
LineBuilder.cpp LibWeb: Perform horizontal inline alignment based on available space 2022-09-22 17:06:48 +02:00
LineBuilder.h LibWeb: Improve inline flow around floating boxes 2022-09-16 15:15:50 +02:00
ListItemBox.cpp
ListItemBox.h
ListItemMarkerBox.cpp
ListItemMarkerBox.h
Node.cpp LibWeb: Use CSS::Size for computed size and max-size values 2022-09-25 17:51:43 +02:00
Node.h LibWeb: Remove unused Layout::Node::did_insert_into_layout_tree() 2022-09-20 10:32:12 +02:00
Progress.cpp
Progress.h
RadioButton.cpp
RadioButton.h
ReplacedBox.cpp
ReplacedBox.h
SVGBox.cpp
SVGBox.h
SVGFormattingContext.cpp LibWeb: Add FormattingContext::automatic_content_height() 2022-09-24 13:41:08 +02:00
SVGFormattingContext.h LibWeb: Add FormattingContext::automatic_content_height() 2022-09-24 13:41:08 +02:00
SVGGeometryBox.cpp
SVGGeometryBox.h
SVGGraphicsBox.cpp
SVGGraphicsBox.h
SVGSVGBox.cpp
SVGSVGBox.h
TableBox.cpp
TableBox.h
TableCellBox.cpp
TableCellBox.h
TableFormattingContext.cpp LibWeb: Add FormattingContext::automatic_content_height() 2022-09-24 13:41:08 +02:00
TableFormattingContext.h LibWeb: Add FormattingContext::automatic_content_height() 2022-09-24 13:41:08 +02:00
TableRowBox.cpp
TableRowBox.h
TableRowGroupBox.cpp
TableRowGroupBox.h
TextNode.cpp
TextNode.h
TreeBuilder.cpp LibWeb: Remove unused Layout::Node::did_insert_into_layout_tree() 2022-09-20 10:32:12 +02:00
TreeBuilder.h