at-rule-opt-in-auto.html (664B)
1 <!DOCTYPE html> 2 <html class="reftest-wait"> 3 <title>View Transitions: @view-transition opt in for auto</title> 4 <link rel="help" href="https://drafts.csswg.org/css-view-transitions-2/"> 5 <link rel="author" href="mailto:bokan@chromium.org"> 6 <link rel="match" href="at-rule-opt-in-auto-ref.html"> 7 <script src="/common/reftest-wait.js"></script> 8 <style> 9 @view-transition { 10 navigation: auto; 11 } 12 13 html { 14 background: blue; 15 } 16 </style> 17 <script> 18 function runTest() { 19 const url = "resources/at-rule-opt-in-auto.html"; 20 window.location.replace(new URL(url, window.location)); 21 } 22 onload = () => requestAnimationFrame(() => requestAnimationFrame(runTest)); 23 </script> 24 </html>