tor-browser

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

1633737-3.html (761B)


      1 <!DOCTYPE HTML>
      2 <!--
      3     any copyright is dedicated to the public domain.
      4     http://creativecommons.org/publicdomain/zero/1.0/
      5 -->
      6 <html><head>
      7  <title>Testcase for Bug 1633737</title>
      8  <style>
      9 html,body {
     10  color:black; background-color:white; font:15px/1 monospace; padding:0; margin:0;
     11 }
     12 
     13 .grid {
     14  display: grid;
     15  width: min-content;
     16  grid-template-columns: repeat(9998,0) repeat(auto-fill, 5px 10px 15px 20px);
     17  grid-auto-columns: 500px; /* should not be used */
     18  border: 1px solid;
     19  margin-bottom: 2px;
     20 }
     21 
     22 x { grid-column: 1 / foo; }
     23 
     24  </style>
     25 </head>
     26 <body>
     27 
     28 <div class="grid"><x></x></div>
     29 <script>
     30  document.body.offsetHeight;
     31  window.getComputedStyle(document.querySelectorAll('.grid')[0]).gridTemplateColumns;
     32 </script>
     33 </body>
     34 </html>