mirror of
https://github.com/servo/servo.git
synced 2025-08-10 07:55:33 +01:00
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:
parent
3f93de7f54
commit
0643aa4708
13 changed files with 39 additions and 59 deletions
|
@ -1,7 +1,4 @@
|
|||
[flex-aspect-ratio-img-column-011.html]
|
||||
[.flexbox 5]
|
||||
expected: FAIL
|
||||
|
||||
[.flexbox 7]
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -1,9 +1,3 @@
|
|||
[flex-aspect-ratio-img-row-005.html]
|
||||
[img 1]
|
||||
expected: FAIL
|
||||
|
||||
[img 2]
|
||||
expected: FAIL
|
||||
|
||||
[img 3]
|
||||
expected: FAIL
|
||||
|
|
|
@ -1,7 +1,4 @@
|
|||
[image-as-flexitem-size-001.html]
|
||||
[.flexbox > img 3]
|
||||
expected: FAIL
|
||||
|
||||
[.flexbox > img 4]
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -13,6 +13,3 @@
|
|||
|
||||
[.flexbox > img 6]
|
||||
expected: FAIL
|
||||
|
||||
[.flexbox > img 3]
|
||||
expected: FAIL
|
||||
|
|
|
@ -19,6 +19,3 @@
|
|||
|
||||
[.flexbox > img 10]
|
||||
expected: FAIL
|
||||
|
||||
[.flexbox > img 3]
|
||||
expected: FAIL
|
||||
|
|
|
@ -19,6 +19,3 @@
|
|||
|
||||
[.flexbox > img 10]
|
||||
expected: FAIL
|
||||
|
||||
[.flexbox > img 3]
|
||||
expected: FAIL
|
||||
|
|
|
@ -1,7 +1,4 @@
|
|||
[image-as-flexitem-size-007.html]
|
||||
[.flexbox > img 3]
|
||||
expected: FAIL
|
||||
|
||||
[.flexbox > img 4]
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -13,6 +13,3 @@
|
|||
|
||||
[.flexbox > img 6]
|
||||
expected: FAIL
|
||||
|
||||
[.flexbox > img 3]
|
||||
expected: FAIL
|
||||
|
|
|
@ -1,2 +0,0 @@
|
|||
[flex-aspect-ratio-017.html]
|
||||
expected: FAIL
|
|
@ -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
|
Loading…
Add table
Add a link
Reference in a new issue