Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / editing / deleting / delete-across-editable-content-boundaries-1.html
blob5f2ef18bcbad80dd4e09cccf0370035e71dbccb9
1 <!DOCTYPE html>
2 <html>
3 <body>
4 <p id="description">This tests the deletion of non-editable content that both starts and ends in editable roots - it should successfully be removed. There should be no visible content in the markup below. &lt;radr://problem/5026848&gt;</p>
5 <div id="div" contenteditable="true">foo <span style="color: red;" contenteditable="false">bar</span> baz</div>
7 <script src="../../resources/dump-as-markup.js"></script>
8 <script>
9 var div = document.getElementById("div");
10 div.focus();
11 document.execCommand("SelectAll");
12 document.execCommand("Delete");
13 Markup.description(description.textContent);
14 Markup.dump("div");
15 </script>
17 </body>
18 </html>