1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/layout/base/tests/bug389321-1-ref.html Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,17 @@ 1.4 +<!DOCTYPE HTML><html><head> 1.5 + <script type="text/javascript" src="/tests/SimpleTest/EventUtils.js"></script> 1.6 +</head> 1.7 +<body> 1.8 +<span contenteditable id="t" style="border: 1px dashed green; min-height: 2px; padding-right: 20px;"> </span></body> 1.9 +<script> 1.10 + var sel = window.getSelection(); 1.11 + sel.removeAllRanges(); 1.12 + 1.13 + // Focus the span to put the caret at its beginning. 1.14 + var area = document.getElementById('t'); 1.15 + area.focus(); 1.16 + 1.17 + // Do nothing else. 1.18 +</script> 1.19 +</body> 1.20 +</html>