Skip to content

Commit 9d80e7d

Browse files
authored
Fix canvas is not a self closing tag. (#2408)
Co-authored-by: ltzz <[email protected]>
1 parent b79f5b2 commit 9d80e7d

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

examples/canvas/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,6 @@
33
<meta content="text/html;charset=utf-8" http-equiv="Content-Type"/>
44
</head>
55
<body>
6-
<canvas id="canvas" height="150" width="150" />
6+
<canvas id="canvas" height="150" width="150"></canvas>
77
</body>
88
</html>

examples/duck-typed-interfaces/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<meta content="text/html;charset=utf-8" http-equiv="Content-Type"/>
44
</head>
55
<body>
6-
<canvas id="canvas" height="150" width="150" />
6+
<canvas id="canvas" height="150" width="150"></canvas>
77
<script src='./index.js'></script>
88
</body>
99
</html>

examples/webgl/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,6 @@
33
<meta content="text/html;charset=utf-8" http-equiv="Content-Type"/>
44
</head>
55
<body>
6-
<canvas id="canvas" height="150" width="150" />
6+
<canvas id="canvas" height="150" width="150"></canvas>
77
</body>
88
</html>

examples/webxr/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,6 @@
33
<meta content="text/html;charset=utf-8" http-equiv="Content-Type"/>
44
</head>
55
<body>
6-
<canvas id="canvas" height="150" width="150" />
6+
<canvas id="canvas" height="150" width="150"></canvas>
77
</body>
88
</html>

0 commit comments

Comments
 (0)