mirror of
https://github.com/Mintplex-Labs/nut.js.git
synced 2026-07-16 09:34:33 -04:00
49f146494e
* (#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
20 lines
515 B
HTML
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>
|