WPT
wpt / html / semantics / tabular-data / the-table-element / caption-methods.html
Spec: HTML ↗
Runs: Chrome 155.0.8042.0 (wpt@0a3996025, 2026-09-04) | Firefox 157.0a1 (wpt@972e0e100, 2026-09-04) | Safari 251 preview (wpt@972e0e100, 2026-09-04) | Ladybird 1.0-3fd2d (wpt@c29bd2aee, 2026-09-04) | Servo Servo 0.6 (wpt@2c385f65e, 2026-09-04) | Blitz a50cb8971 (wpt@a95401e4e, 2026-09-03)
View on the Blitz WPT dashboard | Open test on wpt.live | wpt.fyi
| Chrome | Firefox | Safari | Ladybird | Servo | Blitz | |
|---|---|---|---|---|---|---|
| Total | 18/18 | 18/18 | 18/18 | 18/18 | 18/18 | NOT RUN |
| Subtest | Chrome | Firefox | Safari | Ladybird | Servo | Blitz |
|---|---|---|---|---|---|---|
| createCaption method creates new caption if existing caption is not in html namespace | PASS | PASS | PASS | PASS | PASS | — |
| createCaption method returns the first caption element child of the table | PASS | PASS | PASS | PASS | PASS | — |
| createCaption method creates a new caption and inserts it as the first node of the table element | PASS | PASS | PASS | PASS | PASS | — |
| createCaption will not create new caption if one exists | PASS | PASS | PASS | PASS | PASS | — |
| createCaption will not copy table's prefix | PASS | PASS | PASS | PASS | PASS | — |
| deleteCaption method removes the first caption element child of the table element | PASS | PASS | PASS | PASS | PASS | — |
| deleteCaption method not remove caption that is not in html namespace | PASS | PASS | PASS | PASS | PASS | — |
| Setting caption rethrows exception | PASS | PASS | PASS | PASS | PASS | — |
| Assigning a caption to table.caption | PASS | PASS | PASS | PASS | PASS | — |
| Assigning null to table.caption | PASS | PASS | PASS | PASS | PASS | — |
| Assigning a non-caption to table.caption | PASS | PASS | PASS | PASS | PASS | — |
| Assigning a foreign caption to table.caption | PASS | PASS | PASS | PASS | PASS | — |
| Set table.caption when the table doesn't already have a caption | PASS | PASS | PASS | PASS | PASS | — |
| Set table.caption when the table has a caption child but with other siblings before it | PASS | PASS | PASS | PASS | PASS | — |
| Set table.caption when the table has a caption descendant | PASS | PASS | PASS | PASS | PASS | — |
| Set table.caption when the table has two caption children | PASS | PASS | PASS | PASS | PASS | — |
| Assigning a caption has a different owner document to table.caption | PASS | PASS | PASS | PASS | PASS | — |
| Assigning the caption already in the table to table.caption | PASS | PASS | PASS | PASS | PASS | — |