aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/nodeiterator.rs
diff options
context:
space:
mode:
authorOriol Brufau <obrufau@igalia.com>2024-11-03 15:46:21 +0100
committerGitHub <noreply@github.com>2024-11-03 14:46:21 +0000
commit2a6d480cd8ce4dccaa74420fd6a436d39c328bf7 (patch)
treeee1c7c195d986080e88e4a01b808a76e1fe4b9a2 /components/script/dom/nodeiterator.rs
parentb22c0771be89e1962a2e39a43988278229fc0496 (diff)
downloadservo-2a6d480cd8ce4dccaa74420fd6a436d39c328bf7.tar.gz
servo-2a6d480cd8ce4dccaa74420fd6a436d39c328bf7.zip
Remove unnecessary clamping in used_size_as_if_inline_element() (#34114)
We don't need to floor the preferred box sizes to be at least zero, since `used_size_as_if_inline_element_from_content_box_sizes()` will take care of applying min and max constraints, and the min has been floored to be at least zero. Signed-off-by: Oriol Brufau <obrufau@igalia.com>
Diffstat (limited to 'components/script/dom/nodeiterator.rs')
0 files changed, 0 insertions, 0 deletions