no bug - Import translations from android-l10n r=release a=l10n CLOSED TREE
[gecko.git] / layout / base / tests / bug1634543-1.html
blob039d93df6496083181a4b8f0913a769b86509659
1 <!doctype html>
2 <html class="reftest-wait">
3 <title>Caret is correctly position for block whose only child is an abspos pseudo</title>
4 <script src="/tests/SimpleTest/SimpleTest.js"></script>
5 <style>
6 div:focus {
7 outline: 3px solid blue;
9 div::before {
10 content: "";
11 /* This is the point of the test */
12 position: absolute;
14 </style>
15 <div contenteditable="true" spellcheck="false"></div>
16 <script>
17 SimpleTest.waitForFocus(function() {
18 document.querySelector('[contenteditable="true"]').focus();
19 requestAnimationFrame(function() {
20 requestAnimationFrame(function() {
21 document.documentElement.removeAttribute("class");
22 });
23 });
24 });
25 </script>