aboutsummaryrefslogtreecommitdiffstats
path: root/components/shared/webrender/rendering_context.rs
diff options
context:
space:
mode:
authorOriol Brufau <obrufau@igalia.com>2025-02-05 01:35:59 +0100
committerGitHub <noreply@github.com>2025-02-05 00:35:59 +0000
commite2bb772669f86f290657dc66dc290e01947d1cdf (patch)
tree49f83dde2b9fb5a4ecb8ac4e83b27a3640625572 /components/shared/webrender/rendering_context.rs
parent88d01f6303a1b2e23a5d08c130f1ccb6ce4eb288 (diff)
downloadservo-e2bb772669f86f290657dc66dc290e01947d1cdf.tar.gz
servo-e2bb772669f86f290657dc66dc290e01947d1cdf.zip
layout: Limit `content_inline_size_for_table` override to collapsed columns (#35209)
A box is usually sized by the formatting context in which it participates. However, tables have some special sizing behaviors that we implemented with a `content_inline_size_for_table` override. However, breaking the assumptions of the formatting context isn't great. It was also bad for performance that we could try to layout a table among floats even though it wouldn't en up fitting because of a larger min-content size. Therefore, this changes the logic so that formatting contexts use some special sizing for tables, and then tables only override that amount when there are collapsed columns. Eventually, we should try to remove that case too, see https://github.com/w3c/csswg-drafts/issues/11408 Signed-off-by: Oriol Brufau <obrufau@igalia.com>
Diffstat (limited to 'components/shared/webrender/rendering_context.rs')
0 files changed, 0 insertions, 0 deletions