1
0
Fork 0
mirror of https://github.com/kkapsner/CanvasBlocker synced 2025-07-03 12:06:31 +02:00

Improved test pages

For #390
This commit is contained in:
kkapsner 2019-09-04 00:30:20 +02:00
parent acc171041d
commit 14b4bd8ac6
10 changed files with 87 additions and 32 deletions

View file

@ -44,10 +44,17 @@
</head>
<body>
<h1>DOMRect test</h1>
<h2>Expected result</h2>
<ul>
<li>all the hashes and numbers should be equal for each test</li>
<li>if "refresh" is clicked the hash must not change</li>
<li>upon page reload the hashes chang</li>
</ul>
<h2>Tests</h2>
<iframe id="iframe" src="domRectIFrame.html"></iframe>
<div id="tests">
<div class="test">
<h2 class="title"></h2>
<h3 class="title"></h3>
Hash: <span class="hash"></span><br>
Data: <span class="data"></span><br>
<button class="refresh">refresh</button>