no bug - Import translations from android-l10n r=release a=l10n CLOSED TREE
[gecko.git] / editor / reftests / 824080-3.html
blobb9882e5bb66409cc6cb9116950e2ca4c318ea9c0
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <script type="text/javascript">
5 function doTest()
7 document.getSelection().selectAllChildren(document.getElementById("text"));
8 var editor = document.getElementById("editor");
9 var editorBody = editor.contentDocument.body;
10 editor.contentDocument.getSelection().selectAllChildren(editorBody);
11 editor.focus();
13 </script>
14 </head>
15 <body>
16 <p id="text">normal text</p>
17 <iframe id="editor" onload="doTest();"
18 src="data:text/html,<script>document.designMode='on';</script><body>editable text</body>"></iframe>
19 </body>
20 </html>