Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / Source / web / tests / data / hit-test.html
blobea3254c91378d60c3b26a34f480ee3fd4a41ce33
1 <!DOCTYPE html>
2 <html>
4 <head>
5 <style>
6 body {
7 margin: 0px;
9 #content {
10 width: 1000px;
11 height: 2000px;
12 background: silver;
13 margin: 0px;
15 ::-webkit-scrollbar {
16 width: 0px;
17 height: 0px;
20 #target1 {
21 width: 100px;
22 height: 100px;
23 background: red;
24 position: absolute;
25 top: 1100px;
26 left: 250px;
29 #target2 {
30 width: 100px;
31 height: 100px;
32 background: blue;
33 position: absolute;
34 top: 1100px;
35 left: 750px;
38 #target3 {
39 width: 100px;
40 height: 100px;
41 background: green;
42 position: absolute;
43 top: 1400px;
44 left: 250px;
47 #target4 {
48 width: 100px;
49 height: 100px;
50 background: orange;
51 position: absolute;
52 top: 1400px;
53 left: 750px;
55 </style>
56 </head>
58 <body>
59 <div id="content">
60 This page is 1000x2000 pixels.
61 <button type="submit" id="target1" name="button1" value="foo">Target1</button>
62 <button type="submit" id="target2" name="button2" value="foo">Target2</button>
63 <button type="submit" id="target3" name="button3" value="foo">Target3</button>
64 <button type="submit" id="target4" name="button4" value="foo">Target4</button>
65 </div>
66 </body>
68 </html>