-
Notifications
You must be signed in to change notification settings - Fork 40
/
touchAdjustment.html
54 lines (46 loc) · 1.15 KB
/
touchAdjustment.html
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
47
48
49
50
51
52
53
<!DOCTYPE=HTML>
<html>
<meta name=viewport content='width=device-width,minimum-scale=1'>
<title>Touch adjustment demo</title>
<style>
.adjustmentCandidate {
background-color: rgba(255,0,0,0.1);
}
#container {
display: inline-block;
position: relative;
}
#touchAdjustmentLog {
white-space: pre;
}
#content
{
padding: 10px;
}
#hover:hover
{
color: red;
}
#frame
{
width: 50px;
height: 50px;
border: 1px solid black;
}
</style>
<body id="body">
<h1>Touch adjustment</h1>
<div id="container">
<div id="content">
Here is some text <a href='#' id='link'>with a link</a><br>
And here is a superscript<sup><a href='#' id='superscript'>[1]</a></sup><br>
<span id='hover'>This text</span> has a hover effect<br>
Here's some text <span id='tabindex' tabindex=0>with a tabindex</span><br>
<iframe id="frame"></iframe>This is an iframe<br>
<span id='mousehandler' onmousedown='console.log("mousedown")'>This line has a mousedown event handler</span><br>
</div>
</div>
<div id="touchAdjustmentLog"></div>
<script src="touchAdjustmentOverlay.js"></script>
</body>
</html>