diff options
author | Oriol Brufau <obrufau@igalia.com> | 2024-11-18 23:04:57 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-11-18 22:04:57 +0000 |
commit | 8c689aac677064fa50a4cb061be7b582cb9c9db0 (patch) | |
tree | 5d6c28f21525bf6967025be7ee6b2efc522d71c7 /components/script/dom/bindings/codegen | |
parent | 696c591d81a0429365f41806e05e827cbb9f507c (diff) | |
download | servo-8c689aac677064fa50a4cb061be7b582cb9c9db0.tar.gz servo-8c689aac677064fa50a4cb061be7b582cb9c9db0.zip |
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>
Diffstat (limited to 'components/script/dom/bindings/codegen')
0 files changed, 0 insertions, 0 deletions