summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Drake <michael.drake@codethink.co.uk>2020-05-23 13:33:15 +0100
committerMichael Drake <michael.drake@codethink.co.uk>2020-05-23 13:33:15 +0100
commitac8458e3f208cb0da63c7b9a07f3998fb49b3add (patch)
tree7a4b0df67adedca639520bd3d18d9d3385bc5277
parent291a5ec79dec5ccefe4a10fd54c937d36b25a42a (diff)
downloadnetsurf-ac8458e3f208cb0da63c7b9a07f3998fb49b3add.tar.gz
netsurf-ac8458e3f208cb0da63c7b9a07f3998fb49b3add.tar.bz2
Tests: NetSurf style for game of life test.
-rw-r--r--test/js/life.html23
1 files changed, 13 insertions, 10 deletions
diff --git a/test/js/life.html b/test/js/life.html
index d0841c08d..caa6a1faa 100644
--- a/test/js/life.html
+++ b/test/js/life.html
@@ -2,6 +2,7 @@
<head>
<meta charset="UTF-8" />
<title>Conway's Game of Life</title>
+ <link rel="stylesheet" type="text/css" href="resource:internal.css">
<style>
canvas#surface {
width: 50vmin;
@@ -10,16 +11,18 @@
}
</style>
</head>
- <body>
- <h1>Conway's Game of Life</h1>
- <div><input id="running" type="checkbox" /> Run</div>
- <div>
- <canvas id="surface" width="50" height="50">
- Sorry, you can't play Game of Life if JavaScript is turned off
- </canvas>
- </div>
- <div>
- <button id="random">Randomise</button>
+ <body class="ns-even-bg ns-even-fg ns-border">
+ <h1 class="ns-border">Conway's Game of Life</h1>
+ <div style="margin: 1em;">
+ <div><input id="running" type="checkbox" /> Run</div>
+ <div>
+ <canvas id="surface" width="50" height="50">
+ Sorry, you can't play Game of Life if JavaScript is turned off
+ </canvas>
+ </div>
+ <div>
+ <button id="random">Randomise</button>
+ </div>
</div>
</body>
<script>