view-transition-name-computed.html (1272B)
1 <!DOCTYPE html> 2 <html> 3 <head> 4 <meta charset="utf-8"> 5 <title>CSS View Transitions: view-transition-name with computed values</title> 6 <link rel="author" title="Vladimir Levin" href="mailto:vmpstr@chromium.org"> 7 <link rel="help" href="https://drafts.csswg.org/css-view-transitions-1/"> 8 <meta name="assert" content="view-transition-name supports custom keywords."> 9 <script src="/resources/testharness.js"></script> 10 <script src="/resources/testharnessreport.js"></script> 11 <script src="/css/support/computed-testcommon.js"></script> 12 </head> 13 <body> 14 <div id=target></div> 15 <script> 16 test_computed_value("view-transition-name", "none"); 17 test_computed_value("view-transition-name", "foo"); 18 test_computed_value("view-transition-name", "bar"); 19 test_computed_value("view-transition-name", "baz"); 20 test_computed_value("view-transition-name", "unset", "none"); 21 test_computed_value("view-transition-name", "initial", "none"); 22 test_computed_value("view-transition-name", "inherit", "none"); 23 test_computed_value("view-transition-name", "revert", "none"); 24 test_computed_value("view-transition-name", "revert-layer", "none"); 25 26 test_computed_value("view-transition-name", "match-element"); 27 test_computed_value("view-transition-name", "maTch-element", "match-element"); 28 </script> 29 </body> 30 </html>