layout: Make bottom table captions obey relative positioning offsets (#39388)

#33426 only added support for relative positioning on captions with
`caption-side: top`, but forgot about `caption-side: bottom`. This
unifies the logic for both kinds of captions to avoid divergences.

Testing: Modifying an existing test to also cover this case.
Fixes: #39386

Signed-off-by: Oriol Brufau <obrufau@igalia.com>
This commit is contained in:
Oriol Brufau 2025-09-19 14:44:17 +02:00 committed by GitHub
parent d08be14c7a
commit 754c938722
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 109 additions and 129 deletions

1
Cargo.lock generated
View file

@ -4881,6 +4881,7 @@ dependencies = [
"servo_malloc_size_of",
"servo_url",
"smallvec",
"strum",
"stylo",
"stylo_atoms",
"stylo_traits",