summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-overflow/scrollable-overflow-float.html
blob: f75c0a66cfffdfe9872c6e472966ee3cf639eae6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
<!DOCTYPE html>
<meta name="assert" content="This ensures that floats block-end margin contributes to the scrollable overflow.">
<link rel="help" href="https://drafts.csswg.org/css-overflow-3/#scrollable" />
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="/resources/check-layout-th.js"></script>
<body onload="checkLayout('#target')">
  <div id="target" style="width: 100px; height: 100px; overflow: scroll;" data-expected-scroll-height="220">
    <div style="float: left; width: 50px; height: 200px; margin: 10px; background: lime;"></div>
  </div>
  <div id=log></div>
</body>