Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / editing / selection / replaced-boundaries-2.html
blob63e0417e4ada19580a2d6c12e9dd56dedf93a10b
1 <html>
2 <head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
3 <script src=../editing.js language="JavaScript" type="text/JavaScript" ></script>
4 <script>
5 function editingTest() {
6 if (window.testRunner)
7 window.testRunner.dumpSelectionRect();
8 selectAllCommand();
9 moveSelectionBackwardByCharacterCommand();
10 extendSelectionForwardByCharacterCommand();
11 extendSelectionForwardByCharacterCommand();
12 extendSelectionForwardByCharacterCommand();
14 </script>
15 </head>
16 <body>
17 <p>This tests that when a selection that ends at [replaced element, 0] is painted, the replaced element doesn't appear selected. This test uses an image for the replaced element.</p>
18 <div id="test" contenteditable>
19 abc<img src="../resources/abe.png">def
20 </div>
21 <script>runEditingTest()</script>
22 </body>
24 </html>