summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-break/overflowing-block-003-ref.html
blob: a8f86d1cfe4af41a575f22a9896bb8233a964858 (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
<!DOCTYPE html>
<meta charset="utf-8">
<link rel="author" title="Ting-Yu Lin" href="mailto:tlin@mozilla.com">
<link rel="author" title="Mozilla" href="https://www.mozilla.org/">

<style>
.multicol {
  width: 150px;
  height: 50px;
  columns: 2;
  column-gap: 0;
  column-fill: auto;
  border: 3px solid black;
  margin: 10px;
}
.outer {
  width: 50px;
  height: 100px;
  background: green;
}
</style>

<p>This test passes if there are two 50x50 green squares in each black box.</p>

<div class="multicol">
  <div class="outer"></div>
</div>

<div class="multicol">
  <div class="outer"></div>
</div>