Skip to content

Truly independent web browser

LibWeb: Size intrinsic widths of aspect-ratio boxes from their height

Andreas Klingac9bd54d3582
diff --git a/Libraries/LibWeb/Rust/src/layout/sizing_context.rs b/Libraries/LibWeb/Rust/src/layout/sizing_context.rs
index 1508e38af07..0f7ba76183c 100644
--- a/Libraries/LibWeb/Rust/src/layout/sizing_context.rs
+++ b/Libraries/LibWeb/Rust/src/layout/sizing_context.rs
@@ -2111,8 +2111,10 @@ impl<'pass> SizingContext<'pass> {
let style = self.style(node);
// https://drafts.csswg.org/css2/#inline-replaced-width
// "'width' has a computed value of 'auto', 'height' has some other computed value, and the element does have an intrinsic ratio"
- if !facts.is_replaced_box()
- || !facts.has_preferred_aspect_ratio()
+ // https://drafts.csswg.org/css-sizing-4/#aspect-ratio-automatic
+ // When a box has a preferred aspect ratio, its automatic sizes are calculated the same as for a replaced element
+ // with a natural aspect ratio and no natural size in that axis.
+ if !facts.has_preferred_aspect_ratio()
|| !style.width().is_auto()
|| style.height().is_auto()
|| style.height().is_intrinsic_sizing_constraint()
@@ -2130,11 +2132,21 @@ impl<'pass> SizingContext<'pass> {
}
// https://drafts.csswg.org/css2/#inline-replaced-width
// "(used height) * (intrinsic ratio)"
- Some(self.compute_inline_size_for_replaced_element(
+ let inline_size =
+ self.compute_inline_size_for_replaced_element(node, available_space, ContainingBlockConstraints::default());
+ // https://drafts.csswg.org/css-sizing-4/#aspect-ratio-minimum
+ let block_size =
+ self.compute_block_size_for_replaced_element(node, available_space, ContainingBlockConstraints::default());
+ let minimum = self.automatic_minimum_size_from_aspect_ratio(
node,
+ SizingAxis::Inline,
+ block_size,
+ inline_size,
available_space,
- ContainingBlockConstraints::default(),
- ))
+ constraints,
+ None,
+ );
+ Some(minimum.map_or(inline_size, |minimum| inline_size.max(minimum)))
}
pub(crate) fn calculate_min_content_inline_size(
diff --git a/Tests/LibWeb/Text/expected/css/aspect-ratio-min-max-transfer-matrix.txt b/Tests/LibWeb/Text/expected/css/aspect-ratio-min-max-transfer-matrix.txt
index ede9d14ac92..7eb162f2160 100644
--- a/Tests/LibWeb/Text/expected/css/aspect-ratio-min-max-transfer-matrix.txt
+++ b/Tests/LibWeb/Text/expected/css/aspect-ratio-min-max-transfer-matrix.txt
@@ -5706,22 +5706,22 @@ grid block width=auto height=100% tall border-box-min-height: 140x70 child=30
grid block width=auto height=100% tall border-box-max-width: 20x10 child=0
grid block width=auto height=40px empty min-height: 120x60 child=30
grid block width=auto height=40px empty min-height-large: 300x150 child=75
-grid block width=auto height=40px empty max-height: 0x30 child=15
+grid block width=auto height=40px empty max-height: 60x30 child=15
grid block width=auto height=40px empty min-width: 150x40 child=20
-grid block width=auto height=40px empty max-width: 0x40 child=20
+grid block width=auto height=40px empty max-width: 40x40 child=20
grid block width=auto height=40px empty min-width-max-height: 150x30 child=15
grid block width=auto height=40px empty max-width-min-height: 40x60 child=30
grid block width=auto height=40px empty border-box-min-height: 140x60 child=25
-grid block width=auto height=40px empty border-box-max-width: 20x40 child=15
+grid block width=auto height=40px empty border-box-max-width: 40x40 child=15
grid block width=auto height=40px tall min-height: 120x60 child=30
grid block width=auto height=40px tall min-height-large: 300x150 child=75
-grid block width=auto height=40px tall max-height: 10x30 child=15
+grid block width=auto height=40px tall max-height: 60x30 child=15
grid block width=auto height=40px tall min-width: 150x40 child=20
-grid block width=auto height=40px tall max-width: 10x40 child=20
+grid block width=auto height=40px tall max-width: 40x40 child=20
grid block width=auto height=40px tall min-width-max-height: 150x30 child=15
grid block width=auto height=40px tall max-width-min-height: 40x60 child=30
grid block width=auto height=40px tall border-box-min-height: 140x60 child=25
-grid block width=auto height=40px tall border-box-max-width: 20x40 child=15
+grid block width=auto height=40px tall border-box-max-width: 40x40 child=15
grid block width=80px height=auto empty min-height: 80x60 child=30
grid block width=80px height=auto empty min-height-large: 80x150 child=75
grid block width=80px height=auto empty max-height: 80x30 child=15
@@ -5868,22 +5868,22 @@ grid flow-root width=auto height=100% tall border-box-min-height: 140x70 child=3
grid flow-root width=auto height=100% tall border-box-max-width: 20x10 child=0
grid flow-root width=auto height=40px empty min-height: 120x60 child=30
grid flow-root width=auto height=40px empty min-height-large: 300x150 child=75
-grid flow-root width=auto height=40px empty max-height: 0x30 child=15
+grid flow-root width=auto height=40px empty max-height: 60x30 child=15
grid flow-root width=auto height=40px empty min-width: 150x40 child=20
-grid flow-root width=auto height=40px empty max-width: 0x40 child=20
+grid flow-root width=auto height=40px empty max-width: 40x40 child=20
grid flow-root width=auto height=40px empty min-width-max-height: 150x30 child=15
grid flow-root width=auto height=40px empty max-width-min-height: 40x60 child=30
grid flow-root width=auto height=40px empty border-box-min-height: 140x60 child=25
-grid flow-root width=auto height=40px empty border-box-max-width: 20x40 child=15
+grid flow-root width=auto height=40px empty border-box-max-width: 40x40 child=15
grid flow-root width=auto height=40px tall min-height: 120x60 child=30
grid flow-root width=auto height=40px tall min-height-large: 300x150 child=75
-grid flow-root width=auto height=40px tall max-height: 10x30 child=15
+grid flow-root width=auto height=40px tall max-height: 60x30 child=15
grid flow-root width=auto height=40px tall min-width: 150x40 child=20
-grid flow-root width=auto height=40px tall max-width: 10x40 child=20
+grid flow-root width=auto height=40px tall max-width: 40x40 child=20
grid flow-root width=auto height=40px tall min-width-max-height: 150x30 child=15
grid flow-root width=auto height=40px tall max-width-min-height: 40x60 child=30
grid flow-root width=auto height=40px tall border-box-min-height: 140x60 child=25
-grid flow-root width=auto height=40px tall border-box-max-width: 20x40 child=15
+grid flow-root width=auto height=40px tall border-box-max-width: 40x40 child=15
grid flow-root width=80px height=auto empty min-height: 80x60 child=30
grid flow-root width=80px height=auto empty min-height-large: 80x150 child=75
grid flow-root width=80px height=auto empty max-height: 80x30 child=15
@@ -6030,22 +6030,22 @@ grid inline-block width=auto height=100% tall border-box-min-height: 140x70 chil
grid inline-block width=auto height=100% tall border-box-max-width: 20x10 child=0
grid inline-block width=auto height=40px empty min-height: 120x60 child=30
grid inline-block width=auto height=40px empty min-height-large: 300x150 child=75
-grid inline-block width=auto height=40px empty max-height: 0x30 child=15
+grid inline-block width=auto height=40px empty max-height: 60x30 child=15
grid inline-block width=auto height=40px empty min-width: 150x40 child=20
-grid inline-block width=auto height=40px empty max-width: 0x40 child=20
+grid inline-block width=auto height=40px empty max-width: 40x40 child=20
grid inline-block width=auto height=40px empty min-width-max-height: 150x30 child=15
grid inline-block width=auto height=40px empty max-width-min-height: 40x60 child=30
grid inline-block width=auto height=40px empty border-box-min-height: 140x60 child=25
-grid inline-block width=auto height=40px empty border-box-max-width: 20x40 child=15
+grid inline-block width=auto height=40px empty border-box-max-width: 40x40 child=15
grid inline-block width=auto height=40px tall min-height: 120x60 child=30
grid inline-block width=auto height=40px tall min-height-large: 300x150 child=75
-grid inline-block width=auto height=40px tall max-height: 10x30 child=15
+grid inline-block width=auto height=40px tall max-height: 60x30 child=15
grid inline-block width=auto height=40px tall min-width: 150x40 child=20
-grid inline-block width=auto height=40px tall max-width: 10x40 child=20
+grid inline-block width=auto height=40px tall max-width: 40x40 child=20
grid inline-block width=auto height=40px tall min-width-max-height: 150x30 child=15
grid inline-block width=auto height=40px tall max-width-min-height: 40x60 child=30
grid inline-block width=auto height=40px tall border-box-min-height: 140x60 child=25
-grid inline-block width=auto height=40px tall border-box-max-width: 20x40 child=15
+grid inline-block width=auto height=40px tall border-box-max-width: 40x40 child=15
grid inline-block width=80px height=auto empty min-height: 80x60 child=30
grid inline-block width=80px height=auto empty min-height-large: 80x150 child=75
grid inline-block width=80px height=auto empty max-height: 80x30 child=15
@@ -6192,22 +6192,22 @@ grid float width=auto height=100% tall border-box-min-height: 140x70 child=30
grid float width=auto height=100% tall border-box-max-width: 20x10 child=0
grid float width=auto height=40px empty min-height: 120x60 child=30
grid float width=auto height=40px empty min-height-large: 300x150 child=75
-grid float width=auto height=40px empty max-height: 0x30 child=15
+grid float width=auto height=40px empty max-height: 60x30 child=15
grid float width=auto height=40px empty min-width: 150x40 child=20
-grid float width=auto height=40px empty max-width: 0x40 child=20
+grid float width=auto height=40px empty max-width: 40x40 child=20
grid float width=auto height=40px empty min-width-max-height: 150x30 child=15
grid float width=auto height=40px empty max-width-min-height: 40x60 child=30
grid float width=auto height=40px empty border-box-min-height: 140x60 child=25
-grid float width=auto height=40px empty border-box-max-width: 20x40 child=15
+grid float width=auto height=40px empty border-box-max-width: 40x40 child=15
grid float width=auto height=40px tall min-height: 120x60 child=30
grid float width=auto height=40px tall min-height-large: 300x150 child=75
-grid float width=auto height=40px tall max-height: 10x30 child=15
+grid float width=auto height=40px tall max-height: 60x30 child=15
grid float width=auto height=40px tall min-width: 150x40 child=20
-grid float width=auto height=40px tall max-width: 10x40 child=20
+grid float width=auto height=40px tall max-width: 40x40 child=20
grid float width=auto height=40px tall min-width-max-height: 150x30 child=15
grid float width=auto height=40px tall max-width-min-height: 40x60 child=30
grid float width=auto height=40px tall border-box-min-height: 140x60 child=25
-grid float width=auto height=40px tall border-box-max-width: 20x40 child=15
+grid float width=auto height=40px tall border-box-max-width: 40x40 child=15
grid float width=80px height=auto empty min-height: 80x60 child=30
grid float width=80px height=auto empty min-height-large: 80x150 child=75
grid float width=80px height=auto empty max-height: 80x30 child=15
@@ -6354,22 +6354,22 @@ grid flex width=auto height=100% tall border-box-min-height: 140x310 child=150
grid flex width=auto height=100% tall border-box-max-width: 20x310 child=150
grid flex width=auto height=40px empty min-height: 120x60 child=30
grid flex width=auto height=40px empty min-height-large: 300x150 child=75
-grid flex width=auto height=40px empty max-height: 0x30 child=15
+grid flex width=auto height=40px empty max-height: 60x30 child=15
grid flex width=auto height=40px empty min-width: 150x40 child=20
-grid flex width=auto height=40px empty max-width: 0x40 child=20
+grid flex width=auto height=40px empty max-width: 40x40 child=20
grid flex width=auto height=40px empty min-width-max-height: 150x30 child=15
grid flex width=auto height=40px empty max-width-min-height: 40x60 child=30
grid flex width=auto height=40px empty border-box-min-height: 140x60 child=25
-grid flex width=auto height=40px empty border-box-max-width: 20x40 child=15
+grid flex width=auto height=40px empty border-box-max-width: 40x40 child=15
grid flex width=auto height=40px tall min-height: 120x60 child=30
grid flex width=auto height=40px tall min-height-large: 300x150 child=75
-grid flex width=auto height=40px tall max-height: 10x30 child=15
+grid flex width=auto height=40px tall max-height: 60x30 child=15
grid flex width=auto height=40px tall min-width: 150x40 child=20
-grid flex width=auto height=40px tall max-width: 10x40 child=20
+grid flex width=auto height=40px tall max-width: 40x40 child=20
grid flex width=auto height=40px tall min-width-max-height: 150x30 child=15
grid flex width=auto height=40px tall max-width-min-height: 40x60 child=30
grid flex width=auto height=40px tall border-box-min-height: 140x60 child=25
-grid flex width=auto height=40px tall border-box-max-width: 20x40 child=15
+grid flex width=auto height=40px tall border-box-max-width: 40x40 child=15
grid flex width=80px height=auto empty min-height: 80x60 child=30
grid flex width=80px height=auto empty min-height-large: 80x150 child=75
grid flex width=80px height=auto empty max-height: 80x30 child=15
@@ -6516,22 +6516,22 @@ grid grid width=auto height=100% tall border-box-min-height: 140x310 child=0
grid grid width=auto height=100% tall border-box-max-width: 20x310 child=0
grid grid width=auto height=40px empty min-height: 120x60 child=30
grid grid width=auto height=40px empty min-height-large: 300x150 child=75
-grid grid width=auto height=40px empty max-height: 0x30 child=15
+grid grid width=auto height=40px empty max-height: 60x30 child=15
grid grid width=auto height=40px empty min-width: 150x40 child=20
-grid grid width=auto height=40px empty max-width: 0x40 child=20
+grid grid width=auto height=40px empty max-width: 40x40 child=20
grid grid width=auto height=40px empty min-width-max-height: 150x30 child=15
grid grid width=auto height=40px empty max-width-min-height: 40x60 child=30
grid grid width=auto height=40px empty border-box-min-height: 140x60 child=25
-grid grid width=auto height=40px empty border-box-max-width: 20x40 child=15
+grid grid width=auto height=40px empty border-box-max-width: 40x40 child=15
grid grid width=auto height=40px tall min-height: 120x60 child=0
grid grid width=auto height=40px tall min-height-large: 300x150 child=0
-grid grid width=auto height=40px tall max-height: 10x30 child=0
+grid grid width=auto height=40px tall max-height: 60x30 child=0
grid grid width=auto height=40px tall min-width: 150x40 child=0
-grid grid width=auto height=40px tall max-width: 10x40 child=0
+grid grid width=auto height=40px tall max-width: 40x40 child=0
grid grid width=auto height=40px tall min-width-max-height: 150x30 child=0
grid grid width=auto height=40px tall max-width-min-height: 40x60 child=0
grid grid width=auto height=40px tall border-box-min-height: 140x60 child=0
-grid grid width=auto height=40px tall border-box-max-width: 20x40 child=0
+grid grid width=auto height=40px tall border-box-max-width: 40x40 child=0
grid grid width=80px height=auto empty min-height: 80x60 child=30
grid grid width=80px height=auto empty min-height-large: 80x150 child=75
grid grid width=80px height=auto empty max-height: 80x30 child=15
@@ -6840,22 +6840,22 @@ grid-definite-row block width=auto height=100% tall border-box-min-height: 140x1
grid-definite-row block width=auto height=100% tall border-box-max-width: 20x120 child=55
grid-definite-row block width=auto height=40px empty min-height: 120x60 child=30
grid-definite-row block width=auto height=40px empty min-height-large: 300x150 child=75
-grid-definite-row block width=auto height=40px empty max-height: 0x30 child=15
+grid-definite-row block width=auto height=40px empty max-height: 60x30 child=15
grid-definite-row block width=auto height=40px empty min-width: 150x40 child=20
-grid-definite-row block width=auto height=40px empty max-width: 0x40 child=20
+grid-definite-row block width=auto height=40px empty max-width: 40x40 child=20
grid-definite-row block width=auto height=40px empty min-width-max-height: 150x30 child=15
grid-definite-row block width=auto height=40px empty max-width-min-height: 40x60 child=30
grid-definite-row block width=auto height=40px empty border-box-min-height: 140x60 child=25
-grid-definite-row block width=auto height=40px empty border-box-max-width: 20x40 child=15
+grid-definite-row block width=auto height=40px empty border-box-max-width: 40x40 child=15
grid-definite-row block width=auto height=40px tall min-height: 120x60 child=30
grid-definite-row block width=auto height=40px tall min-height-large: 300x150 child=75
-grid-definite-row block width=auto height=40px tall max-height: 10x30 child=15
+grid-definite-row block width=auto height=40px tall max-height: 60x30 child=15
grid-definite-row block width=auto height=40px tall min-width: 150x40 child=20
-grid-definite-row block width=auto height=40px tall max-width: 10x40 child=20
+grid-definite-row block width=auto height=40px tall max-width: 40x40 child=20
grid-definite-row block width=auto height=40px tall min-width-max-height: 150x30 child=15
grid-definite-row block width=auto height=40px tall max-width-min-height: 40x60 child=30
grid-definite-row block width=auto height=40px tall border-box-min-height: 140x60 child=25
-grid-definite-row block width=auto height=40px tall border-box-max-width: 20x40 child=15
+grid-definite-row block width=auto height=40px tall border-box-max-width: 40x40 child=15
grid-definite-row block width=80px height=auto empty min-height: 80x60 child=30
grid-definite-row block width=80px height=auto empty min-height-large: 80x150 child=75
grid-definite-row block width=80px height=auto empty max-height: 80x30 child=15
@@ -7002,22 +7002,22 @@ grid-definite-row flow-root width=auto height=100% tall border-box-min-height: 1
grid-definite-row flow-root width=auto height=100% tall border-box-max-width: 20x120 child=55
grid-definite-row flow-root width=auto height=40px empty min-height: 120x60 child=30
grid-definite-row flow-root width=auto height=40px empty min-height-large: 300x150 child=75
-grid-definite-row flow-root width=auto height=40px empty max-height: 0x30 child=15
+grid-definite-row flow-root width=auto height=40px empty max-height: 60x30 child=15
grid-definite-row flow-root width=auto height=40px empty min-width: 150x40 child=20
-grid-definite-row flow-root width=auto height=40px empty max-width: 0x40 child=20
+grid-definite-row flow-root width=auto height=40px empty max-width: 40x40 child=20
grid-definite-row flow-root width=auto height=40px empty min-width-max-height: 150x30 child=15
grid-definite-row flow-root width=auto height=40px empty max-width-min-height: 40x60 child=30
grid-definite-row flow-root width=auto height=40px empty border-box-min-height: 140x60 child=25
-grid-definite-row flow-root width=auto height=40px empty border-box-max-width: 20x40 child=15
+grid-definite-row flow-root width=auto height=40px empty border-box-max-width: 40x40 child=15
grid-definite-row flow-root width=auto height=40px tall min-height: 120x60 child=30
grid-definite-row flow-root width=auto height=40px tall min-height-large: 300x150 child=75
-grid-definite-row flow-root width=auto height=40px tall max-height: 10x30 child=15
+grid-definite-row flow-root width=auto height=40px tall max-height: 60x30 child=15
grid-definite-row flow-root width=auto height=40px tall min-width: 150x40 child=20
-grid-definite-row flow-root width=auto height=40px tall max-width: 10x40 child=20
+grid-definite-row flow-root width=auto height=40px tall max-width: 40x40 child=20
grid-definite-row flow-root width=auto height=40px tall min-width-max-height: 150x30 child=15
grid-definite-row flow-root width=auto height=40px tall max-width-min-height: 40x60 child=30
grid-definite-row flow-root width=auto height=40px tall border-box-min-height: 140x60 child=25
-grid-definite-row flow-root width=auto height=40px tall border-box-max-width: 20x40 child=15
+grid-definite-row flow-root width=auto height=40px tall border-box-max-width: 40x40 child=15
grid-definite-row flow-root width=80px height=auto empty min-height: 80x60 child=30
grid-definite-row flow-root width=80px height=auto empty min-height-large: 80x150 child=75
grid-definite-row flow-root width=80px height=auto empty max-height: 80x30 child=15
@@ -7164,22 +7164,22 @@ grid-definite-row inline-block width=auto height=100% tall border-box-min-height
grid-definite-row inline-block width=auto height=100% tall border-box-max-width: 20x120 child=55
grid-definite-row inline-block width=auto height=40px empty min-height: 120x60 child=30
grid-definite-row inline-block width=auto height=40px empty min-height-large: 300x150 child=75
-grid-definite-row inline-block width=auto height=40px empty max-height: 0x30 child=15
+grid-definite-row inline-block width=auto height=40px empty max-height: 60x30 child=15
grid-definite-row inline-block width=auto height=40px empty min-width: 150x40 child=20
-grid-definite-row inline-block width=auto height=40px empty max-width: 0x40 child=20
+grid-definite-row inline-block width=auto height=40px empty max-width: 40x40 child=20
grid-definite-row inline-block width=auto height=40px empty min-width-max-height: 150x30 child=15
grid-definite-row inline-block width=auto height=40px empty max-width-min-height: 40x60 child=30
grid-definite-row inline-block width=auto height=40px empty border-box-min-height: 140x60 child=25
-grid-definite-row inline-block width=auto height=40px empty border-box-max-width: 20x40 child=15
+grid-definite-row inline-block width=auto height=40px empty border-box-max-width: 40x40 child=15
grid-definite-row inline-block width=auto height=40px tall min-height: 120x60 child=30
grid-definite-row inline-block width=auto height=40px tall min-height-large: 300x150 child=75
-grid-definite-row inline-block width=auto height=40px tall max-height: 10x30 child=15
+grid-definite-row inline-block width=auto height=40px tall max-height: 60x30 child=15
grid-definite-row inline-block width=auto height=40px tall min-width: 150x40 child=20
-grid-definite-row inline-block width=auto height=40px tall max-width: 10x40 child=20
+grid-definite-row inline-block width=auto height=40px tall max-width: 40x40 child=20
grid-definite-row inline-block width=auto height=40px tall min-width-max-height: 150x30 child=15
grid-definite-row inline-block width=auto height=40px tall max-width-min-height: 40x60 child=30
grid-definite-row inline-block width=auto height=40px tall border-box-min-height: 140x60 child=25
-grid-definite-row inline-block width=auto height=40px tall border-box-max-width: 20x40 child=15
+grid-definite-row inline-block width=auto height=40px tall border-box-max-width: 40x40 child=15
grid-definite-row inline-block width=80px height=auto empty min-height: 80x60 child=30
grid-definite-row inline-block width=80px height=auto empty min-height-large: 80x150 child=75
grid-definite-row inline-block width=80px height=auto empty max-height: 80x30 child=15
@@ -7326,22 +7326,22 @@ grid-definite-row float width=auto height=100% tall border-box-min-height: 140x1
grid-definite-row float width=auto height=100% tall border-box-max-width: 20x120 child=55
grid-definite-row float width=auto height=40px empty min-height: 120x60 child=30
grid-definite-row float width=auto height=40px empty min-height-large: 300x150 child=75
-grid-definite-row float width=auto height=40px empty max-height: 0x30 child=15
+grid-definite-row float width=auto height=40px empty max-height: 60x30 child=15
grid-definite-row float width=auto height=40px empty min-width: 150x40 child=20
-grid-definite-row float width=auto height=40px empty max-width: 0x40 child=20
+grid-definite-row float width=auto height=40px empty max-width: 40x40 child=20
grid-definite-row float width=auto height=40px empty min-width-max-height: 150x30 child=15
grid-definite-row float width=auto height=40px empty max-width-min-height: 40x60 child=30
grid-definite-row float width=auto height=40px empty border-box-min-height: 140x60 child=25
-grid-definite-row float width=auto height=40px empty border-box-max-width: 20x40 child=15
+grid-definite-row float width=auto height=40px empty border-box-max-width: 40x40 child=15
grid-definite-row float width=auto height=40px tall min-height: 120x60 child=30
grid-definite-row float width=auto height=40px tall min-height-large: 300x150 child=75
-grid-definite-row float width=auto height=40px tall max-height: 10x30 child=15
+grid-definite-row float width=auto height=40px tall max-height: 60x30 child=15
grid-definite-row float width=auto height=40px tall min-width: 150x40 child=20
-grid-definite-row float width=auto height=40px tall max-width: 10x40 child=20
+grid-definite-row float width=auto height=40px tall max-width: 40x40 child=20
grid-definite-row float width=auto height=40px tall min-width-max-height: 150x30 child=15
grid-definite-row float width=auto height=40px tall max-width-min-height: 40x60 child=30
grid-definite-row float width=auto height=40px tall border-box-min-height: 140x60 child=25
-grid-definite-row float width=auto height=40px tall border-box-max-width: 20x40 child=15
+grid-definite-row float width=auto height=40px tall border-box-max-width: 40x40 child=15
grid-definite-row float width=80px height=auto empty min-height: 80x60 child=30
grid-definite-row float width=80px height=auto empty min-height-large: 80x150 child=75
grid-definite-row float width=80px height=auto empty max-height: 80x30 child=15
@@ -7488,22 +7488,22 @@ grid-definite-row flex width=auto height=100% tall border-box-min-height: 140x12
grid-definite-row flex width=auto height=100% tall border-box-max-width: 20x120 child=55
grid-definite-row flex width=auto height=40px empty min-height: 120x60 child=30
grid-definite-row flex width=auto height=40px empty min-height-large: 300x150 child=75
-grid-definite-row flex width=auto height=40px empty max-height: 0x30 child=15
+grid-definite-row flex width=auto height=40px empty max-height: 60x30 child=15
grid-definite-row flex width=auto height=40px empty min-width: 150x40 child=20
-grid-definite-row flex width=auto height=40px empty max-width: 0x40 child=20
+grid-definite-row flex width=auto height=40px empty max-width: 40x40 child=20
grid-definite-row flex width=auto height=40px empty min-width-max-height: 150x30 child=15
grid-definite-row flex width=auto height=40px empty max-width-min-height: 40x60 child=30
grid-definite-row flex width=auto height=40px empty border-box-min-height: 140x60 child=25
-grid-definite-row flex width=auto height=40px empty border-box-max-width: 20x40 child=15
+grid-definite-row flex width=auto height=40px empty border-box-max-width: 40x40 child=15
grid-definite-row flex width=auto height=40px tall min-height: 120x60 child=30
grid-definite-row flex width=auto height=40px tall min-height-large: 300x150 child=75
-grid-definite-row flex width=auto height=40px tall max-height: 10x30 child=15
+grid-definite-row flex width=auto height=40px tall max-height: 60x30 child=15
grid-definite-row flex width=auto height=40px tall min-width: 150x40 child=20
-grid-definite-row flex width=auto height=40px tall max-width: 10x40 child=20
+grid-definite-row flex width=auto height=40px tall max-width: 40x40 child=20
grid-definite-row flex width=auto height=40px tall min-width-max-height: 150x30 child=15
grid-definite-row flex width=auto height=40px tall max-width-min-height: 40x60 child=30
grid-definite-row flex width=auto height=40px tall border-box-min-height: 140x60 child=25
-grid-definite-row flex width=auto height=40px tall border-box-max-width: 20x40 child=15
+grid-definite-row flex width=auto height=40px tall border-box-max-width: 40x40 child=15
grid-definite-row flex width=80px height=auto empty min-height: 80x60 child=30
grid-definite-row flex width=80px height=auto empty min-height-large: 80x150 child=75
grid-definite-row flex width=80px height=auto empty max-height: 80x30 child=15
@@ -7650,22 +7650,22 @@ grid-definite-row grid width=auto height=100% tall border-box-min-height: 140x12
grid-definite-row grid width=auto height=100% tall border-box-max-width: 20x120 child=0
grid-definite-row grid width=auto height=40px empty min-height: 120x60 child=30
grid-definite-row grid width=auto height=40px empty min-height-large: 300x150 child=75
-grid-definite-row grid width=auto height=40px empty max-height: 0x30 child=15
+grid-definite-row grid width=auto height=40px empty max-height: 60x30 child=15
grid-definite-row grid width=auto height=40px empty min-width: 150x40 child=20
-grid-definite-row grid width=auto height=40px empty max-width: 0x40 child=20
+grid-definite-row grid width=auto height=40px empty max-width: 40x40 child=20
grid-definite-row grid width=auto height=40px empty min-width-max-height: 150x30 child=15
grid-definite-row grid width=auto height=40px empty max-width-min-height: 40x60 child=30
grid-definite-row grid width=auto height=40px empty border-box-min-height: 140x60 child=25
-grid-definite-row grid width=auto height=40px empty border-box-max-width: 20x40 child=15
+grid-definite-row grid width=auto height=40px empty border-box-max-width: 40x40 child=15
grid-definite-row grid width=auto height=40px tall min-height: 120x60 child=0
grid-definite-row grid width=auto height=40px tall min-height-large: 300x150 child=0
-grid-definite-row grid width=auto height=40px tall max-height: 10x30 child=0
+grid-definite-row grid width=auto height=40px tall max-height: 60x30 child=0
grid-definite-row grid width=auto height=40px tall min-width: 150x40 child=0
-grid-definite-row grid width=auto height=40px tall max-width: 10x40 child=0
+grid-definite-row grid width=auto height=40px tall max-width: 40x40 child=0
grid-definite-row grid width=auto height=40px tall min-width-max-height: 150x30 child=0
grid-definite-row grid width=auto height=40px tall max-width-min-height: 40x60 child=0
grid-definite-row grid width=auto height=40px tall border-box-min-height: 140x60 child=0
-grid-definite-row grid width=auto height=40px tall border-box-max-width: 20x40 child=0
+grid-definite-row grid width=auto height=40px tall border-box-max-width: 40x40 child=0
grid-definite-row grid width=80px height=auto empty min-height: 80x60 child=30
grid-definite-row grid width=80px height=auto empty min-height-large: 80x150 child=75
grid-definite-row grid width=80px height=auto empty max-height: 80x30 child=15