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

Side by Side Diff: chrome/test/data/android/contextualsearch/tap_test.html

Issue 1426683005: [Contextual Search] Improve testing & add regressions tests (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 1 month 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
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <html> 2 <html>
3 <head> 3 <head>
4 <meta charset="utf-8"> 4 <meta charset="utf-8">
5 <meta name="viewport" content="width=device-width, user-scalable=no"> 5 <meta name="viewport" content="width=device-width, user-scalable=no">
6 <title>Tap Handled Test</title> 6 <title>Tap Handled Test</title>
7 <style> 7 <style>
8 #static, 8 #static,
9 #editable, 9 #editable,
10 #consumes, 10 #consumes,
11 #ignores { 11 #ignores {
12 border: 1px solid black; 12 border: 1px solid black;
13 height: 30px; 13 height: 30px;
14 } 14 }
15 </style> 15 </style>
16 </head> 16 </head>
17 <body> 17 <body>
18 <span id="static">Static text</span><br> 18 <span id="static">Static text</span><br>
19 <input id="editable" type="text" value="Editable Text"> 19 <input id="editable" type="text" value="Editable Text">
20 <div id="consumes">Consumes clicks</div> 20 <div id="consumes">Consumes clicks</div>
21 <div id="ignores">Ignores clicks</div> 21 <div id="ignores">Ignores clicks</div>
22 <div>United States <span id="intelligence">Intelligence</span></div> 22 <div>United States <span id="intelligence">Intelligence</span></div>
23 <div>United <span id="states">States</span> Intelligence</div> 23 <div>United <span id="states">States</span> Intelligence</div>
24 <div>United <span id="states-near">StatesNear</span> Intelligence</div> 24 <div>United <span id="states-near">StatesNear</span> Intelligence</div>
25 <div><span id="search">Search</span> <span id="term">Term</span> <span id="res olution">Resolution</span></div>
Donn Denman 2015/10/27 19:18:52 Are these spans supposed to be close enough that t
pedro (no code reviews) 2015/10/29 22:05:29 Done.
25 <form action="demo_form.asp"> 26 <form action="demo_form.asp">
26 <label for="male">Male</label> 27 <label for="male">Male</label>
27 <input type="radio" name="sex" id="male" value="male"><br> 28 <input type="radio" name="sex" id="male" value="male"><br>
28 <label for="female">Female</label> 29 <label for="female">Female</label>
29 <input type="radio" name="sex" id="female" value="female"><br> 30 <input type="radio" name="sex" id="female" value="female"><br>
30 <input type="checkbox" name="checkbox" id="checkbox_id" value="value"> 31 <input type="checkbox" name="checkbox" id="checkbox_id" value="value">
31 <label for="checkbox_id">Checkbox</label> 32 <label for="checkbox_id">Checkbox</label>
32 <br> 33 <br>
33 <input id="button" type="button" value="Button"><br> 34 <input id="button" type="button" value="Button"><br>
34 </form> 35 </form>
(...skipping 12 matching lines...) Expand all
47 <div>United States Intelligence</div> 48 <div>United States Intelligence</div>
48 <script> 49 <script>
49 function consume(e) { 50 function consume(e) {
50 console.log('consuming event ' + e.type); 51 console.log('consuming event ' + e.type);
51 e.preventDefault(); 52 e.preventDefault();
52 } 53 }
53 document.getElementById('consumes').addEventListener('mousedown', consume); 54 document.getElementById('consumes').addEventListener('mousedown', consume);
54 </script> 55 </script>
55 </body> 56 </body>
56 </html> 57 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698