Files
Simon Hofmann 49f146494e Bugfix/559/limit window region to main screen dimensions (#561)
* (#559) Adjust getRegion implementation

It’ll now cut off window regions at the borders of the main screen, avoiding errors due to out of bounds regions

* (#559) Moved window e2e test into dedicated e2e subpackage
2024-02-16 23:41:54 +01:00

20 lines
515 B
HTML

<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8" />
<!-- https://developer.mozilla.org/en-US/docs/Web/HTTP/CSP -->
<meta
http-equiv="Content-Security-Policy"
content="default-src 'self'; script-src 'self'"
/>
<link href="index.css" rel="stylesheet" />
<title>libnut window test</title>
</head>
<body style="width: 100%; height: 100%">
<div id="content">
<button id="exit">Click me!</button>
</div>
<script src="renderer.js"></script>
</body>
</html>