Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(103)

Side by Side Diff: content/test/data/accessibility/hit_testing/hit_testing.html

Issue 2393123002: Implement caching asynchronous accessibility hit testing. (Closed)
Patch Set: Made test more robust Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « content/test/data/accessibility/hit_testing/button_scrolled.html ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <style>
5 body {
6 overflow: hidden;
7 }
8 iframe {
9 border: 0;
10 margin: 0;
11 padding: 0;
12 overflow: hidden;
13 }
14 div {
15 width: 300px;
16 height: 150px;
17 }
18 .curtain {
19 position: fixed;
20 left: 0px;
21 top: 0px;
22 right: 0px;
23 bottom: 0px;
24 width: 100%;
25 height: 100%;
26 z-index: -1;
27 background-color: #eef;
28 }
29 </style>
30 </head>
31 <body style="margin: 0; padding: 0;">
32
33 <!-- Confound naive hit testing by appearing to cover the whole screen,
34 while actually having a negative z-index. -->
35 <div role="group" class="curtain">
36 <div role="group" class="curtain">
37 </div>
38 </div>
39
40 <div>
41 <button style="margin: 25px; border: 0; width: 250px; height: 50px">
42 Button
43 </button>
44 </div>
45
46 <div>
47 <button style="margin: 25px; border: 0; width: 250px; height: 50px">
48 Button
49 </button>
50 </div>
51
52 <div>
53 <iframe id="frame1" style="width: 300px; height: 100px;"
54 scrolling="no" src="button.html"></iframe>
55 </div>
56
57 <div>
58 <iframe id="frame2" style="width: 150px; height: 50px;"
59 scrolling="no" src="button_scrolled.html"></iframe>
60 </div>
61
62 <!-- Confound naive hit testing by appearing to cover the whole screen -->
63 <div role="group" class="curtain">
64 <div role="group" class="curtain">
65 </div>
66 </div>
67
68 </body>
69 </html>
OLDNEW
« no previous file with comments | « content/test/data/accessibility/hit_testing/button_scrolled.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698