Status: FAIL | Duration: 47ms | Subtests: 0/1 | Open test on wpt.live | Open ref on wpt.live | wpt.fyi
/css/css-view-transitions/nested/nested-group-display-none.tentative.html
<!DOCTYPE html> <html class=reftest-wait> <title>Nested view-transition-group with display:none</title> <link rel="help" href="https://drafts.csswg.org/css-view-transitions-2/"> <link rel="match" href="nested-ref.html"> <link rel=stylesheet href="resources/pause-view-transitions.css"></link> <meta name=fuzzy content="maxDifference=0-255; totalPixels=0-515"> <script src="/common/reftest-wait.js"></script> <style> body { background: green; } main { view-transition-name: main; } section { view-transition-name: section; view-transition-group: main; } ::view-transition-group(*) ::view-transition-image-pair(*), ::view-transition-old(*), ::view-transition-new(*) { display: none; } </style> <body> <main> <section> Hello </section> </main> <script> failIfNot(document.startViewTransition, "Missing document.startViewTransition"); async function runTest() { let transition = document.startViewTransition(); transition.ready.then(() => takeScreenshot()); } onload = () => requestAnimationFrame(() => requestAnimationFrame(runTest)); </script> </body>
/css/css-view-transitions/nested/nested-ref.html
<!DOCTYPE html> <style> body { margin: 0; } div.green { position: fixed; inset: 0; background: green; } </style> <body> <div class="green"> </div> </body>