aboutsummaryrefslogtreecommitdiff
path: root/test/data/html/test-document2-frame1.html
blob: 3b85cdc53021cde501ad8c97f93279822b818bf9 (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
<!DOCTYPE html>
<html>
    <head>
        <meta charset="UTF-8">
        <meta name="viewport" content="width=device-width,initial-scale=1" />
        <title>Yomichan Tests</title>
        <script src="test-document2-script.js"></script>
        <style>
body {
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 14px;
    padding: 0;
    margin: 0;
    background-color: #f8f8f8;
}
a, a:visited {
    color: #1080c0;
    text-decoration: underline;
}
.content {
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    padding: 0.5em;
    background-color: #f8f8f8;
}
        </style>
    </head>
<body><div class="content">
<div>
    ありがとう
</div>
<div>
    <a href="#" id="fullscreen-link">Toggle fullscreen</a>
    <script>
document.querySelector('#fullscreen-link').addEventListener('click', () => toggleFullscreen(document.body), false);
    </script>
</div>
</div></body>
</html>