tor-browser

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

flexbox-basic-block-vert-001-ref.xhtml (1720B)


      1 <?xml version="1.0" encoding="UTF-8"?>
      2 <!--
      3     Any copyright is dedicated to the Public Domain.
      4     http://creativecommons.org/publicdomain/zero/1.0/
      5 -->
      6 <html xmlns="http://www.w3.org/1999/xhtml">
      7  <head>
      8    <title>CSS Reftest Reference</title>
      9    <link rel="author" title="Daniel Holbert" href="mailto:dholbert@mozilla.com"/>
     10    <style>
     11      div { width: 50px; }
     12      div.flexbox {
     13        border: 1px dashed blue;
     14        float: left;
     15      }
     16      div.a {
     17        background: lightgreen;
     18      }
     19      div.b {
     20        background: yellow;
     21      }
     22      div.c {
     23        background: orange;
     24      }
     25      div.auto   {
     26        background: pink;
     27      }
     28      div.inflex {
     29        background: gray;
     30      }
     31      div.spacer {
     32        width: 15px;
     33        background: purple;
     34      }
     35    </style>
     36  </head>
     37  <body>
     38    <div class="flexbox">
     39      <div class="a" style="height: 80px"/><div class="b" style="height: 120px"/>
     40    </div>
     41    <div class="flexbox">
     42      <div class="a" style="height: 62.5px"/><div class="c" style="height: 137.5px"/>
     43    </div>
     44    <div class="flexbox">
     45      <div class="a" style="height: 185px"/><div class="auto">
     46        <div class="spacer" style="height: 15px"/></div>
     47    </div>
     48    <div class="flexbox">
     49      <div class="b" style="height: 76px"/><div class="c" style="height: 124px"/>
     50    </div>
     51    <div class="flexbox">
     52      <div class="b" style="height: 170px"/><div class="auto">
     53        <div class="spacer" style="height: 30px"/></div>
     54    </div>
     55    <div class="flexbox">
     56      <div class="a" style="height: 45px"/><div class="b" style="height: 50px"
     57      /><div class="inflex" style="height: 20px"/><div class="c" style="height: 85px"/>
     58    </div>
     59  </body>
     60 </html>