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

Side by Side Diff: content/test/data/android/input/input_forms.html

Issue 2290133002: Make WebView keep keyboard when losing focus (Closed)
Patch Set: rebase Created 4 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
« no previous file with comments | « content/public/android/javatests/src/org/chromium/content/browser/input/ImeTest.java ('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
1 <html> 1 <html>
2 <head> 2 <head>
3 <meta name="viewport" content="width=device-width" /> 3 <meta name="viewport" content="width=device-width" />
4 </head> 4 </head>
5 <body> 5 <body>
6 <form action="about:blank"> 6 <form action="about:blank">
7 <input id="input_text" type="text" size="10"/> 7 <input id="input_text" type="text" size="10"/>
8 <br/> 8 <br/>
9 </form> 9 </form>
10 <form> 10 <form>
11 <br/> 11 <br/>
12 <input id="input_radio" type="radio" style="width:50px;height:50px" /> 12 <input id="input_radio" type="radio" style="width:50px;height:50px" />
13 <br/> 13 <br/>
14 <textarea id="textarea" rows="4" cols="20"></textarea> 14 <textarea id="textarea" rows="4" cols="20"></textarea>
15 <br/> 15 <br/>
16 <textarea id="textarea2" rows="4" cols="20" autocomplete="off"></textarea> 16 <textarea id="textarea2" rows="4" cols="20" autocomplete="off"></textarea>
17 <br/> 17 <br/>
18 <input id="input_number1" type="number" /><br/> 18 <input id="input_number1" type="number" /><br/>
19 <input id="input_number2" type="number" /><br/> 19 <input id="input_number2" type="number" /><br/>
20 <span id="plain_text">This is Plain Text One</span> 20 <span id="plain_text">This is Plain Text One</span>
21 </form> 21 </form>
22 22
23 <!-- We may trigger different sets of events for CONTENTEDITABLE and INPUT / TEXTAREA --> 23 <!-- We may trigger different sets of events for CONTENTEDITABLE and INPUT / TEXTAREA -->
24 <div id="contenteditable_event" contenteditable><b>ab</b>cd<i>ef<b>gh</b></i ></div> 24 <div id="contenteditable_event" contenteditable><b>ab</b>cd<i>ef<b>gh</b></i ></div>
25 <a id="link" href="about:blank">hello</a>
25 26
26 <script> 27 <script>
27 var log = ""; 28 var log = "";
28 var mutationObserver = new MutationObserver(function(mutations) { 29 var mutationObserver = new MutationObserver(function(mutations) {
29 mutations.forEach(function(mutation) { 30 mutations.forEach(function(mutation) {
30 addEventLog(mutation.type, mutation.detail); 31 addEventLog(mutation.type, mutation.detail);
31 }); 32 });
32 }) 33 })
33 34
34 var mutationConfig = { attributes: false, childList: false, characterData: true }; 35 var mutationConfig = { attributes: false, childList: false, characterData: true };
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
85 86
86 // SelectionEventListener should be outside registerListenersAndObserver() to av oid duplication. 87 // SelectionEventListener should be outside registerListenersAndObserver() to av oid duplication.
87 addSelectionEventListener("selectionchange"); 88 addSelectionEventListener("selectionchange");
88 89
89 registerListenersAndObserver(inputText); 90 registerListenersAndObserver(inputText);
90 registerListenersAndObserver(contenteditableEvent); 91 registerListenersAndObserver(contenteditableEvent);
91 </script> 92 </script>
92 93
93 </body> 94 </body>
94 </html> 95 </html>
OLDNEW
« no previous file with comments | « content/public/android/javatests/src/org/chromium/content/browser/input/ImeTest.java ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698