summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-flexbox/flexbox-basic-canvas-vert-001-ref.xhtml
blob: 2187f15b19c19c5b87810a166731aa084ba9af97 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
<?xml version="1.0" encoding="UTF-8"?>
<!--
     Any copyright is dedicated to the Public Domain.
     http://creativecommons.org/publicdomain/zero/1.0/
-->
<html xmlns="http://www.w3.org/1999/xhtml">
  <head>
    <title>CSS Reftest Reference</title>
    <link rel="author" title="Daniel Holbert" href="mailto:dholbert@mozilla.com"/>
    <style>
      div.flexbox {
        height: 200px;
        width: 22px;
        float: left;
        margin-right: 10px;
        background: lightgreen;
        line-height: 0;
      }
      canvas {
        width: 20px;
        height: 10px;
        border: 1px dotted green;
      }
    </style>
  </head>
  <body>
    <div class="flexbox">
      <canvas/>
    </div>

    <div class="flexbox">
      <div style="font: 8px monospace; height: 188px">
        a b
      </div>
      <canvas/>
    </div>

    <div class="flexbox">
      <canvas style="height: 108.8px"
    /><canvas style="height: 87.1px"/>
    </div>

    <div class="flexbox">
      <canvas style="height: 93px"
    /><canvas style="height: 103px"/>
    </div>

    <div class="flexbox">
      <canvas style="height: 114px"
    /><canvas style="height: 82px"/>
    </div>

    <div class="flexbox">
      <canvas style="height: 106px"
    /><canvas style="height: 90px"/>
    </div>

    <div class="flexbox">
      <canvas style="height: 46px"
    /><canvas style="height: 150px"/>
    </div>

  </body>
</html>