Skip to content

Truly independent web browser

LibWeb: Let max-width: none place no limit in replaced sizing

Andreas Klingd992ba6f511e
diff --git a/Libraries/LibWeb/Rust/src/layout/sizing_context.rs b/Libraries/LibWeb/Rust/src/layout/sizing_context.rs
index 1283def157a..dd6de6d591e 100644
--- a/Libraries/LibWeb/Rust/src/layout/sizing_context.rs
+++ b/Libraries/LibWeb/Rust/src/layout/sizing_context.rs
@@ -497,9 +497,10 @@ impl<'pass> SizingContext<'pass> {
} else {
self.calculate_inner_inline_size(node, available_space.inline_size, style.min_width(), constraints)
};
+ // NB: A maximum of 'none' places no limit, so the table can grow a size to satisfy a minimum in the other axis.
let specified_max_inline =
if self.should_treat_max_inline_size_as_none(node, available_space.inline_size, constraints) {
- input_inline_size
+ max_dimension_value()
} else {
self.calculate_inner_inline_size(node, available_space.inline_size, style.max_width(), constraints)
};
@@ -511,7 +512,7 @@ impl<'pass> SizingContext<'pass> {
};
let specified_max_block =
if self.should_treat_max_block_size_as_none(node, available_space.block_size, constraints) {
- input_block_size
+ max_dimension_value()
} else {
self.calculate_inner_block_size(node, available_space, style.max_height(), constraints)
};
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 6f2734c6ac3..1592ddda58f 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
@@ -1,5 +1,5 @@
block block width=auto height=auto empty min-height: 200x100 child=50
-block block width=auto height=auto empty min-height-large: 200x150 child=75
+block block width=auto height=auto empty min-height-large: 300x150 child=75
block block width=auto height=auto empty max-height: 60x30 child=15
block block width=auto height=auto empty min-width: 200x100 child=50
block block width=auto height=auto empty max-width: 40x20 child=10
@@ -8,7 +8,7 @@ block block width=auto height=auto empty max-width-min-height: 40x60 child=30
block block width=auto height=auto empty border-box-min-height: 200x100 child=45
block block width=auto height=auto empty border-box-max-width: 40x20 child=5
block block width=auto height=auto tall min-height: 200x100 child=50
-block block width=auto height=auto tall min-height-large: 200x150 child=75
+block block width=auto height=auto tall min-height-large: 300x150 child=75
block block width=auto height=auto tall max-height: 60x30 child=15
block block width=auto height=auto tall min-width: 200x350 child=50
block block width=auto height=auto tall max-width: 40x310 child=10
@@ -17,7 +17,7 @@ block block width=auto height=auto tall max-width-min-height: 40x60 child=30
block block width=auto height=auto tall border-box-min-height: 200x100 child=45
block block width=auto height=auto tall border-box-max-width: 40x315 child=5
block block width=auto height=100% empty min-height: 200x100 child=50
-block block width=auto height=100% empty min-height-large: 200x150 child=75
+block block width=auto height=100% empty min-height-large: 300x150 child=75
block block width=auto height=100% empty max-height: 60x30 child=15
block block width=auto height=100% empty min-width: 200x100 child=50
block block width=auto height=100% empty max-width: 40x20 child=10
@@ -26,7 +26,7 @@ block block width=auto height=100% empty max-width-min-height: 40x60 child=30
block block width=auto height=100% empty border-box-min-height: 200x100 child=45
block block width=auto height=100% empty border-box-max-width: 40x20 child=5
block block width=auto height=100% tall min-height: 200x100 child=50
-block block width=auto height=100% tall min-height-large: 200x150 child=75
+block block width=auto height=100% tall min-height-large: 300x150 child=75
block block width=auto height=100% tall max-height: 60x30 child=15
block block width=auto height=100% tall min-width: 200x100 child=50
block block width=auto height=100% tall max-width: 40x20 child=10
@@ -161,7 +161,7 @@ block block width=50% height=40px tall max-width-min-height: 40x60 child=30
block block width=50% height=40px tall border-box-min-height: 100x60 child=25
block block width=50% height=40px tall border-box-max-width: 40x40 child=15
block flow-root width=auto height=auto empty min-height: 200x100 child=50
-block flow-root width=auto height=auto empty min-height-large: 200x150 child=75
+block flow-root width=auto height=auto empty min-height-large: 300x150 child=75
block flow-root width=auto height=auto empty max-height: 60x30 child=15
block flow-root width=auto height=auto empty min-width: 200x100 child=50
block flow-root width=auto height=auto empty max-width: 40x20 child=10
@@ -170,7 +170,7 @@ block flow-root width=auto height=auto empty max-width-min-height: 40x60 child=3
block flow-root width=auto height=auto empty border-box-min-height: 200x100 child=45
block flow-root width=auto height=auto empty border-box-max-width: 40x20 child=5
block flow-root width=auto height=auto tall min-height: 200x100 child=50
-block flow-root width=auto height=auto tall min-height-large: 200x150 child=75
+block flow-root width=auto height=auto tall min-height-large: 300x150 child=75
block flow-root width=auto height=auto tall max-height: 60x30 child=15
block flow-root width=auto height=auto tall min-width: 200x350 child=50
block flow-root width=auto height=auto tall max-width: 40x310 child=10
@@ -179,7 +179,7 @@ block flow-root width=auto height=auto tall max-width-min-height: 40x60 child=30
block flow-root width=auto height=auto tall border-box-min-height: 200x100 child=45
block flow-root width=auto height=auto tall border-box-max-width: 40x315 child=5
block flow-root width=auto height=100% empty min-height: 200x100 child=50
-block flow-root width=auto height=100% empty min-height-large: 200x150 child=75
+block flow-root width=auto height=100% empty min-height-large: 300x150 child=75
block flow-root width=auto height=100% empty max-height: 60x30 child=15
block flow-root width=auto height=100% empty min-width: 200x100 child=50
block flow-root width=auto height=100% empty max-width: 40x20 child=10
@@ -188,7 +188,7 @@ block flow-root width=auto height=100% empty max-width-min-height: 40x60 child=3
block flow-root width=auto height=100% empty border-box-min-height: 200x100 child=45
block flow-root width=auto height=100% empty border-box-max-width: 40x20 child=5
block flow-root width=auto height=100% tall min-height: 200x100 child=50
-block flow-root width=auto height=100% tall min-height-large: 200x150 child=75
+block flow-root width=auto height=100% tall min-height-large: 300x150 child=75
block flow-root width=auto height=100% tall max-height: 60x30 child=15
block flow-root width=auto height=100% tall min-width: 200x100 child=50
block flow-root width=auto height=100% tall max-width: 40x20 child=10
@@ -647,7 +647,7 @@ block float width=50% height=40px tall max-width-min-height: 40x60 child=30
block float width=50% height=40px tall border-box-min-height: 100x60 child=25
block float width=50% height=40px tall border-box-max-width: 40x40 child=15
block flex width=auto height=auto empty min-height: 200x100 child=50
-block flex width=auto height=auto empty min-height-large: 200x150 child=75
+block flex width=auto height=auto empty min-height-large: 300x150 child=75
block flex width=auto height=auto empty max-height: 60x30 child=15
block flex width=auto height=auto empty min-width: 200x100 child=50
block flex width=auto height=auto empty max-width: 40x20 child=10
@@ -656,7 +656,7 @@ block flex width=auto height=auto empty max-width-min-height: 40x60 child=30
block flex width=auto height=auto empty border-box-min-height: 200x100 child=45
block flex width=auto height=auto empty border-box-max-width: 40x20 child=5
block flex width=auto height=auto tall min-height: 200x100 child=50
-block flex width=auto height=auto tall min-height-large: 200x150 child=75
+block flex width=auto height=auto tall min-height-large: 300x150 child=75
block flex width=auto height=auto tall max-height: 60x30 child=15
block flex width=auto height=auto tall min-width: 200x300 child=50
block flex width=auto height=auto tall max-width: 40x300 child=10
@@ -665,7 +665,7 @@ block flex width=auto height=auto tall max-width-min-height: 40x60 child=30
block flex width=auto height=auto tall border-box-min-height: 200x100 child=45
block flex width=auto height=auto tall border-box-max-width: 40x310 child=5
block flex width=auto height=100% empty min-height: 200x100 child=50
-block flex width=auto height=100% empty min-height-large: 200x150 child=75
+block flex width=auto height=100% empty min-height-large: 300x150 child=75
block flex width=auto height=100% empty max-height: 60x30 child=15
block flex width=auto height=100% empty min-width: 200x100 child=50
block flex width=auto height=100% empty max-width: 40x20 child=10
@@ -674,7 +674,7 @@ block flex width=auto height=100% empty max-width-min-height: 40x60 child=30
block flex width=auto height=100% empty border-box-min-height: 200x100 child=45
block flex width=auto height=100% empty border-box-max-width: 40x20 child=5
block flex width=auto height=100% tall min-height: 200x100 child=50
-block flex width=auto height=100% tall min-height-large: 200x150 child=75
+block flex width=auto height=100% tall min-height-large: 300x150 child=75
block flex width=auto height=100% tall max-height: 60x30 child=15
block flex width=auto height=100% tall min-width: 200x100 child=50
block flex width=auto height=100% tall max-width: 40x20 child=10
@@ -809,7 +809,7 @@ block flex width=50% height=40px tall max-width-min-height: 40x60 child=30
block flex width=50% height=40px tall border-box-min-height: 100x60 child=25
block flex width=50% height=40px tall border-box-max-width: 40x40 child=15
block grid width=auto height=auto empty min-height: 200x100 child=50
-block grid width=auto height=auto empty min-height-large: 200x150 child=75
+block grid width=auto height=auto empty min-height-large: 300x150 child=75
block grid width=auto height=auto empty max-height: 60x30 child=15
block grid width=auto height=auto empty min-width: 200x100 child=50
block grid width=auto height=auto empty max-width: 40x20 child=10
@@ -818,7 +818,7 @@ block grid width=auto height=auto empty max-width-min-height: 40x60 child=30
block grid width=auto height=auto empty border-box-min-height: 200x100 child=45
block grid width=auto height=auto empty border-box-max-width: 40x20 child=5
block grid width=auto height=auto tall min-height: 200x100 child=0
-block grid width=auto height=auto tall min-height-large: 200x150 child=0
+block grid width=auto height=auto tall min-height-large: 300x150 child=0
block grid width=auto height=auto tall max-height: 60x30 child=0
block grid width=auto height=auto tall min-width: 200x300 child=0
block grid width=auto height=auto tall max-width: 40x300 child=0
@@ -827,7 +827,7 @@ block grid width=auto height=auto tall max-width-min-height: 40x60 child=0
block grid width=auto height=auto tall border-box-min-height: 200x100 child=0
block grid width=auto height=auto tall border-box-max-width: 40x310 child=0
block grid width=auto height=100% empty min-height: 200x100 child=50
-block grid width=auto height=100% empty min-height-large: 200x150 child=75
+block grid width=auto height=100% empty min-height-large: 300x150 child=75
block grid width=auto height=100% empty max-height: 60x30 child=15
block grid width=auto height=100% empty min-width: 200x100 child=50
block grid width=auto height=100% empty max-width: 40x20 child=10
@@ -836,7 +836,7 @@ block grid width=auto height=100% empty max-width-min-height: 40x60 child=30
block grid width=auto height=100% empty border-box-min-height: 200x100 child=45
block grid width=auto height=100% empty border-box-max-width: 40x20 child=5
block grid width=auto height=100% tall min-height: 200x100 child=0
-block grid width=auto height=100% tall min-height-large: 200x150 child=0
+block grid width=auto height=100% tall min-height-large: 300x150 child=0
block grid width=auto height=100% tall max-height: 60x30 child=0
block grid width=auto height=100% tall min-width: 200x100 child=0
block grid width=auto height=100% tall max-width: 40x20 child=0
@@ -1133,7 +1133,7 @@ block abspos width=50% height=40px tall max-width-min-height: 40x60 child=30
block abspos width=50% height=40px tall border-box-min-height: 100x60 child=25
block abspos width=50% height=40px tall border-box-max-width: 40x40 child=15
block-definite block width=auto height=auto empty min-height: 200x100 child=50
-block-definite block width=auto height=auto empty min-height-large: 200x150 child=75
+block-definite block width=auto height=auto empty min-height-large: 300x150 child=75
block-definite block width=auto height=auto empty max-height: 60x30 child=15
block-definite block width=auto height=auto empty min-width: 200x100 child=50
block-definite block width=auto height=auto empty max-width: 40x20 child=10
@@ -1142,7 +1142,7 @@ block-definite block width=auto height=auto empty max-width-min-height: 40x60 ch
block-definite block width=auto height=auto empty border-box-min-height: 200x100 child=45
block-definite block width=auto height=auto empty border-box-max-width: 40x20 child=5
block-definite block width=auto height=auto tall min-height: 200x100 child=50
-block-definite block width=auto height=auto tall min-height-large: 200x150 child=75
+block-definite block width=auto height=auto tall min-height-large: 300x150 child=75
block-definite block width=auto height=auto tall max-height: 60x30 child=15
block-definite block width=auto height=auto tall min-width: 200x350 child=50
block-definite block width=auto height=auto tall max-width: 40x310 child=10
@@ -1295,7 +1295,7 @@ block-definite block width=50% height=40px tall max-width-min-height: 40x60 chil
block-definite block width=50% height=40px tall border-box-min-height: 100x60 child=25
block-definite block width=50% height=40px tall border-box-max-width: 40x40 child=15
block-definite flow-root width=auto height=auto empty min-height: 200x100 child=50
-block-definite flow-root width=auto height=auto empty min-height-large: 200x150 child=75
+block-definite flow-root width=auto height=auto empty min-height-large: 300x150 child=75
block-definite flow-root width=auto height=auto empty max-height: 60x30 child=15
block-definite flow-root width=auto height=auto empty min-width: 200x100 child=50
block-definite flow-root width=auto height=auto empty max-width: 40x20 child=10
@@ -1304,7 +1304,7 @@ block-definite flow-root width=auto height=auto empty max-width-min-height: 40x6
block-definite flow-root width=auto height=auto empty border-box-min-height: 200x100 child=45
block-definite flow-root width=auto height=auto empty border-box-max-width: 40x20 child=5
block-definite flow-root width=auto height=auto tall min-height: 200x100 child=50
-block-definite flow-root width=auto height=auto tall min-height-large: 200x150 child=75
+block-definite flow-root width=auto height=auto tall min-height-large: 300x150 child=75
block-definite flow-root width=auto height=auto tall max-height: 60x30 child=15
block-definite flow-root width=auto height=auto tall min-width: 200x350 child=50
block-definite flow-root width=auto height=auto tall max-width: 40x310 child=10
@@ -1781,7 +1781,7 @@ block-definite float width=50% height=40px tall max-width-min-height: 40x60 chil
block-definite float width=50% height=40px tall border-box-min-height: 100x60 child=25
block-definite float width=50% height=40px tall border-box-max-width: 40x40 child=15
block-definite flex width=auto height=auto empty min-height: 200x100 child=50
-block-definite flex width=auto height=auto empty min-height-large: 200x150 child=75
+block-definite flex width=auto height=auto empty min-height-large: 300x150 child=75
block-definite flex width=auto height=auto empty max-height: 60x30 child=15
block-definite flex width=auto height=auto empty min-width: 200x100 child=50
block-definite flex width=auto height=auto empty max-width: 40x20 child=10
@@ -1790,7 +1790,7 @@ block-definite flex width=auto height=auto empty max-width-min-height: 40x60 chi
block-definite flex width=auto height=auto empty border-box-min-height: 200x100 child=45
block-definite flex width=auto height=auto empty border-box-max-width: 40x20 child=5
block-definite flex width=auto height=auto tall min-height: 200x100 child=50
-block-definite flex width=auto height=auto tall min-height-large: 200x150 child=75
+block-definite flex width=auto height=auto tall min-height-large: 300x150 child=75
block-definite flex width=auto height=auto tall max-height: 60x30 child=15
block-definite flex width=auto height=auto tall min-width: 200x300 child=50
block-definite flex width=auto height=auto tall max-width: 40x300 child=10
@@ -1943,7 +1943,7 @@ block-definite flex width=50% height=40px tall max-width-min-height: 40x60 child
block-definite flex width=50% height=40px tall border-box-min-height: 100x60 child=25
block-definite flex width=50% height=40px tall border-box-max-width: 40x40 child=15
block-definite grid width=auto height=auto empty min-height: 200x100 child=50
-block-definite grid width=auto height=auto empty min-height-large: 200x150 child=75
+block-definite grid width=auto height=auto empty min-height-large: 300x150 child=75
block-definite grid width=auto height=auto empty max-height: 60x30 child=15
block-definite grid width=auto height=auto empty min-width: 200x100 child=50
block-definite grid width=auto height=auto empty max-width: 40x20 child=10
@@ -1952,7 +1952,7 @@ block-definite grid width=auto height=auto empty max-width-min-height: 40x60 chi
block-definite grid width=auto height=auto empty border-box-min-height: 200x100 child=45
block-definite grid width=auto height=auto empty border-box-max-width: 40x20 child=5
block-definite grid width=auto height=auto tall min-height: 200x100 child=0
-block-definite grid width=auto height=auto tall min-height-large: 200x150 child=0
+block-definite grid width=auto height=auto tall min-height-large: 300x150 child=0
block-definite grid width=auto height=auto tall max-height: 60x30 child=0
block-definite grid width=auto height=auto tall min-width: 200x300 child=0
block-definite grid width=auto height=auto tall max-width: 40x300 child=0
@@ -7936,41 +7936,41 @@ grid-definite-row abspos width=50% height=40px tall min-width-max-height: 150x30
grid-definite-row abspos width=50% height=40px tall max-width-min-height: 40x60 child=30
grid-definite-row abspos width=50% height=40px tall border-box-min-height: 100x60 child=25
grid-definite-row abspos width=50% height=40px tall border-box-max-width: 40x40 child=15
-inline-block block width=auto height=auto empty min-height: 0x60 child=30
-inline-block block width=auto height=auto empty min-height-large: 0x150 child=75
+inline-block block width=auto height=auto empty min-height: 120x60 child=30
+inline-block block width=auto height=auto empty min-height-large: 300x150 child=75
inline-block block width=auto height=auto empty max-height: 0x0 child=0
inline-block block width=auto height=auto empty min-width: 150x75 child=37.5
inline-block block width=auto height=auto empty max-width: 0x0 child=0
inline-block block width=auto height=auto empty min-width-max-height: 150x30 child=15
inline-block block width=auto height=auto empty max-width-min-height: 40x60 child=30
-inline-block block width=auto height=auto empty border-box-min-height: 10x60 child=25
+inline-block block width=auto height=auto empty border-box-min-height: 120x60 child=25
inline-block block width=auto height=auto empty border-box-max-width: 10x10 child=0
-inline-block block width=auto height=auto tall min-height: 10x60 child=30
-inline-block block width=auto height=auto tall min-height-large: 10x150 child=75
+inline-block block width=auto height=auto tall min-height: 120x60 child=30
+inline-block block width=auto height=auto tall min-height-large: 300x150 child=75
inline-block block width=auto height=auto tall max-height: 10x30 child=2.5
inline-block block width=auto height=auto tall min-width: 150x337.5 child=37.5
inline-block block width=auto height=auto tall max-width: 10x302.5 child=2.5
inline-block block width=auto height=auto tall min-width-max-height: 150x30 child=15
inline-block block width=auto height=auto tall max-width-min-height: 40x60 child=30
-inline-block block width=auto height=auto tall border-box-min-height: 20x60 child=25
+inline-block block width=auto height=auto tall border-box-min-height: 120x60 child=25
inline-block block width=auto height=auto tall border-box-max-width: 20x310 child=0
-inline-block block width=auto height=100% empty min-height: 0x60 child=30
-inline-block block width=auto height=100% empty min-height-large: 0x150 child=75
+inline-block block width=auto height=100% empty min-height: 120x60 child=30
+inline-block block width=auto height=100% empty min-height-large: 300x150 child=75
inline-block block width=auto height=100% empty max-height: 0x0 child=0
inline-block block width=auto height=100% empty min-width: 150x75 child=37.5
inline-block block width=auto height=100% empty max-width: 0x0 child=0
inline-block block width=auto height=100% empty min-width-max-height: 150x30 child=15
inline-block block width=auto height=100% empty max-width-min-height: 40x60 child=30
-inline-block block width=auto height=100% empty border-box-min-height: 10x60 child=25
+inline-block block width=auto height=100% empty border-box-min-height: 120x60 child=25
inline-block block width=auto height=100% empty border-box-max-width: 10x10 child=0
-inline-block block width=auto height=100% tall min-height: 10x60 child=30
-inline-block block width=auto height=100% tall min-height-large: 10x150 child=75
+inline-block block width=auto height=100% tall min-height: 120x60 child=30
+inline-block block width=auto height=100% tall min-height-large: 300x150 child=75
inline-block block width=auto height=100% tall max-height: 10x5 child=2.5
inline-block block width=auto height=100% tall min-width: 150x75 child=37.5
inline-block block width=auto height=100% tall max-width: 10x5 child=2.5
inline-block block width=auto height=100% tall min-width-max-height: 150x30 child=15
inline-block block width=auto height=100% tall max-width-min-height: 40x60 child=30
-inline-block block width=auto height=100% tall border-box-min-height: 20x60 child=25
+inline-block block width=auto height=100% tall border-box-min-height: 120x60 child=25
inline-block block width=auto height=100% tall border-box-max-width: 20x10 child=0
inline-block block width=auto height=40px empty min-height: 120x60 child=30
inline-block block width=auto height=40px empty min-height-large: 300x150 child=75
@@ -8098,41 +8098,41 @@ inline-block block width=50% height=40px tall min-width-max-height: 150x30 child
inline-block block width=50% height=40px tall max-width-min-height: 20x60 child=30
inline-block block width=50% height=40px tall border-box-min-height: 60x60 child=25
inline-block block width=50% height=40px tall border-box-max-width: 20x40 child=15
-inline-block flow-root width=auto height=auto empty min-height: 0x60 child=30
-inline-block flow-root width=auto height=auto empty min-height-large: 0x150 child=75
+inline-block flow-root width=auto height=auto empty min-height: 120x60 child=30
+inline-block flow-root width=auto height=auto empty min-height-large: 300x150 child=75
inline-block flow-root width=auto height=auto empty max-height: 0x0 child=0
inline-block flow-root width=auto height=auto empty min-width: 150x75 child=37.5
inline-block flow-root width=auto height=auto empty max-width: 0x0 child=0
inline-block flow-root width=auto height=auto empty min-width-max-height: 150x30 child=15
inline-block flow-root width=auto height=auto empty max-width-min-height: 40x60 child=30
-inline-block flow-root width=auto height=auto empty border-box-min-height: 10x60 child=25
+inline-block flow-root width=auto height=auto empty border-box-min-height: 120x60 child=25
inline-block flow-root width=auto height=auto empty border-box-max-width: 10x10 child=0
-inline-block flow-root width=auto height=auto tall min-height: 10x60 child=30
-inline-block flow-root width=auto height=auto tall min-height-large: 10x150 child=75
+inline-block flow-root width=auto height=auto tall min-height: 120x60 child=30
+inline-block flow-root width=auto height=auto tall min-height-large: 300x150 child=75
inline-block flow-root width=auto height=auto tall max-height: 10x30 child=2.5
inline-block flow-root width=auto height=auto tall min-width: 150x337.5 child=37.5
inline-block flow-root width=auto height=auto tall max-width: 10x302.5 child=2.5
inline-block flow-root width=auto height=auto tall min-width-max-height: 150x30 child=15
inline-block flow-root width=auto height=auto tall max-width-min-height: 40x60 child=30
-inline-block flow-root width=auto height=auto tall border-box-min-height: 20x60 child=25
+inline-block flow-root width=auto height=auto tall border-box-min-height: 120x60 child=25
inline-block flow-root width=auto height=auto tall border-box-max-width: 20x310 child=0
-inline-block flow-root width=auto height=100% empty min-height: 0x60 child=30
-inline-block flow-root width=auto height=100% empty min-height-large: 0x150 child=75
+inline-block flow-root width=auto height=100% empty min-height: 120x60 child=30
+inline-block flow-root width=auto height=100% empty min-height-large: 300x150 child=75
inline-block flow-root width=auto height=100% empty max-height: 0x0 child=0
inline-block flow-root width=auto height=100% empty min-width: 150x75 child=37.5
inline-block flow-root width=auto height=100% empty max-width: 0x0 child=0
inline-block flow-root width=auto height=100% empty min-width-max-height: 150x30 child=15
inline-block flow-root width=auto height=100% empty max-width-min-height: 40x60 child=30
-inline-block flow-root width=auto height=100% empty border-box-min-height: 10x60 child=25
+inline-block flow-root width=auto height=100% empty border-box-min-height: 120x60 child=25
inline-block flow-root width=auto height=100% empty border-box-max-width: 10x10 child=0
-inline-block flow-root width=auto height=100% tall min-height: 10x60 child=30
-inline-block flow-root width=auto height=100% tall min-height-large: 10x150 child=75
+inline-block flow-root width=auto height=100% tall min-height: 120x60 child=30
+inline-block flow-root width=auto height=100% tall min-height-large: 300x150 child=75
inline-block flow-root width=auto height=100% tall max-height: 10x5 child=2.5
inline-block flow-root width=auto height=100% tall min-width: 150x75 child=37.5
inline-block flow-root width=auto height=100% tall max-width: 10x5 child=2.5
inline-block flow-root width=auto height=100% tall min-width-max-height: 150x30 child=15
inline-block flow-root width=auto height=100% tall max-width-min-height: 40x60 child=30
-inline-block flow-root width=auto height=100% tall border-box-min-height: 20x60 child=25
+inline-block flow-root width=auto height=100% tall border-box-min-height: 120x60 child=25
inline-block flow-root width=auto height=100% tall border-box-max-width: 20x10 child=0
inline-block flow-root width=auto height=40px empty min-height: 120x60 child=30
inline-block flow-root width=auto height=40px empty min-height-large: 300x150 child=75
@@ -8584,41 +8584,41 @@ inline-block float width=50% height=40px tall min-width-max-height: 150x30 child
inline-block float width=50% height=40px tall max-width-min-height: 20x60 child=30
inline-block float width=50% height=40px tall border-box-min-height: 60x60 child=25
inline-block float width=50% height=40px tall border-box-max-width: 20x40 child=15
-inline-block flex width=auto height=auto empty min-height: 0x60 child=30
-inline-block flex width=auto height=auto empty min-height-large: 0x150 child=75
+inline-block flex width=auto height=auto empty min-height: 120x60 child=30
+inline-block flex width=auto height=auto empty min-height-large: 300x150 child=75
inline-block flex width=auto height=auto empty max-height: 0x0 child=0
inline-block flex width=auto height=auto empty min-width: 150x75 child=37.5
inline-block flex width=auto height=auto empty max-width: 0x0 child=0
inline-block flex width=auto height=auto empty min-width-max-height: 150x30 child=15
inline-block flex width=auto height=auto empty max-width-min-height: 40x60 child=30
-inline-block flex width=auto height=auto empty border-box-min-height: 10x60 child=25
+inline-block flex width=auto height=auto empty border-box-min-height: 120x60 child=25
inline-block flex width=auto height=auto empty border-box-max-width: 10x10 child=0
-inline-block flex width=auto height=auto tall min-height: 10x60 child=30
-inline-block flex width=auto height=auto tall min-height-large: 10x150 child=75
+inline-block flex width=auto height=auto tall min-height: 120x60 child=30
+inline-block flex width=auto height=auto tall min-height-large: 300x150 child=75
inline-block flex width=auto height=auto tall max-height: 10x30 child=2.5
inline-block flex width=auto height=auto tall min-width: 150x300 child=37.5
inline-block flex width=auto height=auto tall max-width: 10x300 child=2.5
inline-block flex width=auto height=auto tall min-width-max-height: 150x30 child=15
inline-block flex width=auto height=auto tall max-width-min-height: 40x60 child=30
-inline-block flex width=auto height=auto tall border-box-min-height: 20x60 child=25
+inline-block flex width=auto height=auto tall border-box-min-height: 120x60 child=25
inline-block flex width=auto height=auto tall border-box-max-width: 20x310 child=0
-inline-block flex width=auto height=100% empty min-height: 0x60 child=30
-inline-block flex width=auto height=100% empty min-height-large: 0x150 child=75
+inline-block flex width=auto height=100% empty min-height: 120x60 child=30
+inline-block flex width=auto height=100% empty min-height-large: 300x150 child=75
inline-block flex width=auto height=100% empty max-height: 0x0 child=0
inline-block flex width=auto height=100% empty min-width: 150x75 child=37.5
inline-block flex width=auto height=100% empty max-width: 0x0 child=0
inline-block flex width=auto height=100% empty min-width-max-height: 150x30 child=15
inline-block flex width=auto height=100% empty max-width-min-height: 40x60 child=30
-inline-block flex width=auto height=100% empty border-box-min-height: 10x60 child=25
+inline-block flex width=auto height=100% empty border-box-min-height: 120x60 child=25
inline-block flex width=auto height=100% empty border-box-max-width: 10x10 child=0
-inline-block flex width=auto height=100% tall min-height: 10x60 child=30
-inline-block flex width=auto height=100% tall min-height-large: 10x150 child=75
+inline-block flex width=auto height=100% tall min-height: 120x60 child=30
+inline-block flex width=auto height=100% tall min-height-large: 300x150 child=75
inline-block flex width=auto height=100% tall max-height: 10x5 child=2.5
inline-block flex width=auto height=100% tall min-width: 150x75 child=37.5
inline-block flex width=auto height=100% tall max-width: 10x5 child=2.5
inline-block flex width=auto height=100% tall min-width-max-height: 150x30 child=15
inline-block flex width=auto height=100% tall max-width-min-height: 40x60 child=30
-inline-block flex width=auto height=100% tall border-box-min-height: 20x60 child=25
+inline-block flex width=auto height=100% tall border-box-min-height: 120x60 child=25
inline-block flex width=auto height=100% tall border-box-max-width: 20x10 child=0
inline-block flex width=auto height=40px empty min-height: 120x60 child=30
inline-block flex width=auto height=40px empty min-height-large: 300x150 child=75
@@ -8746,41 +8746,41 @@ inline-block flex width=50% height=40px tall min-width-max-height: 150x30 child=
inline-block flex width=50% height=40px tall max-width-min-height: 20x60 child=30
inline-block flex width=50% height=40px tall border-box-min-height: 60x60 child=25
inline-block flex width=50% height=40px tall border-box-max-width: 20x40 child=15
-inline-block grid width=auto height=auto empty min-height: 0x60 child=30
-inline-block grid width=auto height=auto empty min-height-large: 0x150 child=75
+inline-block grid width=auto height=auto empty min-height: 120x60 child=30
+inline-block grid width=auto height=auto empty min-height-large: 300x150 child=75
inline-block grid width=auto height=auto empty max-height: 0x0 child=0
inline-block grid width=auto height=auto empty min-width: 150x75 child=37.5
inline-block grid width=auto height=auto empty max-width: 0x0 child=0
inline-block grid width=auto height=auto empty min-width-max-height: 150x30 child=15
inline-block grid width=auto height=auto empty max-width-min-height: 40x60 child=30
-inline-block grid width=auto height=auto empty border-box-min-height: 10x60 child=25
+inline-block grid width=auto height=auto empty border-box-min-height: 120x60 child=25
inline-block grid width=auto height=auto empty border-box-max-width: 10x10 child=0
-inline-block grid width=auto height=auto tall min-height: 10x60 child=0
-inline-block grid width=auto height=auto tall min-height-large: 10x150 child=0
+inline-block grid width=auto height=auto tall min-height: 120x60 child=0
+inline-block grid width=auto height=auto tall min-height-large: 300x150 child=0
inline-block grid width=auto height=auto tall max-height: 10x30 child=0
inline-block grid width=auto height=auto tall min-width: 150x300 child=0
inline-block grid width=auto height=auto tall max-width: 10x300 child=0
inline-block grid width=auto height=auto tall min-width-max-height: 150x30 child=0
inline-block grid width=auto height=auto tall max-width-min-height: 40x60 child=0
-inline-block grid width=auto height=auto tall border-box-min-height: 20x60 child=0
+inline-block grid width=auto height=auto tall border-box-min-height: 120x60 child=0
inline-block grid width=auto height=auto tall border-box-max-width: 20x310 child=0
-inline-block grid width=auto height=100% empty min-height: 0x60 child=30
-inline-block grid width=auto height=100% empty min-height-large: 0x150 child=75
+inline-block grid width=auto height=100% empty min-height: 120x60 child=30
+inline-block grid width=auto height=100% empty min-height-large: 300x150 child=75
inline-block grid width=auto height=100% empty max-height: 0x0 child=0
inline-block grid width=auto height=100% empty min-width: 150x75 child=37.5
inline-block grid width=auto height=100% empty max-width: 0x0 child=0
inline-block grid width=auto height=100% empty min-width-max-height: 150x30 child=15
inline-block grid width=auto height=100% empty max-width-min-height: 40x60 child=30
-inline-block grid width=auto height=100% empty border-box-min-height: 10x60 child=25
+inline-block grid width=auto height=100% empty border-box-min-height: 120x60 child=25
inline-block grid width=auto height=100% empty border-box-max-width: 10x10 child=0
-inline-block grid width=auto height=100% tall min-height: 10x60 child=0
-inline-block grid width=auto height=100% tall min-height-large: 10x150 child=0
+inline-block grid width=auto height=100% tall min-height: 120x60 child=0
+inline-block grid width=auto height=100% tall min-height-large: 300x150 child=0
inline-block grid width=auto height=100% tall max-height: 10x5 child=0
inline-block grid width=auto height=100% tall min-width: 150x75 child=0
inline-block grid width=auto height=100% tall max-width: 10x5 child=0
inline-block grid width=auto height=100% tall min-width-max-height: 150x30 child=0
inline-block grid width=auto height=100% tall max-width-min-height: 40x60 child=0
-inline-block grid width=auto height=100% tall border-box-min-height: 20x60 child=0
+inline-block grid width=auto height=100% tall border-box-min-height: 120x60 child=0
inline-block grid width=auto height=100% tall border-box-max-width: 20x10 child=0
inline-block grid width=auto height=40px empty min-height: 120x60 child=30
inline-block grid width=auto height=40px empty min-height-large: 300x150 child=75
@@ -10204,41 +10204,41 @@ float abspos width=50% height=40px tall min-width-max-height: 150x30 child=15
float abspos width=50% height=40px tall max-width-min-height: 40x60 child=30
float abspos width=50% height=40px tall border-box-min-height: 100x60 child=25
float abspos width=50% height=40px tall border-box-max-width: 40x40 child=15
-abspos block width=auto height=auto empty min-height: 0x60 child=30
-abspos block width=auto height=auto empty min-height-large: 0x150 child=75
+abspos block width=auto height=auto empty min-height: 120x60 child=30
+abspos block width=auto height=auto empty min-height-large: 300x150 child=75
abspos block width=auto height=auto empty max-height: 0x0 child=0
abspos block width=auto height=auto empty min-width: 150x75 child=37.5
abspos block width=auto height=auto empty max-width: 0x0 child=0
abspos block width=auto height=auto empty min-width-max-height: 150x30 child=15
abspos block width=auto height=auto empty max-width-min-height: 40x60 child=30
-abspos block width=auto height=auto empty border-box-min-height: 10x60 child=25
+abspos block width=auto height=auto empty border-box-min-height: 120x60 child=25
abspos block width=auto height=auto empty border-box-max-width: 10x10 child=0
-abspos block width=auto height=auto tall min-height: 10x60 child=30
-abspos block width=auto height=auto tall min-height-large: 10x150 child=75
+abspos block width=auto height=auto tall min-height: 120x60 child=30
+abspos block width=auto height=auto tall min-height-large: 300x150 child=75
abspos block width=auto height=auto tall max-height: 10x30 child=2.5
abspos block width=auto height=auto tall min-width: 150x337.5 child=37.5
abspos block width=auto height=auto tall max-width: 10x302.5 child=2.5
abspos block width=auto height=auto tall min-width-max-height: 150x30 child=15
abspos block width=auto height=auto tall max-width-min-height: 40x60 child=30
-abspos block width=auto height=auto tall border-box-min-height: 20x60 child=25
+abspos block width=auto height=auto tall border-box-min-height: 120x60 child=25
abspos block width=auto height=auto tall border-box-max-width: 20x310 child=0
-abspos block width=auto height=100% empty min-height: 0x60 child=30
-abspos block width=auto height=100% empty min-height-large: 0x150 child=75
+abspos block width=auto height=100% empty min-height: 120x60 child=30
+abspos block width=auto height=100% empty min-height-large: 300x150 child=75
abspos block width=auto height=100% empty max-height: 0x0 child=0
abspos block width=auto height=100% empty min-width: 150x75 child=37.5
abspos block width=auto height=100% empty max-width: 0x0 child=0
abspos block width=auto height=100% empty min-width-max-height: 150x30 child=15
abspos block width=auto height=100% empty max-width-min-height: 40x60 child=30
-abspos block width=auto height=100% empty border-box-min-height: 10x60 child=25
+abspos block width=auto height=100% empty border-box-min-height: 120x60 child=25
abspos block width=auto height=100% empty border-box-max-width: 10x10 child=0
-abspos block width=auto height=100% tall min-height: 10x60 child=30
-abspos block width=auto height=100% tall min-height-large: 10x150 child=75
+abspos block width=auto height=100% tall min-height: 120x60 child=30
+abspos block width=auto height=100% tall min-height-large: 300x150 child=75
abspos block width=auto height=100% tall max-height: 10x5 child=2.5
abspos block width=auto height=100% tall min-width: 150x75 child=37.5
abspos block width=auto height=100% tall max-width: 10x5 child=2.5
abspos block width=auto height=100% tall min-width-max-height: 150x30 child=15
abspos block width=auto height=100% tall max-width-min-height: 40x60 child=30
-abspos block width=auto height=100% tall border-box-min-height: 20x60 child=25
+abspos block width=auto height=100% tall border-box-min-height: 120x60 child=25
abspos block width=auto height=100% tall border-box-max-width: 20x10 child=0
abspos block width=auto height=40px empty min-height: 120x60 child=30
abspos block width=auto height=40px empty min-height-large: 300x150 child=75
@@ -10366,41 +10366,41 @@ abspos block width=50% height=40px tall min-width-max-height: 150x30 child=15
abspos block width=50% height=40px tall max-width-min-height: 20x60 child=30
abspos block width=50% height=40px tall border-box-min-height: 60x60 child=25
abspos block width=50% height=40px tall border-box-max-width: 20x40 child=15
-abspos flow-root width=auto height=auto empty min-height: 0x60 child=30
-abspos flow-root width=auto height=auto empty min-height-large: 0x150 child=75
+abspos flow-root width=auto height=auto empty min-height: 120x60 child=30
+abspos flow-root width=auto height=auto empty min-height-large: 300x150 child=75
abspos flow-root width=auto height=auto empty max-height: 0x0 child=0
abspos flow-root width=auto height=auto empty min-width: 150x75 child=37.5
abspos flow-root width=auto height=auto empty max-width: 0x0 child=0
abspos flow-root width=auto height=auto empty min-width-max-height: 150x30 child=15
abspos flow-root width=auto height=auto empty max-width-min-height: 40x60 child=30
-abspos flow-root width=auto height=auto empty border-box-min-height: 10x60 child=25
+abspos flow-root width=auto height=auto empty border-box-min-height: 120x60 child=25
abspos flow-root width=auto height=auto empty border-box-max-width: 10x10 child=0
-abspos flow-root width=auto height=auto tall min-height: 10x60 child=30
-abspos flow-root width=auto height=auto tall min-height-large: 10x150 child=75
+abspos flow-root width=auto height=auto tall min-height: 120x60 child=30
+abspos flow-root width=auto height=auto tall min-height-large: 300x150 child=75
abspos flow-root width=auto height=auto tall max-height: 10x30 child=2.5
abspos flow-root width=auto height=auto tall min-width: 150x337.5 child=37.5
abspos flow-root width=auto height=auto tall max-width: 10x302.5 child=2.5
abspos flow-root width=auto height=auto tall min-width-max-height: 150x30 child=15
abspos flow-root width=auto height=auto tall max-width-min-height: 40x60 child=30
-abspos flow-root width=auto height=auto tall border-box-min-height: 20x60 child=25
+abspos flow-root width=auto height=auto tall border-box-min-height: 120x60 child=25
abspos flow-root width=auto height=auto tall border-box-max-width: 20x310 child=0
-abspos flow-root width=auto height=100% empty min-height: 0x60 child=30
-abspos flow-root width=auto height=100% empty min-height-large: 0x150 child=75
+abspos flow-root width=auto height=100% empty min-height: 120x60 child=30
+abspos flow-root width=auto height=100% empty min-height-large: 300x150 child=75
abspos flow-root width=auto height=100% empty max-height: 0x0 child=0
abspos flow-root width=auto height=100% empty min-width: 150x75 child=37.5
abspos flow-root width=auto height=100% empty max-width: 0x0 child=0
abspos flow-root width=auto height=100% empty min-width-max-height: 150x30 child=15
abspos flow-root width=auto height=100% empty max-width-min-height: 40x60 child=30
-abspos flow-root width=auto height=100% empty border-box-min-height: 10x60 child=25
+abspos flow-root width=auto height=100% empty border-box-min-height: 120x60 child=25
abspos flow-root width=auto height=100% empty border-box-max-width: 10x10 child=0
-abspos flow-root width=auto height=100% tall min-height: 10x60 child=30
-abspos flow-root width=auto height=100% tall min-height-large: 10x150 child=75
+abspos flow-root width=auto height=100% tall min-height: 120x60 child=30
+abspos flow-root width=auto height=100% tall min-height-large: 300x150 child=75
abspos flow-root width=auto height=100% tall max-height: 10x5 child=2.5
abspos flow-root width=auto height=100% tall min-width: 150x75 child=37.5
abspos flow-root width=auto height=100% tall max-width: 10x5 child=2.5
abspos flow-root width=auto height=100% tall min-width-max-height: 150x30 child=15
abspos flow-root width=auto height=100% tall max-width-min-height: 40x60 child=30
-abspos flow-root width=auto height=100% tall border-box-min-height: 20x60 child=25
+abspos flow-root width=auto height=100% tall border-box-min-height: 120x60 child=25
abspos flow-root width=auto height=100% tall border-box-max-width: 20x10 child=0
abspos flow-root width=auto height=40px empty min-height: 120x60 child=30
abspos flow-root width=auto height=40px empty min-height-large: 300x150 child=75
@@ -10852,41 +10852,41 @@ abspos float width=50% height=40px tall min-width-max-height: 150x30 child=15
abspos float width=50% height=40px tall max-width-min-height: 20x60 child=30
abspos float width=50% height=40px tall border-box-min-height: 60x60 child=25
abspos float width=50% height=40px tall border-box-max-width: 20x40 child=15
-abspos flex width=auto height=auto empty min-height: 0x60 child=30
-abspos flex width=auto height=auto empty min-height-large: 0x150 child=75
+abspos flex width=auto height=auto empty min-height: 120x60 child=30
+abspos flex width=auto height=auto empty min-height-large: 300x150 child=75
abspos flex width=auto height=auto empty max-height: 0x0 child=0
abspos flex width=auto height=auto empty min-width: 150x75 child=37.5
abspos flex width=auto height=auto empty max-width: 0x0 child=0
abspos flex width=auto height=auto empty min-width-max-height: 150x30 child=15
abspos flex width=auto height=auto empty max-width-min-height: 40x60 child=30
-abspos flex width=auto height=auto empty border-box-min-height: 10x60 child=25
+abspos flex width=auto height=auto empty border-box-min-height: 120x60 child=25
abspos flex width=auto height=auto empty border-box-max-width: 10x10 child=0
-abspos flex width=auto height=auto tall min-height: 10x60 child=30
-abspos flex width=auto height=auto tall min-height-large: 10x150 child=75
+abspos flex width=auto height=auto tall min-height: 120x60 child=30
+abspos flex width=auto height=auto tall min-height-large: 300x150 child=75
abspos flex width=auto height=auto tall max-height: 10x30 child=2.5
abspos flex width=auto height=auto tall min-width: 150x300 child=37.5
abspos flex width=auto height=auto tall max-width: 10x300 child=2.5
abspos flex width=auto height=auto tall min-width-max-height: 150x30 child=15
abspos flex width=auto height=auto tall max-width-min-height: 40x60 child=30
-abspos flex width=auto height=auto tall border-box-min-height: 20x60 child=25
+abspos flex width=auto height=auto tall border-box-min-height: 120x60 child=25
abspos flex width=auto height=auto tall border-box-max-width: 20x310 child=0
-abspos flex width=auto height=100% empty min-height: 0x60 child=30
-abspos flex width=auto height=100% empty min-height-large: 0x150 child=75
+abspos flex width=auto height=100% empty min-height: 120x60 child=30
+abspos flex width=auto height=100% empty min-height-large: 300x150 child=75
abspos flex width=auto height=100% empty max-height: 0x0 child=0
abspos flex width=auto height=100% empty min-width: 150x75 child=37.5
abspos flex width=auto height=100% empty max-width: 0x0 child=0
abspos flex width=auto height=100% empty min-width-max-height: 150x30 child=15
abspos flex width=auto height=100% empty max-width-min-height: 40x60 child=30
-abspos flex width=auto height=100% empty border-box-min-height: 10x60 child=25
+abspos flex width=auto height=100% empty border-box-min-height: 120x60 child=25
abspos flex width=auto height=100% empty border-box-max-width: 10x10 child=0
-abspos flex width=auto height=100% tall min-height: 10x60 child=30
-abspos flex width=auto height=100% tall min-height-large: 10x150 child=75
+abspos flex width=auto height=100% tall min-height: 120x60 child=30
+abspos flex width=auto height=100% tall min-height-large: 300x150 child=75
abspos flex width=auto height=100% tall max-height: 10x5 child=2.5
abspos flex width=auto height=100% tall min-width: 150x75 child=37.5
abspos flex width=auto height=100% tall max-width: 10x5 child=2.5
abspos flex width=auto height=100% tall min-width-max-height: 150x30 child=15
abspos flex width=auto height=100% tall max-width-min-height: 40x60 child=30
-abspos flex width=auto height=100% tall border-box-min-height: 20x60 child=25
+abspos flex width=auto height=100% tall border-box-min-height: 120x60 child=25
abspos flex width=auto height=100% tall border-box-max-width: 20x10 child=0
abspos flex width=auto height=40px empty min-height: 120x60 child=30
abspos flex width=auto height=40px empty min-height-large: 300x150 child=75
@@ -11014,41 +11014,41 @@ abspos flex width=50% height=40px tall min-width-max-height: 150x30 child=15
abspos flex width=50% height=40px tall max-width-min-height: 20x60 child=30
abspos flex width=50% height=40px tall border-box-min-height: 60x60 child=25
abspos flex width=50% height=40px tall border-box-max-width: 20x40 child=15
-abspos grid width=auto height=auto empty min-height: 0x60 child=30
-abspos grid width=auto height=auto empty min-height-large: 0x150 child=75
+abspos grid width=auto height=auto empty min-height: 120x60 child=30
+abspos grid width=auto height=auto empty min-height-large: 300x150 child=75
abspos grid width=auto height=auto empty max-height: 0x0 child=0
abspos grid width=auto height=auto empty min-width: 150x75 child=37.5
abspos grid width=auto height=auto empty max-width: 0x0 child=0
abspos grid width=auto height=auto empty min-width-max-height: 150x30 child=15
abspos grid width=auto height=auto empty max-width-min-height: 40x60 child=30
-abspos grid width=auto height=auto empty border-box-min-height: 10x60 child=25
+abspos grid width=auto height=auto empty border-box-min-height: 120x60 child=25
abspos grid width=auto height=auto empty border-box-max-width: 10x10 child=0
-abspos grid width=auto height=auto tall min-height: 10x60 child=0
-abspos grid width=auto height=auto tall min-height-large: 10x150 child=0
+abspos grid width=auto height=auto tall min-height: 120x60 child=0
+abspos grid width=auto height=auto tall min-height-large: 300x150 child=0
abspos grid width=auto height=auto tall max-height: 10x30 child=0
abspos grid width=auto height=auto tall min-width: 150x300 child=0
abspos grid width=auto height=auto tall max-width: 10x300 child=0
abspos grid width=auto height=auto tall min-width-max-height: 150x30 child=0
abspos grid width=auto height=auto tall max-width-min-height: 40x60 child=0
-abspos grid width=auto height=auto tall border-box-min-height: 20x60 child=0
+abspos grid width=auto height=auto tall border-box-min-height: 120x60 child=0
abspos grid width=auto height=auto tall border-box-max-width: 20x310 child=0
-abspos grid width=auto height=100% empty min-height: 0x60 child=30
-abspos grid width=auto height=100% empty min-height-large: 0x150 child=75
+abspos grid width=auto height=100% empty min-height: 120x60 child=30
+abspos grid width=auto height=100% empty min-height-large: 300x150 child=75
abspos grid width=auto height=100% empty max-height: 0x0 child=0
abspos grid width=auto height=100% empty min-width: 150x75 child=37.5
abspos grid width=auto height=100% empty max-width: 0x0 child=0
abspos grid width=auto height=100% empty min-width-max-height: 150x30 child=15
abspos grid width=auto height=100% empty max-width-min-height: 40x60 child=30
-abspos grid width=auto height=100% empty border-box-min-height: 10x60 child=25
+abspos grid width=auto height=100% empty border-box-min-height: 120x60 child=25
abspos grid width=auto height=100% empty border-box-max-width: 10x10 child=0
-abspos grid width=auto height=100% tall min-height: 10x60 child=0
-abspos grid width=auto height=100% tall min-height-large: 10x150 child=0
+abspos grid width=auto height=100% tall min-height: 120x60 child=0
+abspos grid width=auto height=100% tall min-height-large: 300x150 child=0
abspos grid width=auto height=100% tall max-height: 10x5 child=0
abspos grid width=auto height=100% tall min-width: 150x75 child=0
abspos grid width=auto height=100% tall max-width: 10x5 child=0
abspos grid width=auto height=100% tall min-width-max-height: 150x30 child=0
abspos grid width=auto height=100% tall max-width-min-height: 40x60 child=0
-abspos grid width=auto height=100% tall border-box-min-height: 20x60 child=0
+abspos grid width=auto height=100% tall border-box-min-height: 120x60 child=0
abspos grid width=auto height=100% tall border-box-max-width: 20x10 child=0
abspos grid width=auto height=40px empty min-height: 120x60 child=30
abspos grid width=auto height=40px empty min-height-large: 300x150 child=75
diff --git a/Tests/LibWeb/Text/expected/css/aspect-ratio-percentage-height-matrix.txt b/Tests/LibWeb/Text/expected/css/aspect-ratio-percentage-height-matrix.txt
index fbfb59c47a8..86cccc7a622 100644
--- a/Tests/LibWeb/Text/expected/css/aspect-ratio-percentage-height-matrix.txt
+++ b/Tests/LibWeb/Text/expected/css/aspect-ratio-percentage-height-matrix.txt
@@ -3528,27 +3528,27 @@ grid-definite-row abspos width=50% height=auto tall min-height: 100x60 child=0
grid-definite-row abspos width=50% height=auto tall padding: 100x310 child=0
inline-block block width=auto height=100% empty none: 0x0 child=0
inline-block block width=auto height=100% empty max-height: 0x0 child=0
-inline-block block width=auto height=100% empty min-height: 0x60 child=30
+inline-block block width=auto height=100% empty min-height: 120x60 child=30
inline-block block width=auto height=100% empty padding: 10x10 child=0
inline-block block width=auto height=100% tall none: 10x5 child=2.5
inline-block block width=auto height=100% tall max-height: 10x5 child=2.5
-inline-block block width=auto height=100% tall min-height: 10x60 child=30
+inline-block block width=auto height=100% tall min-height: 120x60 child=30
inline-block block width=auto height=100% tall padding: 20x10 child=0
inline-block block width=auto height=calc empty none: 0x0 child=0
inline-block block width=auto height=calc empty max-height: 0x0 child=0
-inline-block block width=auto height=calc empty min-height: 0x60 child=30
+inline-block block width=auto height=calc empty min-height: 120x60 child=30
inline-block block width=auto height=calc empty padding: 10x10 child=0
inline-block block width=auto height=calc tall none: 10x5 child=2.5
inline-block block width=auto height=calc tall max-height: 10x5 child=2.5
-inline-block block width=auto height=calc tall min-height: 10x60 child=30
+inline-block block width=auto height=calc tall min-height: 120x60 child=30
inline-block block width=auto height=calc tall padding: 20x10 child=0
inline-block block width=auto height=auto empty none: 0x0 child=0
inline-block block width=auto height=auto empty max-height: 0x0 child=0
-inline-block block width=auto height=auto empty min-height: 0x60 child=30
+inline-block block width=auto height=auto empty min-height: 120x60 child=30
inline-block block width=auto height=auto empty padding: 10x10 child=0
inline-block block width=auto height=auto tall none: 10x302.5 child=2.5
inline-block block width=auto height=auto tall max-height: 10x30 child=2.5
-inline-block block width=auto height=auto tall min-height: 10x60 child=30
+inline-block block width=auto height=auto tall min-height: 120x60 child=30
inline-block block width=auto height=auto tall padding: 20x310 child=0
inline-block block width=80px height=100% empty none: 80x40 child=20
inline-block block width=80px height=100% empty max-height: 80x30 child=15
@@ -3600,27 +3600,27 @@ inline-block block width=50% height=auto tall min-height: 5x60 child=30
inline-block block width=50% height=auto tall padding: 10x310 child=0
inline-block flow-root width=auto height=100% empty none: 0x0 child=0
inline-block flow-root width=auto height=100% empty max-height: 0x0 child=0
-inline-block flow-root width=auto height=100% empty min-height: 0x60 child=30
+inline-block flow-root width=auto height=100% empty min-height: 120x60 child=30
inline-block flow-root width=auto height=100% empty padding: 10x10 child=0
inline-block flow-root width=auto height=100% tall none: 10x5 child=2.5
inline-block flow-root width=auto height=100% tall max-height: 10x5 child=2.5
-inline-block flow-root width=auto height=100% tall min-height: 10x60 child=30
+inline-block flow-root width=auto height=100% tall min-height: 120x60 child=30
inline-block flow-root width=auto height=100% tall padding: 20x10 child=0
inline-block flow-root width=auto height=calc empty none: 0x0 child=0
inline-block flow-root width=auto height=calc empty max-height: 0x0 child=0
-inline-block flow-root width=auto height=calc empty min-height: 0x60 child=30
+inline-block flow-root width=auto height=calc empty min-height: 120x60 child=30
inline-block flow-root width=auto height=calc empty padding: 10x10 child=0
inline-block flow-root width=auto height=calc tall none: 10x5 child=2.5
inline-block flow-root width=auto height=calc tall max-height: 10x5 child=2.5
-inline-block flow-root width=auto height=calc tall min-height: 10x60 child=30
+inline-block flow-root width=auto height=calc tall min-height: 120x60 child=30
inline-block flow-root width=auto height=calc tall padding: 20x10 child=0
inline-block flow-root width=auto height=auto empty none: 0x0 child=0
inline-block flow-root width=auto height=auto empty max-height: 0x0 child=0
-inline-block flow-root width=auto height=auto empty min-height: 0x60 child=30
+inline-block flow-root width=auto height=auto empty min-height: 120x60 child=30
inline-block flow-root width=auto height=auto empty padding: 10x10 child=0
inline-block flow-root width=auto height=auto tall none: 10x302.5 child=2.5
inline-block flow-root width=auto height=auto tall max-height: 10x30 child=2.5
-inline-block flow-root width=auto height=auto tall min-height: 10x60 child=30
+inline-block flow-root width=auto height=auto tall min-height: 120x60 child=30
inline-block flow-root width=auto height=auto tall padding: 20x310 child=0
inline-block flow-root width=80px height=100% empty none: 80x40 child=20
inline-block flow-root width=80px height=100% empty max-height: 80x30 child=15
@@ -3816,27 +3816,27 @@ inline-block float width=50% height=auto tall min-height: 5x60 child=30
inline-block float width=50% height=auto tall padding: 10x310 child=0
inline-block flex width=auto height=100% empty none: 0x0 child=0
inline-block flex width=auto height=100% empty max-height: 0x0 child=0
-inline-block flex width=auto height=100% empty min-height: 0x60 child=30
+inline-block flex width=auto height=100% empty min-height: 120x60 child=30
inline-block flex width=auto height=100% empty padding: 10x10 child=0
inline-block flex width=auto height=100% tall none: 10x5 child=2.5
inline-block flex width=auto height=100% tall max-height: 10x5 child=2.5
-inline-block flex width=auto height=100% tall min-height: 10x60 child=30
+inline-block flex width=auto height=100% tall min-height: 120x60 child=30
inline-block flex width=auto height=100% tall padding: 20x10 child=0
inline-block flex width=auto height=calc empty none: 0x0 child=0
inline-block flex width=auto height=calc empty max-height: 0x0 child=0
-inline-block flex width=auto height=calc empty min-height: 0x60 child=30
+inline-block flex width=auto height=calc empty min-height: 120x60 child=30
inline-block flex width=auto height=calc empty padding: 10x10 child=0
inline-block flex width=auto height=calc tall none: 10x5 child=2.5
inline-block flex width=auto height=calc tall max-height: 10x5 child=2.5
-inline-block flex width=auto height=calc tall min-height: 10x60 child=30
+inline-block flex width=auto height=calc tall min-height: 120x60 child=30
inline-block flex width=auto height=calc tall padding: 20x10 child=0
inline-block flex width=auto height=auto empty none: 0x0 child=0
inline-block flex width=auto height=auto empty max-height: 0x0 child=0
-inline-block flex width=auto height=auto empty min-height: 0x60 child=30
+inline-block flex width=auto height=auto empty min-height: 120x60 child=30
inline-block flex width=auto height=auto empty padding: 10x10 child=0
inline-block flex width=auto height=auto tall none: 10x300 child=2.5
inline-block flex width=auto height=auto tall max-height: 10x30 child=2.5
-inline-block flex width=auto height=auto tall min-height: 10x60 child=30
+inline-block flex width=auto height=auto tall min-height: 120x60 child=30
inline-block flex width=auto height=auto tall padding: 20x310 child=0
inline-block flex width=80px height=100% empty none: 80x40 child=20
inline-block flex width=80px height=100% empty max-height: 80x30 child=15
@@ -3888,27 +3888,27 @@ inline-block flex width=50% height=auto tall min-height: 5x60 child=30
inline-block flex width=50% height=auto tall padding: 10x310 child=0
inline-block grid width=auto height=100% empty none: 0x0 child=0
inline-block grid width=auto height=100% empty max-height: 0x0 child=0
-inline-block grid width=auto height=100% empty min-height: 0x60 child=30
+inline-block grid width=auto height=100% empty min-height: 120x60 child=30
inline-block grid width=auto height=100% empty padding: 10x10 child=0
inline-block grid width=auto height=100% tall none: 10x5 child=0
inline-block grid width=auto height=100% tall max-height: 10x5 child=0
-inline-block grid width=auto height=100% tall min-height: 10x60 child=0
+inline-block grid width=auto height=100% tall min-height: 120x60 child=0
inline-block grid width=auto height=100% tall padding: 20x10 child=0
inline-block grid width=auto height=calc empty none: 0x0 child=0
inline-block grid width=auto height=calc empty max-height: 0x0 child=0
-inline-block grid width=auto height=calc empty min-height: 0x60 child=30
+inline-block grid width=auto height=calc empty min-height: 120x60 child=30
inline-block grid width=auto height=calc empty padding: 10x10 child=0
inline-block grid width=auto height=calc tall none: 10x5 child=0
inline-block grid width=auto height=calc tall max-height: 10x5 child=0
-inline-block grid width=auto height=calc tall min-height: 10x60 child=0
+inline-block grid width=auto height=calc tall min-height: 120x60 child=0
inline-block grid width=auto height=calc tall padding: 20x10 child=0
inline-block grid width=auto height=auto empty none: 0x0 child=0
inline-block grid width=auto height=auto empty max-height: 0x0 child=0
-inline-block grid width=auto height=auto empty min-height: 0x60 child=30
+inline-block grid width=auto height=auto empty min-height: 120x60 child=30
inline-block grid width=auto height=auto empty padding: 10x10 child=0
inline-block grid width=auto height=auto tall none: 10x300 child=0
inline-block grid width=auto height=auto tall max-height: 10x30 child=0
-inline-block grid width=auto height=auto tall min-height: 10x60 child=0
+inline-block grid width=auto height=auto tall min-height: 120x60 child=0
inline-block grid width=auto height=auto tall padding: 20x310 child=0
inline-block grid width=80px height=100% empty none: 80x40 child=20
inline-block grid width=80px height=100% empty max-height: 80x30 child=15
@@ -4536,27 +4536,27 @@ float abspos width=50% height=auto tall min-height: 100x60 child=0
float abspos width=50% height=auto tall padding: 100x310 child=0
abspos block width=auto height=100% empty none: 0x0 child=0
abspos block width=auto height=100% empty max-height: 0x0 child=0
-abspos block width=auto height=100% empty min-height: 0x60 child=30
+abspos block width=auto height=100% empty min-height: 120x60 child=30
abspos block width=auto height=100% empty padding: 10x10 child=0
abspos block width=auto height=100% tall none: 10x5 child=2.5
abspos block width=auto height=100% tall max-height: 10x5 child=2.5
-abspos block width=auto height=100% tall min-height: 10x60 child=30
+abspos block width=auto height=100% tall min-height: 120x60 child=30
abspos block width=auto height=100% tall padding: 20x10 child=0
abspos block width=auto height=calc empty none: 0x0 child=0
abspos block width=auto height=calc empty max-height: 0x0 child=0
-abspos block width=auto height=calc empty min-height: 0x60 child=30
+abspos block width=auto height=calc empty min-height: 120x60 child=30
abspos block width=auto height=calc empty padding: 10x10 child=0
abspos block width=auto height=calc tall none: 10x5 child=2.5
abspos block width=auto height=calc tall max-height: 10x5 child=2.5
-abspos block width=auto height=calc tall min-height: 10x60 child=30
+abspos block width=auto height=calc tall min-height: 120x60 child=30
abspos block width=auto height=calc tall padding: 20x10 child=0
abspos block width=auto height=auto empty none: 0x0 child=0
abspos block width=auto height=auto empty max-height: 0x0 child=0
-abspos block width=auto height=auto empty min-height: 0x60 child=30
+abspos block width=auto height=auto empty min-height: 120x60 child=30
abspos block width=auto height=auto empty padding: 10x10 child=0
abspos block width=auto height=auto tall none: 10x302.5 child=2.5
abspos block width=auto height=auto tall max-height: 10x30 child=2.5
-abspos block width=auto height=auto tall min-height: 10x60 child=30
+abspos block width=auto height=auto tall min-height: 120x60 child=30
abspos block width=auto height=auto tall padding: 20x310 child=0
abspos block width=80px height=100% empty none: 80x40 child=20
abspos block width=80px height=100% empty max-height: 80x30 child=15
@@ -4608,27 +4608,27 @@ abspos block width=50% height=auto tall min-height: 5x60 child=30
abspos block width=50% height=auto tall padding: 10x310 child=0
abspos flow-root width=auto height=100% empty none: 0x0 child=0
abspos flow-root width=auto height=100% empty max-height: 0x0 child=0
-abspos flow-root width=auto height=100% empty min-height: 0x60 child=30
+abspos flow-root width=auto height=100% empty min-height: 120x60 child=30
abspos flow-root width=auto height=100% empty padding: 10x10 child=0
abspos flow-root width=auto height=100% tall none: 10x5 child=2.5
abspos flow-root width=auto height=100% tall max-height: 10x5 child=2.5
-abspos flow-root width=auto height=100% tall min-height: 10x60 child=30
+abspos flow-root width=auto height=100% tall min-height: 120x60 child=30
abspos flow-root width=auto height=100% tall padding: 20x10 child=0
abspos flow-root width=auto height=calc empty none: 0x0 child=0
abspos flow-root width=auto height=calc empty max-height: 0x0 child=0
-abspos flow-root width=auto height=calc empty min-height: 0x60 child=30
+abspos flow-root width=auto height=calc empty min-height: 120x60 child=30
abspos flow-root width=auto height=calc empty padding: 10x10 child=0
abspos flow-root width=auto height=calc tall none: 10x5 child=2.5
abspos flow-root width=auto height=calc tall max-height: 10x5 child=2.5
-abspos flow-root width=auto height=calc tall min-height: 10x60 child=30
+abspos flow-root width=auto height=calc tall min-height: 120x60 child=30
abspos flow-root width=auto height=calc tall padding: 20x10 child=0
abspos flow-root width=auto height=auto empty none: 0x0 child=0
abspos flow-root width=auto height=auto empty max-height: 0x0 child=0
-abspos flow-root width=auto height=auto empty min-height: 0x60 child=30
+abspos flow-root width=auto height=auto empty min-height: 120x60 child=30
abspos flow-root width=auto height=auto empty padding: 10x10 child=0
abspos flow-root width=auto height=auto tall none: 10x302.5 child=2.5
abspos flow-root width=auto height=auto tall max-height: 10x30 child=2.5
-abspos flow-root width=auto height=auto tall min-height: 10x60 child=30
+abspos flow-root width=auto height=auto tall min-height: 120x60 child=30
abspos flow-root width=auto height=auto tall padding: 20x310 child=0
abspos flow-root width=80px height=100% empty none: 80x40 child=20
abspos flow-root width=80px height=100% empty max-height: 80x30 child=15
@@ -4824,27 +4824,27 @@ abspos float width=50% height=auto tall min-height: 5x60 child=30
abspos float width=50% height=auto tall padding: 10x310 child=0
abspos flex width=auto height=100% empty none: 0x0 child=0
abspos flex width=auto height=100% empty max-height: 0x0 child=0
-abspos flex width=auto height=100% empty min-height: 0x60 child=30
+abspos flex width=auto height=100% empty min-height: 120x60 child=30
abspos flex width=auto height=100% empty padding: 10x10 child=0
abspos flex width=auto height=100% tall none: 10x5 child=2.5
abspos flex width=auto height=100% tall max-height: 10x5 child=2.5
-abspos flex width=auto height=100% tall min-height: 10x60 child=30
+abspos flex width=auto height=100% tall min-height: 120x60 child=30
abspos flex width=auto height=100% tall padding: 20x10 child=0
abspos flex width=auto height=calc empty none: 0x0 child=0
abspos flex width=auto height=calc empty max-height: 0x0 child=0
-abspos flex width=auto height=calc empty min-height: 0x60 child=30
+abspos flex width=auto height=calc empty min-height: 120x60 child=30
abspos flex width=auto height=calc empty padding: 10x10 child=0
abspos flex width=auto height=calc tall none: 10x5 child=2.5
abspos flex width=auto height=calc tall max-height: 10x5 child=2.5
-abspos flex width=auto height=calc tall min-height: 10x60 child=30
+abspos flex width=auto height=calc tall min-height: 120x60 child=30
abspos flex width=auto height=calc tall padding: 20x10 child=0
abspos flex width=auto height=auto empty none: 0x0 child=0
abspos flex width=auto height=auto empty max-height: 0x0 child=0
-abspos flex width=auto height=auto empty min-height: 0x60 child=30
+abspos flex width=auto height=auto empty min-height: 120x60 child=30
abspos flex width=auto height=auto empty padding: 10x10 child=0
abspos flex width=auto height=auto tall none: 10x300 child=2.5
abspos flex width=auto height=auto tall max-height: 10x30 child=2.5
-abspos flex width=auto height=auto tall min-height: 10x60 child=30
+abspos flex width=auto height=auto tall min-height: 120x60 child=30
abspos flex width=auto height=auto tall padding: 20x310 child=0
abspos flex width=80px height=100% empty none: 80x40 child=20
abspos flex width=80px height=100% empty max-height: 80x30 child=15
@@ -4896,27 +4896,27 @@ abspos flex width=50% height=auto tall min-height: 5x60 child=30
abspos flex width=50% height=auto tall padding: 10x310 child=0
abspos grid width=auto height=100% empty none: 0x0 child=0
abspos grid width=auto height=100% empty max-height: 0x0 child=0
-abspos grid width=auto height=100% empty min-height: 0x60 child=30
+abspos grid width=auto height=100% empty min-height: 120x60 child=30
abspos grid width=auto height=100% empty padding: 10x10 child=0
abspos grid width=auto height=100% tall none: 10x5 child=0
abspos grid width=auto height=100% tall max-height: 10x5 child=0
-abspos grid width=auto height=100% tall min-height: 10x60 child=0
+abspos grid width=auto height=100% tall min-height: 120x60 child=0
abspos grid width=auto height=100% tall padding: 20x10 child=0
abspos grid width=auto height=calc empty none: 0x0 child=0
abspos grid width=auto height=calc empty max-height: 0x0 child=0
-abspos grid width=auto height=calc empty min-height: 0x60 child=30
+abspos grid width=auto height=calc empty min-height: 120x60 child=30
abspos grid width=auto height=calc empty padding: 10x10 child=0
abspos grid width=auto height=calc tall none: 10x5 child=0
abspos grid width=auto height=calc tall max-height: 10x5 child=0
-abspos grid width=auto height=calc tall min-height: 10x60 child=0
+abspos grid width=auto height=calc tall min-height: 120x60 child=0
abspos grid width=auto height=calc tall padding: 20x10 child=0
abspos grid width=auto height=auto empty none: 0x0 child=0
abspos grid width=auto height=auto empty max-height: 0x0 child=0
-abspos grid width=auto height=auto empty min-height: 0x60 child=30
+abspos grid width=auto height=auto empty min-height: 120x60 child=30
abspos grid width=auto height=auto empty padding: 10x10 child=0
abspos grid width=auto height=auto tall none: 10x300 child=0
abspos grid width=auto height=auto tall max-height: 10x30 child=0
-abspos grid width=auto height=auto tall min-height: 10x60 child=0
+abspos grid width=auto height=auto tall min-height: 120x60 child=0
abspos grid width=auto height=auto tall padding: 20x310 child=0
abspos grid width=80px height=100% empty none: 80x40 child=20
abspos grid width=80px height=100% empty max-height: 80x30 child=15
diff --git a/Tests/LibWeb/Text/expected/css/replaced-min-size-transfers-past-max-none.txt b/Tests/LibWeb/Text/expected/css/replaced-min-size-transfers-past-max-none.txt
new file mode 100644
index 00000000000..727d1f41bb3
--- /dev/null
+++ b/Tests/LibWeb/Text/expected/css/replaced-min-size-transfers-past-max-none.txt
@@ -0,0 +1,6 @@
+min-height: 300x150
+min-width: 300x150
+max-height: 60x30
+min-height-with-width: 200x150
+block-min-height: 300x150
+block-max-height: 60x30
diff --git a/Tests/LibWeb/Text/input/css/replaced-min-size-transfers-past-max-none.html b/Tests/LibWeb/Text/input/css/replaced-min-size-transfers-past-max-none.html
new file mode 100644
index 00000000000..46522b6c740
--- /dev/null
+++ b/Tests/LibWeb/Text/input/css/replaced-min-size-transfers-past-max-none.html
@@ -0,0 +1,23 @@
+<!DOCTYPE html>
+<style>
+ canvas {
+ display: block;
+ }
+</style>
+<div style="width: 200px">
+ <canvas id="min-height" width="100" height="50" style="min-height: 150px"></canvas>
+ <canvas id="min-width" width="100" height="50" style="min-width: 300px"></canvas>
+ <canvas id="max-height" width="400" height="200" style="max-height: 30px"></canvas>
+ <canvas id="min-height-with-width" width="100" height="50" style="width: 100%; min-height: 150px"></canvas>
+ <div id="block-min-height" style="aspect-ratio: 2 / 1; min-height: 150px"></div>
+ <div id="block-max-height" style="aspect-ratio: 2 / 1; max-height: 30px"></div>
+</div>
+<script src="../include.js"></script>
+<script>
+ test(() => {
+ for (const id of ["min-height", "min-width", "max-height", "min-height-with-width", "block-min-height", "block-max-height"]) {
+ const rect = document.getElementById(id).getBoundingClientRect();
+ println(`${id}: ${rect.width}x${rect.height}`);
+ }
+ });
+</script>