blob: 475ada3a3c46b9ded5cf50b86fe98ce5d9b3e508 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
|
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<link rel="stylesheet" type="text/css" href="./serp.css" />
</head>
<body>
<section id="top">
<div style="display: flex; gap: 20px;">
<div>
<h5 test-label="true">ad_link</h5>
<!-- The parent size exceeds the window height but the first ad link is above the fold. -->
<div class="moz_ad" style="padding-bottom: 2000px;">
<a href="https://example.com/ad">Ad Link</a>
</div>
</div>
<div>
<h5 test-label="true" >ad_link</h5>
<a href="https://example.com/ad">Ad Link</a>
</div>
<!-- The ad links are below the fold but the test will scroll to it before the impression is recorded. -->
<div>
<h5 test-label="true">ad_link</h5>
<div id="second-ad" class="moz_ad" style="padding-top: 2000px;">
<a href="https://example.com/ad">Ad Link</a>
</div>
</div>
<div>
<h5 test-label="true" style="margin-bottom: 2000px;">ad_link</h5>
<a href="https://example.com/ad">Ad Link</a>
</div>
<!-- The ad links are below the fold and shouldn't be viewed in the test. -->
<div>
<h5 test-label="true">ad_link</h5>
<div class="moz_ad" style="padding-top: 4000px;">
<a href="https://example.com/ad">Ad Link</a>
</div>
</div>
<div>
<h5 test-label="true" style="margin-bottom: 4000px;">ad_link</h5>
<a href="https://example.com/ad">Ad Link</a>
</div>
</div>
</section>
</body>
</html>
|