aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/webglobject.rs
diff options
context:
space:
mode:
authortanishka <109246904+taniishkaaa@users.noreply.github.com>2024-11-18 20:36:23 +0530
committerGitHub <noreply@github.com>2024-11-18 15:06:23 +0000
commit11dfbd6f90bc7bc8b8d7485695548b5ad685d0e1 (patch)
treec178cc0b350954d35acbdd3ab76e47058bdcc4d2 /components/script/dom/webglobject.rs
parent997b6411c034a3d8ea3d285e24cca982d4b4f3e8 (diff)
downloadservo-11dfbd6f90bc7bc8b8d7485695548b5ad685d0e1.tar.gz
servo-11dfbd6f90bc7bc8b8d7485695548b5ad685d0e1.zip
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>
Diffstat (limited to 'components/script/dom/webglobject.rs')
0 files changed, 0 insertions, 0 deletions