view src/tools/dimensions.html @ 35:1ce75c5ab0f7

minor
author Franklin Schmidt <fschmidt@gmail.com>
date Wed, 03 Aug 2022 14:13:12 -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>