summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-break/background-image-000-ref.html
blob: bb63020d69d46460e994bcecf0aeffdb96f65b52 (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: horizontal-tb;
    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) left top;"></div>
    </div>
    <div class="column">
      <div style="block-size:100%; background:url(../support/cat.png) left -120px;"></div>
    </div>
    <div class="column">
      <div style="block-size:110px; background:url(../support/cat.png) left -240px;"></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) right -120px;"></div>
    </div>
    <div class="column">
      <div style="block-size:110px; background:url(../support/cat.png) right -240px;"></div>
    </div>
  </div>
  <div class="mc">
    <div class="column">
      <div style="block-size:100%; background:url(../support/cat.png) left 350px;"></div>
    </div>
    <div class="column">
      <div style="block-size:100%; background:url(../support/cat.png) left 230px;"></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 350px;"></div>
    </div>
    <div class="column">
      <div style="block-size:100%; background:url(../support/cat.png) right 230px;"></div>
    </div>
    <div class="column">
      <div style="block-size:110px; background:url(../support/cat.png) right bottom;"></div>
    </div>
  </div>
</div>