tor-browser

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

grid-gap-valid.html (1089B)


      1 <!DOCTYPE html>
      2 <html>
      3 <head>
      4 <meta charset="utf-8">
      5 <title>CSS Box Alignment Level 3: parsing grid-gap with valid values</title>
      6 <link rel="help" href="https://drafts.csswg.org/css-align/#grid-gap-legacy">
      7 <link rel="author" title="Takuya Kurimoto" href="mailto:takuya004869@gmail.com">
      8 <meta name="assert" content="grid-gap supports the full grammar '<grid-row-gap> <grid-column-gap>?'.">
      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("grid-gap", "normal normal", "normal");
     16 test_valid_value("grid-gap", "10px 10px", "10px");
     17 test_valid_value("grid-gap", "20% 20%", "20%");
     18 test_valid_value("grid-gap", "calc(20% + 10px) calc(20% + 10px)", "calc(20% + 10px)");
     19 
     20 test_valid_value("grid-gap", "normal 10px");
     21 test_valid_value("grid-gap", "10px 20%");
     22 test_valid_value("grid-gap", "20% calc(20% + 10px)");
     23 test_valid_value("grid-gap", "calc(20% + 10px) 0px");
     24 test_valid_value("grid-gap", "0px normal");
     25 </script>
     26 </body>
     27 </html>