<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"> | |
<title>Canvas Incremental Repaint</title> | |
<style type="text/css" media="screen"> | |
canvas { | |
width: 300px; | |
height: 300px; | |
border: 20px solid green; | |
padding: 10px; | |
background-color: green; | |
} | |
</style> | |
</head> | |
<body> | |
<p>Expect a solid green square below this text.</p> | |
<canvas id="canvas1"></canvas> | |
</body> | |
</html> |