mirror of
https://github.com/servo/servo.git
synced 2025-09-30 08:39:16 +01:00
layout: Use Size::FitContent
when the alignment isn't normal
or stretch
for absolutely positioned elements (#34264)
* layout: Use Size::FitContent when the alignment isn't normal or stretch Signed-off-by: taniishkaaa <tanishkasingh2004@gmail.com> * Use unwrap_or_default() Signed-off-by: taniishkaaa <tanishkasingh2004@gmail.com> * Use self.alignment.value() Signed-off-by: taniishkaaa <tanishkasingh2004@gmail.com> * Refactor used_size to handle non-definite sizes Signed-off-by: taniishkaaa <tanishkasingh2004@gmail.com> * Include AlignFlags::Auto Signed-off-by: taniishkaaa <tanishkasingh2004@gmail.com> * Update test expectations Signed-off-by: taniishkaaa <tanishkasingh2004@gmail.com> --------- Signed-off-by: taniishkaaa <tanishkasingh2004@gmail.com>
This commit is contained in:
parent
997b6411c0
commit
11dfbd6f90
25 changed files with 23 additions and 593 deletions
|
@ -1,42 +1,12 @@
|
|||
[align-self-htb-rtl-vlr.html]
|
||||
[.item 1]
|
||||
expected: FAIL
|
||||
|
||||
[.item 2]
|
||||
expected: FAIL
|
||||
|
||||
[.item 3]
|
||||
expected: FAIL
|
||||
|
||||
[.item 4]
|
||||
expected: FAIL
|
||||
|
||||
[.item 5]
|
||||
expected: FAIL
|
||||
|
||||
[.item 6]
|
||||
expected: FAIL
|
||||
|
||||
[.item 7]
|
||||
expected: FAIL
|
||||
|
||||
[.item 9]
|
||||
expected: FAIL
|
||||
|
||||
[.item 10]
|
||||
expected: FAIL
|
||||
|
||||
[.item 11]
|
||||
expected: FAIL
|
||||
|
||||
[.item 12]
|
||||
expected: FAIL
|
||||
|
||||
[.item 13]
|
||||
expected: FAIL
|
||||
|
||||
[.item 14]
|
||||
expected: FAIL
|
||||
|
||||
[.item 15]
|
||||
expected: FAIL
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue