Thu, 15 Jan 2015 21:03:48 +0100
Integrate friendly tips from Tor colleagues to make (or not) 4.5 alpha 3;
This includes removal of overloaded (but unused) methods, and addition of
a overlooked call to DataStruct::SetData(nsISupports, uint32_t, bool.)
1 <!DOCTYPE HTML><html><head>
2 <script type="text/javascript" src="/tests/SimpleTest/EventUtils.js"></script>
3 </head>
4 <body>
5 <span contenteditable id="t" style="border: 1px dashed green; min-height: 2px; padding-right: 20px;"> </span></body>
6 <script>
7 var sel = window.getSelection();
8 sel.removeAllRanges();
10 // Focus the span to put the caret at its beginning.
11 var area = document.getElementById('t');
12 area.focus();
14 // Enter a character in the span then delete it.
15 sendChar("W");
16 sendKey("BACK_SPACE");
17 </script>
18 </body>
19 </html>