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

domRectTest: added svg tests

This commit is contained in:
kkapsner 2020-07-29 14:17:05 +02:00
parent 3eea8fe7c4
commit ff98b9b9af
4 changed files with 37 additions and 7 deletions

View file

@ -11,12 +11,13 @@
<h1>DOMRect test</h1>
<h2>Expected result</h2>
<ul>
<li>all the hashes and numbers should be equal for each test</li>
<li>all the hashes and numbers should be equal for the getClientRects and getBoundingClientRect tests</li>
<li>if "refresh" is clicked the hash must not change</li>
<li>upon page reload the hashes change (depending on CanvasBlocker settings - e.g. not in the stealth preset)</li>
</ul>
<h2>Tests</h2>
<iframe id="iframe" src="domRectIFrame.php"></iframe>
<iframe id="svg" src="domRectSVG.svg"></iframe>
<div id="noIframe"><?php include("domRectElements.part.html");?></div>
<div id="tests">
<div class="test">