layout: Ensure that <caption>'s support position: relative (#33426)

This change adds support for `position: relative` to table `<caption>`.
In addition to adjusting their position according to inset values, table
captions must also establish containing blocks for descendants that are
absolutely positioned.

Signed-off-by: Martin Robinson <mrobinson@igalia.com>
Co-authored-by: Oriol Brufau <obrufau@igalia.com>
This commit is contained in:
Martin Robinson 2024-09-19 14:43:29 +02:00 committed by GitHub
parent eecf5bdea1
commit ef229b9386
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 52 additions and 7 deletions

View file

@ -240575,6 +240575,19 @@
{}
]
],
"caption-relative-positioning.html": [
"2be1e86bc077f1293ccc9ea851f23123ae679157",
[
null,
[
[
"/css/reference/ref-filled-green-100px-square.xht",
"=="
]
],
{}
]
],
"col-definite-max-size-001.html": [
"bcd7ca2fd89c26384e26be64dade0e7af0ea4c79",
[