| 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/> |   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       <br/> | 
|   20       <span id="plain_text">This is Plain Text One</span> |   21       <span id="plain_text">This is Plain Text One</span> | 
|   21     </form> |   22     </form> | 
|   22  |   23  | 
|   23     <!-- We may trigger different sets of events for CONTENTEDITABLE and INPUT /
      TEXTAREA --> |   24     <!-- 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> |   25     <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> |   26     <a id="link" href="about:blank">hello</a> | 
|   26  |   27  | 
|   27     <script> |   28     <script> | 
|   28 var selectionChangeEventLog = ""; |   29 var selectionChangeEventLog = ""; | 
|   29 var otherEventLog = ""; |   30 var otherEventLog = ""; | 
| (...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  103  |  104  | 
|  104 // SelectionEventListener should be outside registerListenersAndObserver() to av
     oid duplication. |  105 // SelectionEventListener should be outside registerListenersAndObserver() to av
     oid duplication. | 
|  105 addSelectionEventListener("selectionchange"); |  106 addSelectionEventListener("selectionchange"); | 
|  106  |  107  | 
|  107 registerListenersAndObserver(inputText); |  108 registerListenersAndObserver(inputText); | 
|  108 registerListenersAndObserver(contenteditableEvent); |  109 registerListenersAndObserver(contenteditableEvent); | 
|  109     </script> |  110     </script> | 
|  110  |  111  | 
|  111   </body> |  112   </body> | 
|  112 </html> |  113 </html> | 
| OLD | NEW |