mirror of
https://github.com/servo/servo.git
synced 2025-09-30 08:39:16 +01:00
Fix min/max-content block size of replaced element (#34284)
The min-content and max-content sizes on the block axis depend on the inline size. But when computing the SizeConstraint corresponding to the inline axis, we were resolving the preferred inline size ignoring intrinsic keywords. Now we will only ignore `auto`. Also, this patch refactors the logic to compute the min-content and max-content block sizes after fully resolving the inline size. This avoids having to resolve the inline sizing properties twice. Signed-off-by: Oriol Brufau <obrufau@igalia.com>
This commit is contained in:
parent
696c591d81
commit
8c689aac67
3 changed files with 67 additions and 28 deletions
7
tests/wpt/meta/MANIFEST.json
vendored
7
tests/wpt/meta/MANIFEST.json
vendored
|
@ -572214,6 +572214,13 @@
|
|||
{}
|
||||
]
|
||||
],
|
||||
"replaced-element-044.tentative.html": [
|
||||
"58a4b9b76ff32010a82c49d1e5d42090d794a081",
|
||||
[
|
||||
null,
|
||||
{}
|
||||
]
|
||||
],
|
||||
"sign-function-aspect-ratio.html": [
|
||||
"e5ba1a8321a42918cccee4ee164527fa25078e4f",
|
||||
[
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue