summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-overflow/overflow-canvas.html
blob: e9529cb0bc81202c5689a507435ea088028a97fc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
<!doctype html>
<meta charset="utf-8">
<title>Verifies overflow applies to canvas elements</title>
<link rel="help" href="https://drafts.csswg.org/css-overflow/#propdef-overflow">
<link rel="author" title="Khushal Sagar" href="mailto:khushalsagar@chromium.org">
<link rel="match" href="overflow-canvas-ref.html">
<script src="../css-images/support/testHelper.js"></script>
<style>
  .default {
    width: 25px;
    height: 50px;
    object-fit: none;
    object-position: 0% 0%;
    overflow: visible;
  }
</style>
<body>
<canvas class=default></canvas>
</body>
<script>
  paintCanvases();
</script>