summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-flexbox/flexbox-basic-img-horiz-001-ref.xhtml
blob: a6cd54312466eb4c7c6621a9f198e7383b4c40f8 (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
<?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 {
        width: 200px;
        background: lightgreen;
        margin-bottom: 5px;
        line-height: 8px;
      }
      img {
        width: 10px;
        height: 20px;
        border: 1px dotted green;
      }
    </style>
  </head>
  <body>
    <div class="flexbox">
      <img src="support/solidblue.png"/>
    </div>

    <div class="flexbox" style="height: 22px">
      some words
      <img src="support/solidblue.png" style="float:right"/>
    </div>

    <div class="flexbox">
      <img src="support/solidblue.png" style="width: 122.5px"
    /><img src="support/solidblue.png" style="width: 73.5px"/>
    </div>

    <div class="flexbox">
      <img src="support/solidblue.png" style="width: 93px"
    /><img src="support/solidblue.png" style="width: 103px"/>
    </div>

    <div class="flexbox">
      <img src="support/solidblue.png" style="width: 114px"
    /><img src="support/solidblue.png" style="width: 82px"/>
    </div>

    <div class="flexbox">
      <img src="support/solidblue.png" style="width: 106px"
    /><img src="support/solidblue.png" style="width: 90px"/>
    </div>

    <div class="flexbox">
      <img src="support/solidblue.png" style="width: 46px"
    /><img src="support/solidblue.png" style="width: 150px"/>
    </div>

  </body>
</html>