tor-browser

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

justify-content-valid.html (1559B)


      1 <!DOCTYPE html>
      2 <html>
      3 <head>
      4 <meta charset="utf-8">
      5 <title>CSS Box Alignment Level 3: parsing justify-content with valid values</title>
      6 <link rel="help" href="https://drafts.csswg.org/css-align-3/#propdef-justify-content">
      7 <meta name="assert" content="justify-content supports the full grammar 'normal | <content-distribution> | <overflow-position>? [ <content-position> | left | right ]'.">
      8 <script src="/resources/testharness.js"></script>
      9 <script src="/resources/testharnessreport.js"></script>
     10 <script src="/css/support/parsing-testcommon.js"></script>
     11 </head>
     12 <body>
     13 <script>
     14 test_valid_value("justify-content", "normal");
     15 
     16 // <content-distribution> = space-between | space-around | space-evenly | stretch
     17 test_valid_value("justify-content", "space-between");
     18 test_valid_value("justify-content", "space-around");
     19 test_valid_value("justify-content", "space-evenly");
     20 test_valid_value("justify-content", "stretch");
     21 
     22 // <overflow-position>? [ <content-position> | left | right ]
     23 // <overflow-position> = unsafe | safe
     24 // <content-position> = center | start | end | flex-start | flex-end
     25 test_valid_value("justify-content", "center");
     26 test_valid_value("justify-content", "start");
     27 test_valid_value("justify-content", "end");
     28 test_valid_value("justify-content", "flex-start");
     29 test_valid_value("justify-content", "flex-end");
     30 test_valid_value("justify-content", "unsafe end");
     31 test_valid_value("justify-content", "safe flex-start");
     32 test_valid_value("justify-content", "left");
     33 test_valid_value("justify-content", "unsafe right");
     34 </script>
     35 </body>
     36 </html>