summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-break/background-image-001-ref.html
blob: 08fdbfca495cddb7faa2fe41b61ca89ff06d56a2 (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
65
66
67
68
69
70
<!DOCTYPE html>
<link rel="author" title="Morten Stenshorne" href="mailto:mstensho@chromium.org">
<style>
  .container {
    writing-mode: vertical-rl;
    inline-size: 472px;
  }
  .mc {
    display: flow-root;
    block-size: 120px;
    border: 1px solid;
    margin-block-end: 20px;
    background: yellow;
  }
  .column {
    float: left;
    inline-size: 150px;
    block-size: 100%;
    margin-inline-start: 10px;
  }
  .column:first-child {
    margin-inline-start: 0;
  }
</style>
<div class="container">
  <div class="mc">
    <div class="column">
      <div style="block-size:100%; background:url(../support/cat.png) -230px top;"></div>
    </div>
    <div class="column">
      <div style="block-size:100%; background:url(../support/cat.png) -110px top;"></div>
    </div>
    <div class="column">
      <div style="block-size:110px; background:url(../support/cat.png) left top;"></div>
    </div>
  </div>
  <div class="mc">
    <div class="column">
      <div style="block-size:100%; background:url(../support/cat.png) right top;"></div>
    </div>
    <div class="column">
      <div style="block-size:100%; background:url(../support/cat.png) 240px top;"></div>
    </div>
    <div class="column">
      <div style="block-size:110px; background:url(../support/cat.png) 350px top;"></div>
    </div>
  </div>
  <div class="mc">
    <div class="column">
      <div style="block-size:100%; background:url(../support/cat.png) -230px bottom;"></div>
    </div>
    <div class="column">
      <div style="block-size:100%; background:url(../support/cat.png) -110px bottom;"></div>
    </div>
    <div class="column">
      <div style="block-size:110px; background:url(../support/cat.png) left bottom;"></div>
    </div>
  </div>
  <div class="mc">
    <div class="column">
      <div style="block-size:100%; background:url(../support/cat.png) right bottom;"></div>
    </div>
    <div class="column">
      <div style="block-size:100%; background:url(../support/cat.png) 240px bottom;"></div>
    </div>
    <div class="column">
      <div style="block-size:110px; background:url(../support/cat.png) 350px bottom;"></div>
    </div>
  </div>
</div>