tor-browser

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

grid-row-gap-computed.html (1023B)


      1 <!DOCTYPE html>
      2 <html>
      3 <head>
      4 <meta charset="utf-8">
      5 <title>CSS Box Alignment Level 3: getComputedStyle().gridRowGap</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-row-gap computed value is a specified keyword or a computed <length-percentage>.">
      9 <script src="/resources/testharness.js"></script>
     10 <script src="/resources/testharnessreport.js"></script>
     11 <script src="/css/support/computed-testcommon.js"></script>
     12 <style>
     13  #target {
     14    font-size: 40px;
     15  }
     16 </style>
     17 </head>
     18 <body>
     19 <div id="target"></div>
     20 <script>
     21 test_computed_value("grid-row-gap", "normal");
     22 
     23 test_computed_value("grid-row-gap", "10px");
     24 test_computed_value("grid-row-gap", "20%");
     25 test_computed_value("grid-row-gap", "calc(20% + 10px)");
     26 
     27 test_computed_value("grid-row-gap", "calc(-0.5em + 10px)", "0px");
     28 test_computed_value("grid-row-gap", "calc(0.5em + 10px)", "30px");
     29 </script>
     30 </body>
     31 </html>