tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

transition-shorthand.html (1380B)


      1 <!DOCTYPE html>
      2 <html>
      3 <head>
      4 <meta charset="utf-8">
      5 <title>CSS Transitions: transition sets longhands</title>
      6 <link rel="help" href="https://drafts.csswg.org/css-transitions/#transition-shorthand-property">
      7 <meta name="assert" content="transition supports the full grammar '<single-transition> #'.">
      8 <script src="/resources/testharness.js"></script>
      9 <script src="/resources/testharnessreport.js"></script>
     10 <script src="/css/support/shorthand-testcommon.js"></script>
     11 </head>
     12 <body>
     13 <script>
     14 test_shorthand_value('transition', '1s -3s cubic-bezier(0, -2, 1, 3) top', {
     15  'transition-property': 'top',
     16  'transition-duration': '1s',
     17  'transition-timing-function': 'cubic-bezier(0, -2, 1, 3)',
     18  'transition-delay': '-3s',
     19  'transition-behavior': 'normal'
     20 });
     21 
     22 test_shorthand_value('transition', '1s -3s, cubic-bezier(0, -2, 1, 3) top', {
     23  'transition-property': 'all, top',
     24  'transition-duration': '1s, 0s',
     25  'transition-timing-function': 'ease, cubic-bezier(0, -2, 1, 3)',
     26  'transition-delay': '-3s, 0s',
     27  'transition-behavior': 'normal, normal'
     28 });
     29 
     30 test_shorthand_value('transition', 'cubic-bezier(0, -2, 1, 3) top, 1s -3s', {
     31  'transition-property': 'top, all',
     32  'transition-duration': '0s, 1s',
     33  'transition-timing-function': 'cubic-bezier(0, -2, 1, 3), ease',
     34  'transition-delay': '0s, -3s',
     35  'transition-behavior': 'normal, normal'
     36 });
     37 </script>
     38 </body>
     39 </html>