Source code
Revision control
Copy as Markdown
Other Tools
Test Info:
- This WPT test may be referenced by the following Test IDs:
- /css/css-overflow/overflow-canvas.html - WPT Dashboard Interop Dashboard
<!doctype html>
<meta charset="utf-8">
<title>Verifies overflow applies to canvas elements</title>
<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>