Mercurial Hosting > freedit
view src/tools/dimensions.html @ 19:da006d1c1eba
use contentEditable
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Wed, 13 Jul 2022 08:47:13 -0600 |
parents | 2f20b11affdd |
children |
line wrap: on
line source
<!doctype html> <html> <head> <meta name="viewport" content="width=device-width, initial-scale=1"> <script> function p() { document.body.innerText = '' + window.innerWidth + 'px innerWidth\n' + window.innerHeight + 'px innerHeight\n' + '\n' + window.outerWidth + 'px outerWidth\n' + window.outerHeight + 'px outerHeight\n' ; } </script> </head> <body onload="p()" onresize="p()"> </body> </html>