1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/editor/reftests/674212-spellcheck-ref.html Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,20 @@ 1.4 +<!DOCTYPE html> 1.5 +<html lang="en-US" class="reftest-wait"> 1.6 +<head> 1.7 + <script type="text/javascript"> 1.8 + function init() { 1.9 + var editor = document.querySelector("div[contenteditable]"); 1.10 + editor.addEventListener("focus", function() { 1.11 + setTimeout(function() { 1.12 + document.documentElement.className = ""; 1.13 + }, 0); 1.14 + }, false); 1.15 + editor.focus(); 1.16 + } 1.17 + </script> 1.18 +</head> 1.19 +<body onload="init()"> 1.20 + <div contenteditable spellcheck>This is another misspellored word.</div> 1.21 +</body> 1.22 +</html> 1.23 +