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 noteditable<span id="x" contenteditable="true" spellcheck="false">navigable|unnavigable</span><br />
6 <script>
7 // Position the caret after "|"
8 var sel = window.getSelection();
9 sel.removeAllRanges();
10 var range = document.createRange();
11 var x = document.getElementById('x');
12 var t = x.firstChild;
13 range.setStart(t, 10);
14 range.setEnd(t, 10);
15 sel.addRange(range);
16 x.focus();
18 sendKey('RIGHT'); // Try to move the caret one position to the right
19 </script>
20 </body>
21 </html>