|  | <!doctype html> | 
|  | <html class="reftest-wait"> | 
|  | <meta charset="utf-8"> | 
|  | <title>View Transitions: Table with captions</title> | 
|  | <link rel="help" href="https://drafts.csswg.org/css-view-transitions-1/"> | 
|  | <link rel="help" href="https://bugzilla.mozilla.org/show_bug.cgi?id=1985924"> | 
|  | <link rel="author" href="mailto:emilio@crisal.io" title="Emilio Cobos Álvarez"> | 
|  | <link rel="author" href="https://mozilla.org" title="Mozilla"> | 
|  | <link rel="match" href="table-caption-ref.html"> | 
|  | <style> | 
|  | table { | 
|  | view-transition-name: table; | 
|  | } | 
|  |  | 
|  | :root::view-transition-group(root) { | 
|  | opacity: 0; | 
|  | } | 
|  |  | 
|  | :root::view-transition-group(*) { | 
|  | animation-play-state: paused; | 
|  | } | 
|  |  | 
|  | :root::view-transition { | 
|  | background: pink; | 
|  | } | 
|  | </style> | 
|  | <table> | 
|  | <caption>Caption</caption> | 
|  | <tr> | 
|  | <td>Some row</td> | 
|  | </tr> | 
|  | </table> | 
|  | <script> | 
|  | onload = () => { | 
|  | requestAnimationFrame(() => { | 
|  | requestAnimationFrame(() => { | 
|  | document.startViewTransition().ready.then(() => { | 
|  | document.documentElement.classList = ""; | 
|  | }); | 
|  | }) | 
|  | }); | 
|  | } | 
|  | </script> |