mirror of
https://github.com/netsurf-browser/netsurf
synced 2024-11-22 06:21:45 +03:00
Tests: NetSurf style for game of life test.
This commit is contained in:
parent
291a5ec79d
commit
ac8458e3f2
@ -2,6 +2,7 @@
|
|||||||
<head>
|
<head>
|
||||||
<meta charset="UTF-8" />
|
<meta charset="UTF-8" />
|
||||||
<title>Conway's Game of Life</title>
|
<title>Conway's Game of Life</title>
|
||||||
|
<link rel="stylesheet" type="text/css" href="resource:internal.css">
|
||||||
<style>
|
<style>
|
||||||
canvas#surface {
|
canvas#surface {
|
||||||
width: 50vmin;
|
width: 50vmin;
|
||||||
@ -10,16 +11,18 @@
|
|||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body class="ns-even-bg ns-even-fg ns-border">
|
||||||
<h1>Conway's Game of Life</h1>
|
<h1 class="ns-border">Conway's Game of Life</h1>
|
||||||
<div><input id="running" type="checkbox" /> Run</div>
|
<div style="margin: 1em;">
|
||||||
<div>
|
<div><input id="running" type="checkbox" /> Run</div>
|
||||||
<canvas id="surface" width="50" height="50">
|
<div>
|
||||||
Sorry, you can't play Game of Life if JavaScript is turned off
|
<canvas id="surface" width="50" height="50">
|
||||||
</canvas>
|
Sorry, you can't play Game of Life if JavaScript is turned off
|
||||||
</div>
|
</canvas>
|
||||||
<div>
|
</div>
|
||||||
<button id="random">Randomise</button>
|
<div>
|
||||||
|
<button id="random">Randomise</button>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</body>
|
</body>
|
||||||
<script>
|
<script>
|
||||||
|
Loading…
Reference in New Issue
Block a user