tor-browser

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

grid-vertical-align-001.html (1285B)


      1 <!DOCTYPE html>
      2 <meta charset="utf-8">
      3 <title>CSS Grid Layout Test: 'vertical-align' has no effect on grid items</title>
      4 <link rel="author" title="Manuel Rego Casasnovas" href="mailto:rego@igalia.com">
      5 <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/"> <!-- 2014-12-10 -->
      6 <link rel="help" href="http://www.w3.org/TR/css-grid-1/#grid-containers" title="3.1 Establishing Grid Containers">
      7 <link rel="help" href="http://www.w3.org/TR/CSS21/visudet.html#propdef-vertical-align" title="10.8.1 Leading and half-leading">
      8 <link rel="match" href="../../reference/ref-filled-green-100px-square.xht">
      9 <meta name="flags" content="ahem">
     10 <link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
     11 <style>
     12  #reference-overlapped-red {
     13    position: absolute;
     14    background-color: red;
     15    width: 100px;
     16    height: 100px;
     17    z-index: -1;
     18  }
     19 
     20  #test-grid-overlapping-green {
     21    display: grid;
     22    font: 50px/1 Ahem;
     23    color: green;
     24  }
     25 
     26  #vertical-align {
     27    vertical-align: 125px;
     28  }
     29 </style>
     30 <p>Test passes if there is a filled green square and <strong>no red</strong>.</p>
     31 
     32 <div id="reference-overlapped-red"></div>
     33 
     34 <div id="test-grid-overlapping-green">
     35  <span>1s</span>
     36  <span id="vertical-align">2n</span>
     37 </div>