Handle aspect ratios in ReplacedContent::inline_content_sizes (#33240)

We were only handling the aspect ratio of a replaced element when
computing its min/max-content contribution, but not when computing
the min/max-content size. Now both cases will take it into account.

Signed-off-by: Oriol Brufau <obrufau@igalia.com>
This commit is contained in:
Oriol Brufau 2024-08-29 17:38:59 +02:00 committed by GitHub
parent 3f93de7f54
commit 0643aa4708
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
13 changed files with 39 additions and 59 deletions

View file

@ -1,2 +0,0 @@
[flex-aspect-ratio-017.html]
expected: FAIL

View file

@ -1,6 +0,0 @@
[percentage-height-in-flexbox.html]
[#target offsetSize matches #container offsetSize]
expected: FAIL
[#target offsetSize matches #container offsetSize after resize]
expected: FAIL