chromium/third_party/blink/web_tests/external/wpt/html/canvas/element/manual/the-canvas-state/2d.zero.size.canvas.html

<html>
<head>
</head>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<canvas id="canvas" width="0" height="0"></canvas>
<body>
<script>
test(function() {
    var context = document.getElementById("canvas").getContext("2d");
    context.fillStyle = "green";
}, 'This test ensures that accessing the context of a zero sized canvas does not crash.');
</script>
</body>
</html>