mirror of
https://github.com/servo/servo.git
synced 2025-09-30 08:39:16 +01:00
layout: Fix block SizeConstraint for replaced elements (#37758)
#37433 didn't handle intrinsic contributions. This patch computes the correct SizeConstraint to be used as the ConstraintSpace's block size when computing intrinsic inline sizes. Testing: Adding new test Fixes: #37478 Signed-off-by: Oriol Brufau <obrufau@igalia.com>
This commit is contained in:
parent
f23e3e25b8
commit
4cd7c5196b
7 changed files with 168 additions and 33 deletions
7
tests/wpt/meta/MANIFEST.json
vendored
7
tests/wpt/meta/MANIFEST.json
vendored
|
@ -610358,6 +610358,13 @@
|
|||
{}
|
||||
]
|
||||
],
|
||||
"keyword-sizes-for-intrinsic-contributions-002.html": [
|
||||
"a053d88c1eefd0379ff7e612dfd3d1c39e7c581e",
|
||||
[
|
||||
null,
|
||||
{}
|
||||
]
|
||||
],
|
||||
"keyword-sizes-for-intrinsic-contributions.html": [
|
||||
"b42bd71b8e7ccc802ba11e3bf3384b3854a0c3fa",
|
||||
[
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue