tor-browser

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

ttwf-reftest-alignContent-ref.html (949B)


      1 <!DOCTYPE html>
      2 <html>
      3 <head>
      4    <title>ttwf-reftest-alignContent-ref</title>
      5    <link rel="author" title="Heechang Kang" href="mailto:hckang80@gmail.com">
      6    <link rel="help" href="http://www.w3.org/TR/css3-align/#align-content">
      7    <style type="text/css">
      8        #main{
      9            display:table;
     10            position:relative;
     11            font-size:0;
     12            width:70px;
     13            border:1px solid #c3c3c3;
     14        }
     15        #main .sample{
     16            position:absolute;
     17            left:0;
     18            top:50%;
     19            z-index:-1;
     20            margin:-35px 0 0;
     21        }
     22        #main > span{
     23            display:inline-block;
     24            width:70px;
     25            height:70px;
     26            margin:50px 0;
     27        }
     28    </style>
     29 </head>
     30 <body>
     31 <p>PASS if there is no red box.</p>
     32 <div id="main">
     33    <span class="sample" style="background-color:red;"></span>
     34    <span style="background-color:green;"></span>
     35 </div>
     36 </body>
     37 </html>