- Save this to HTML file:
Code: Select all
<!DOCTYPE html> <html> <head> <meta charset="UTF-8"/> <title>full screen canvas test</title> <style type="text/css"> div{ position:absolute; top:0; left:0; bottom:0; right:0; } html,body,div,canvas{ margin:0; padding:0; } body{ overflow:hidden; } </style> </head> <body> <div> <canvas></canvas> </div> <script type="text/javascript"> var canv=document.getElementsByTagName("canvas")[0]; var context=canv.getContext("2d"); window.onresize=function(){ canv.width=window.innerWidth; canv.height=window.innerHeight; context.fillStyle="rgb("+100*Math.random()+"%,"+100*Math.random()+"%,"+100*Math.random()+"%)"; context.fillRect(0,0,canv.width,canv.height); }; window.onresize(); </script> </body> </html>
- Open HTML file with Pale Moon or SeaMonkey.
- Press down arrow key on keyboard.
- Look at bottom of the page (there is white space).
Scrolling happens in Pale Moon, SeaMonkey.
Discovered while playing Woomy-Arras.io.