mirror of
https://github.com/servo/servo.git
synced 2025-08-13 01:15:34 +01:00
Fix sizing of replaced elements with min/max sizes (#32777)
If a (min/max)-(height/width) property is set, we still need to respect the intrinsic ratio of the element if it exists. The previous code was simply clamping the element size after doing the sizing calculations once, but this leads to an incorrect aspect ratio. Signed-off-by: valadaptive <valadaptive@protonmail.com>
This commit is contained in:
parent
1b1f79305e
commit
f6c9714286
8 changed files with 232 additions and 200 deletions
|
@ -1,2 +0,0 @@
|
|||
[inline-replaced-height-010.xht]
|
||||
expected: FAIL
|
|
@ -1,2 +0,0 @@
|
|||
[inline-replaced-height-011.xht]
|
||||
expected: FAIL
|
|
@ -1,2 +0,0 @@
|
|||
[inline-replaced-width-016.xht]
|
||||
expected: FAIL
|
|
@ -1,2 +0,0 @@
|
|||
[inline-replaced-width-017.xht]
|
||||
expected: FAIL
|
Loading…
Add table
Add a link
Reference in a new issue