summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-break/background-image-002.html
blob: 50bf40f8b23138b1e8b6b9925f3d646e36d522e7 (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-002-ref.html">
<style>
  .container {
    writing-mode: vertical-lr;
    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>