1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/editor/reftests/338427-2-ref.html Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,18 @@ 1.4 +<!DOCTYPE html> 1.5 +<html class="reftest-wait"> 1.6 +<script> 1.7 +function init() { 1.8 + var editor = document.getElementById('editor'); 1.9 + editor.addEventListener("focus", function() { 1.10 + window.setTimeout(function() { 1.11 + document.documentElement.className = ''; 1.12 + }, 0); 1.13 + }, false); 1.14 + editor.focus(); 1.15 +} 1.16 +</script> 1.17 +<body onload="init()"> 1.18 + <div id="editor" lang="testing-XX" contenteditable="true" spellcheck="false">strangeimpossibleword</div> 1.19 +</body> 1.20 +</html> 1.21 +