<html><head>
<title>caret should be visible on stack context contents</title>
</head><body>
<div id="d" style="width: 100px; height: 100px; background: none repeat scroll 0% 0% cyan;" contenteditable=""></div>
<script>
document.getElementById("d").focus();
</script>
</body></html>