1
0
mirror of https://github.com/kkapsner/CanvasBlocker synced 2024-12-23 05:10:27 +01:00
CanvasBlocker/test/screenSizeTest.html

30 lines
1.2 KiB
HTML
Raw Normal View History

2019-11-06 14:29:53 +01:00
<!DOCTYPE html>
<html>
<head>
<title>Screen size test</title>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<link href="testIcon.svg" type="image/png" rel="icon">
<link href="testIcon.svg" type="image/png" rel="shortcut icon">
2020-11-21 13:58:32 +01:00
<link rel="stylesheet" href="../default.css" type="text/css">
<link rel="stylesheet" href="./screenSizeTest.css" type="text/css">
2019-11-06 14:29:53 +01:00
<style type="text/css"></style>
</head>
<body>
<iframe id="iframe"></iframe>
2019-11-06 14:29:53 +01:00
<h1>Screen size test</h1>
<h2>Expected result</h2>
<ul>
<li>all consistency checks return "OK" (except the "reported value" check which might fail for min OR max upon zoom)</li>
<li>all the dimensions are the same (except when "fake minimal screen size" is enabled - then the "css" test shows the original value as this cannot be faked)</li>
<li>values do not change upon reload</li>
<li>upon zoom the values change</li>
<li>if "fake minimal screen size" is enabled resizing the window can change the value</li>
</ul>
<h2>Consistency tests</h2>
<div id="consistency"></div>
<h2>Resolution tests</h2>
<div id="resolution"></div>
<script type="text/javascript" src="screenSizeTest.js"></script>
</body>
</html>