mirror of
https://github.com/servo/servo.git
synced 2025-08-15 02:15:33 +01:00
layout: Remove special height logic of replaced element with auto width (#35275)
When computing the intrinsic block size of a replaced element with a computed preferred inline size of `auto`, instead of transferring the final inline size through the aspect ratio, we were only transferring the min and max constraints. We did this to match other browsers, but Ian Kilpatrick agreed that this is a bug and plans to change Blink. CSSWG issue: https://github.com/w3c/csswg-drafts/issues/11236 Signed-off-by: Oriol Brufau <obrufau@igalia.com>
This commit is contained in:
parent
e2daeeaceb
commit
98816b753c
9 changed files with 80 additions and 114 deletions
|
@ -10,6 +10,3 @@
|
|||
|
||||
[.item 7]
|
||||
expected: FAIL
|
||||
|
||||
[.item 10]
|
||||
expected: FAIL
|
||||
|
|
|
@ -10,6 +10,3 @@
|
|||
|
||||
[.item 7]
|
||||
expected: FAIL
|
||||
|
||||
[.item 10]
|
||||
expected: FAIL
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue