Click here to download the Blitz Browser!

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

ChromeFirefoxSafariLadybirdServoBlitz
Total18/1818/1818/1818/1818/18NOT RUN
SubtestChromeFirefoxSafariLadybirdServoBlitz
createCaption method creates new caption if existing caption is not in html namespacePASSPASSPASSPASSPASS
createCaption method returns the first caption element child of the tablePASSPASSPASSPASSPASS
createCaption method creates a new caption and inserts it as the first node of the table elementPASSPASSPASSPASSPASS
createCaption will not create new caption if one existsPASSPASSPASSPASSPASS
createCaption will not copy table's prefixPASSPASSPASSPASSPASS
deleteCaption method removes the first caption element child of the table elementPASSPASSPASSPASSPASS
deleteCaption method not remove caption that is not in html namespacePASSPASSPASSPASSPASS
Setting caption rethrows exceptionPASSPASSPASSPASSPASS
Assigning a caption to table.captionPASSPASSPASSPASSPASS
Assigning null to table.captionPASSPASSPASSPASSPASS
Assigning a non-caption to table.captionPASSPASSPASSPASSPASS
Assigning a foreign caption to table.captionPASSPASSPASSPASSPASS
Set table.caption when the table doesn't already have a captionPASSPASSPASSPASSPASS
Set table.caption when the table has a caption child but with other siblings before itPASSPASSPASSPASSPASS
Set table.caption when the table has a caption descendantPASSPASSPASSPASSPASS
Set table.caption when the table has two caption childrenPASSPASSPASSPASSPASS
Assigning a caption has a different owner document to table.captionPASSPASSPASSPASSPASS
Assigning the caption already in the table to table.captionPASSPASSPASSPASSPASS