mirror of
https://github.com/servo/servo.git
synced 2025-09-30 00:29:14 +01:00
layout: Properly handle intrinsic min/max block sizes on replaced element (#37457)
This change aligns Servo with both Blink and WebKit in common cases. When the `aspect-ratio` property is set to a different value than the natural ratio, then Blink and WebKit disagree, we match Blink. Gecko doesn't support intrinsic min/max block sizes at all. Note this patch doesn't fix the intrinsic contributions, they will need to be addressed in a follow-up patch. Testing: Covered by WPT Fixes: #37433 Signed-off-by: Oriol Brufau <obrufau@igalia.com>
This commit is contained in:
parent
a27f2bb84d
commit
f963f2731d
5 changed files with 136 additions and 69 deletions
|
@ -1,24 +0,0 @@
|
|||
[keyword-sizes-on-replaced-element.html]
|
||||
[.test 68]
|
||||
expected: FAIL
|
||||
|
||||
[.test 69]
|
||||
expected: FAIL
|
||||
|
||||
[.test 71]
|
||||
expected: FAIL
|
||||
|
||||
[.test 75]
|
||||
expected: FAIL
|
||||
|
||||
[.test 77]
|
||||
expected: FAIL
|
||||
|
||||
[.test 78]
|
||||
expected: FAIL
|
||||
|
||||
[.test 80]
|
||||
expected: FAIL
|
||||
|
||||
[.test 84]
|
||||
expected: FAIL
|
Loading…
Add table
Add a link
Reference in a new issue