summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-break/transform-011.html
blob: 58008e509ead3be32d8a4f14149dec44b6e47306 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
<!DOCTYPE html>
<link rel="author" title="Morten Stenshorne" href="mailto:mstensho@chromium.org">
<link rel="help" href="https://bugs.chromium.org/p/chromium/issues/detail?id=1442522">
<div id="container" style="overflow:auto; width:100px; height:100px;">
  <div style="columns:5; gap:0; column-fill:auto; height:100px;">
    <div style="transform:rotate(180deg); height:500px;"></div>
  </div>
</div>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script>
  test(()=> {
    assert_equals(container.scrollHeight, 100);
    assert_equals(container.scrollWidth, 100);
  }, "Rotating 180 degrees with transform origin at the center");
</script>