Chromium Code Reviews| OLD | NEW |
|---|---|
| 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/> | |
| 12 <input id="input_radio" type="radio" style="width:50px;height:50px" /> | |
| 13 <br/> | |
| 14 <textarea id="textarea" rows="4" cols="20"></textarea> | 11 <textarea id="textarea" rows="4" cols="20"></textarea> |
| 15 <br/> | 12 <br/> |
| 16 <textarea id="textarea2" rows="4" cols="20" autocomplete="off"></textarea> | 13 <textarea id="textarea2" rows="4" cols="20" autocomplete="off"></textarea> |
| 17 <br/> | 14 <br/> |
| 18 <input id="input_number1" type="number" /><br/> | 15 <input id="input_number1" type="number" /><br/> |
| 19 <input id="input_number2" type="number" /><br/> | 16 <input id="input_number2" type="number" /><br/> |
| 20 <br/> | 17 <br/> |
| 21 <span id="plain_text">This is Plain Text One</span> | 18 <span id="plain_text">This is Plain Text One</span><br/> |
| 19 <br/> | |
| 20 <div id="contenteditable1" contenteditable>contenteditable1</div> | |
| 21 <br/> | |
| 22 <input id="search1" type="search" size="10" size="10"/> | |
| 23 <br/> | |
| 24 <input id="input_text1" type="text" size="10" size="10"/><br/> | |
| 25 <input id="input_radio" type="radio" style="width:50px;height:50px" /><br/ > | |
|
Changwan Ryu
2017/06/12 20:47:24
could you explain why and how this fixes the flaki
AKVT
2017/06/13 06:41:49
testSelectActionBarClearedOnTappingOutsideInput()
Changwan Ryu
2017/06/13 15:43:27
I see. In case things don't work out, you can also
| |
| 26 <br/> | |
| 22 </form> | 27 </form> |
| 23 | 28 |
| 24 <!-- We may trigger different sets of events for CONTENTEDITABLE and INPUT / TEXTAREA --> | 29 <!-- We may trigger different sets of events for CONTENTEDITABLE and INPUT / TEXTAREA --> |
| 25 <div id="contenteditable_event" contenteditable><b>ab</b>cd<i>ef<b>gh</b></i ></div> | 30 <div id="contenteditable_event" contenteditable><b>ab</b>cd<i>ef<b>gh</b></i ></div> |
| 26 <a id="link" href="about:blank">hello</a> | 31 <a id="link" href="about:blank">hello</a> |
| 27 | 32 |
| 28 <script> | 33 <script> |
| 29 var selectionChangeEventLog = ""; | 34 var selectionChangeEventLog = ""; |
| 30 var otherEventLog = ""; | 35 var otherEventLog = ""; |
| 31 var mutationObserver = new MutationObserver(function(mutations) { | 36 var mutationObserver = new MutationObserver(function(mutations) { |
| (...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 104 | 109 |
| 105 // SelectionEventListener should be outside registerListenersAndObserver() to av oid duplication. | 110 // SelectionEventListener should be outside registerListenersAndObserver() to av oid duplication. |
| 106 addSelectionEventListener("selectionchange"); | 111 addSelectionEventListener("selectionchange"); |
| 107 | 112 |
| 108 registerListenersAndObserver(inputText); | 113 registerListenersAndObserver(inputText); |
| 109 registerListenersAndObserver(contenteditableEvent); | 114 registerListenersAndObserver(contenteditableEvent); |
| 110 </script> | 115 </script> |
| 111 | 116 |
| 112 </body> | 117 </body> |
| 113 </html> | 118 </html> |
| OLD | NEW |