mirror of
https://github.com/servo/servo.git
synced 2025-08-14 09:55:35 +01:00
Unify sizing logic for replaced elements (#34076)
The logic varied quite a bit depending on the case, now it's unified. This also fixes the following case where the iframe was 150px tall instead of 50px: ```html <iframe style="min-width: 400px; max-height: 50px"></iframe> ``` This also modifies video-intrinsic-width-height.html to expect the new behavior that we share with Blink and WebKit. In fact WebKit already modified this test but forgot to export the change upstream. Firefox is different but it was already failing anyways. Signed-off-by: Oriol Brufau <obrufau@igalia.com>
This commit is contained in:
parent
f95c4cfaba
commit
d2c4448ac8
4 changed files with 66 additions and 174 deletions
|
@ -1,10 +1,4 @@
|
|||
[position-absolute-replaced-minmax.html]
|
||||
[minmax replaced IFRAME 10]
|
||||
expected: FAIL
|
||||
|
||||
[minmax replaced IFRAME 11]
|
||||
expected: FAIL
|
||||
|
||||
[minmax replaced IMG svg 23]
|
||||
expected: FAIL
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue