~ubuntu-branches/ubuntu/raring/qtwebkit-source/raring-proposed

« back to all changes in this revision

Viewing changes to Source/WebKit/chromium/tests/data/content_listeners.html

  • Committer: Package Import Robot
  • Author(s): Jonathan Riddell
  • Date: 2013-02-18 14:24:18 UTC
  • Revision ID: package-import@ubuntu.com-20130218142418-eon0jmjg3nj438uy
Tags: upstream-2.3
ImportĀ upstreamĀ versionĀ 2.3

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<!DOCTYPE html>
 
2
<html>
 
3
<head>
 
4
<style>
 
5
span {
 
6
    font-size: 300%;
 
7
}
 
8
</style>
 
9
<script>
 
10
function listener() {
 
11
}
 
12
</script>
 
13
</head>
 
14
<body onclick="listener()">
 
15
<span id="clickListener" onclick="listener()">
 
16
This has a click listener.
 
17
</span></br>
 
18
<span id="touchstartListener" ontouchstart="listener()">
 
19
This has a touchstart listener.
 
20
</span></br>
 
21
<span id="mousedownListener" onmousedown="listener()">
 
22
This has a mousedown listener.
 
23
</span></br>
 
24
<span id="noListener">
 
25
This has no specific listener (the body listener should be ignored).
 
26
</span></br>
 
27
<a href="http://www.test.com/" id="link">
 
28
This has no specific listener, but it's a link.
 
29
</a></br>
 
30
</body>
 
31
</html>