tor-browser

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

place-items-shorthand.html (1018B)


      1 <!DOCTYPE html>
      2 <html>
      3 <head>
      4 <meta charset="utf-8">
      5 <title>CSS Box Alignment Level 3: place-items sets longhands</title>
      6 <link rel="help" href="https://drafts.csswg.org/css-align-3/#propdef-place-items">
      7 <meta name="assert" content="place-items supports the full grammar '<align-items> <justify-items>?'.">
      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('place-items', 'normal', {
     15  'align-items': 'normal',
     16  'justify-items': 'normal'
     17 });
     18 
     19 test_shorthand_value('place-items', 'first baseline', {
     20  'align-items': 'baseline',
     21  'justify-items': 'baseline'
     22 });
     23 
     24 test_shorthand_value('place-items', 'last baseline flex-start', {
     25  'align-items': 'last baseline',
     26  'justify-items': 'flex-start'
     27 });
     28 
     29 test_shorthand_value('place-items', 'stretch right legacy', {
     30  'align-items': 'stretch',
     31  'justify-items': 'legacy right'
     32 });
     33 </script>
     34 </body>
     35 </html>