summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-break/background-image-000.html
blob: 27e78dc21cf932b9fea8a10ce1c677ce5dad6be5 (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
<!DOCTYPE html>
<link rel="author" title="Morten Stenshorne" href="mailto:mstensho@chromium.org">
<link rel="help" href="https://www.w3.org/TR/css-break-3/#valdef-box-decoration-break-slice">
<link rel="help" href="https://www.w3.org/TR/css-backgrounds-3/#background-image">
<link rel="help" href="https://bugs.chromium.org/p/chromium/issues/detail?id=1200242">
<link rel="match" href="background-image-000-ref.html">
<style>
  .container {
    writing-mode: horizontal-tb;
    inline-size: 472px;
  }
  .mc {
    columns: 3;
    column-gap: 10px;
    column-fill: auto;
    block-size: 120px;
    border: 1px solid;
    margin-block-end: 20px;
    background: yellow;
  }
</style>
<div class="container">
  <div class="mc">
    <div style="block-size:350px; background:red url(../support/cat.png) left top;"></div>
  </div>
  <div class="mc">
    <div style="block-size:350px; background:red url(../support/cat.png) right top;"></div>
  </div>
  <div class="mc">
    <div style="block-size:350px; background:red url(../support/cat.png) left bottom;"></div>
  </div>
  <div class="mc">
    <div style="block-size:350px; background:red url(../support/cat.png) right bottom;"></div>
  </div>
</div>