Text caret changes to color of text in Mail and Notes
[WebKit-https.git] / LayoutTests / editing / caret / color-span-inside-editable.html
1 This test makes sure that carets in content editable divs remain black even if there is a span inside them with a foreground color specified.
2 <div style="width: 505px; height: 505px; overflow: hidden;">
3 <div id="edit" contenteditable="true" style="-webkit-transform-origin: left top; -webkit-transform: scale(50, 50); outline: none; font-family: Ahem; font-size: 10px;"><span id="spn" style="color: red;">&nbsp;&nbsp;</span></div>
4 </div>
5 <script>
6 var edit = document.getElementById("edit");
7 edit.focus();
8 </script>