summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-multicol/multicol-scroll-content.html
blob: 9fdaf1a8806ee534e7814be1aa6261ae2f3d2c84 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
<!DOCTYPE html>
<title>CSS Test: Multi-column element with scrolled content</title>
<link rel="help" href="http://www.w3.org/TR/css3-multicol/#columns"/>
<link rel="match" href="multicol-scroll-content-ref.html"/>
<div style="columns: 2; width: 200px; height: 100px; column-gap: 0">
  <div style="overflow: scroll; height: 150px; background: red">
    <div style="width: 400px; height: 400px; background: green; position: relative"></div>
  </div>
</div>
<div style="columns: 2; width: 200px; height: 100px; column-gap: 0">
  <div style="height: 100px"></div>
  <div style="overflow: scroll; height: 150px; background: red">
    <div style="width: 400px; height: 400px; background: green; position: relative"></div>
  </div>
</div>