Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / editing / deleting / delete-table-cell-contents.html
blobd0825ea0f35d8b17ebc932c1dd3694a1357c0977
1 <!DOCTYPE html>
2 <html>
3 <body>
4 <p id="description">This tests for a crash when deleting the contents of a table cell. Below, you should only see one link, 'Cached', pointing to 'fakelink.html', inside of a table. <a href="radr://problem/5156801">&lt;radr://problem/5156801&gt;</a></p>
5 <div id="test" contenteditable="true"><table id="table" border=0 cellpadding=0 cellspacing=0><tr><td><br><a href="fakelink.html">Cached</a><a href=""fakelink.html">Similar</a></td></tr></table>
6 </div>
7 <script src="../../resources/dump-as-markup.js"></script>
8 <script>
9 s = window.getSelection();
10 table = document.getElementById("table");
11 s.collapse(table, table.childNodes.length);
12 s.modify("move", "backward", "character");
13 document.execCommand("Delete");
14 document.execCommand("Delete");
15 document.execCommand("Delete");
16 document.execCommand("Delete");
17 document.execCommand("Delete");
18 document.execCommand("Delete");
19 document.execCommand("Delete");
20 Markup.description(description.textContent);
21 Markup.dump("test");
22 </script>
23 </body>
24 </html>