Using 100% on canvas without 100% height on body

Using 100% on canvas without 100% height on body fails

by Gregg Tavares

HTML

<html>
<body>
<canvas id='canvas' style='width: 100%; height: 100%; background: red;'> </canvas>
</body>
</html>