Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / editing / deleting / delete-br-in-last-table-cell.html
blob518e47f01b6fff6ff5fab55c65845a046cdd4062
1 <html>
2 <head>
3 <script src=../../resources/dump-as-markup.js language="JavaScript" type="text/JavaScript" ></script>
4 <script src=../editing.js language="JavaScript" type="text/JavaScript" ></script>
5 <script>
6 function runTest()
8 br = document.getElementById("lastBR");
9 sel = window.getSelection();
10 sel.setBaseAndExtent(br, 0, br, 0);
11 deleteCommand();
13 </script>
14 </head>
16 <body>
17 <p><a href="https://bugs.webkit.org/show_bug.cgi?id=35369">Bug 35369</a> and <a href="https://bugs.webkit.org/show_bug.cgi?id=35632">Bug 35632</a></p>
18 <p>Executing a delete command when positioned before a BR in a table cell (esp. the last)</p>
19 <div contenteditable>
20 <table id="table"><tr><td>1</td><td>2</td></tr><tr><td>3</td><td>4<br><br id="lastBR"></td></tr></table>
21 </div>
22 <script>
23 runTest();
24 </script>
25 </body>
26 </html>