tor-browser

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

grid-template-rows-intrinsic-auto-repeat-computed-nogrid.tentative.html (2017B)


      1 <!DOCTYPE html>
      2 <meta charset="utf-8">
      3 <title>CSS Grid Lanes Layout Test: getComputedStyle().gridTemplateColumns</title>
      4 <link rel="author" title="Alison Maher" href="mailto:almaher@microsoft.com">
      5 <link rel="help" href="https://drafts.csswg.org/css-grid/#resolved-track-list" title="7.2.6. Resolved Value of a Track Listing">
      6 <meta name="assert" content="Checks the resolved value of grid-template-rows on an element which is not a grid-lanes container.">
      7 <style>
      8 #target {
      9  display: block;
     10  width: 1px;
     11  font-size: 1px;
     12 }
     13 </style>
     14 <script src="/resources/testharness.js"></script>
     15 <script src="/resources/testharnessreport.js"></script>
     16 <script src="/css/support/computed-testcommon.js"></script>
     17 <div id="target"></div>
     18 <script>
     19 test_computed_value("grid-template-rows", "1px repeat(auto-fill, auto) 3px", "none");
     20 test_computed_value("grid-template-rows", "1px repeat(auto-fit, auto) 3px", "none");
     21 test_computed_value("grid-template-rows", "1px [a] repeat(auto-fill, min-content max-content) [b] 4px", "none");
     22 test_computed_value("grid-template-rows", "1px [a] repeat(auto-fit, min-content max-content) [b] 4px", "none");
     23 test_computed_value("grid-template-rows", "1px [a] repeat(auto-fill, [b] fit-content(200px) [c]) [d] 3px", "none");
     24 test_computed_value("grid-template-rows", "1px [a] repeat(auto-fit, [b] fit-content(200px) [c]) [d] 3px", "none");
     25 test_computed_value("grid-template-rows", "[a] 1px repeat(auto-fill, auto [b] auto) 4px [d]", "none");
     26 test_computed_value("grid-template-rows", "[a] 1px repeat(auto-fit, auto [b] auto) 4px [d]", "none");
     27 test_computed_value("grid-template-rows", "100% [a] repeat(auto-fill, [b] min-content [c]) [d] 300%", "none");
     28 test_computed_value("grid-template-rows", "100% [a] repeat(auto-fit, [b] min-content [c]) [d] 300%", "none");
     29 test_computed_value("grid-template-rows", "[a] 1em repeat(auto-fill, max-content [b] auto) 4em [d]", "none");
     30 test_computed_value("grid-template-rows", "[a] 1em repeat(auto-fit, max-content [b] auto) 4em [d]", "none");
     31 </script>