2 <html class=
"reftest-wait">
3 <title>Caret on editable line with non-editable content and whitespace.
</title>
4 <script src=
"/tests/SimpleTest/EventUtils.js"></script>
5 <script src=
"/tests/SimpleTest/SimpleTest.js"></script>
10 border:
1px solid red;
15 <div contenteditable=
"true"><span contenteditable=
"false">xyz
</span><br>editable
</div>
17 SimpleTest
.waitForFocus(function() {
18 const editable
= document
.querySelector('div[contenteditable="true"]');
20 synthesizeMouse(editable
, 100, 10, {});
23 setTimeout(() => document
.documentElement
.className
= "");