tor-browser

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

place-content-valid.html (2022B)


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