Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / editing / deleting / delete-before-block-table.html
blobb7afe73a3ab3c78dfa64f5815d27082037f872bb
1 <head>
2 <script>
3 function runTest() {
4 if (window.testRunner)
5 window.testRunner.dumpAsText();
6 table = document.getElementById("table");
7 s = window.getSelection();
8 s.collapse(table, 0);
9 document.execCommand("Delete");
10 if (window.testRunner)
11 document.body.innerText = document.getElementById("div").innerHTML + "\n\nSelection: [" + s.anchorNode + ", " + s.anchorOffset + "]";
13 </script>
14 </head>
15 <body onLoad="runTest();">
16 <div>This is a test for <a href="https://bugs.webkit.org/show_bug.cgi?id=25439">https://bugs.webkit.org/show_bug.cgi?id=25439</a>.</div>
17 <div id="div" contentEditable="true">This tests placing the caret just before a block table and pressing delete. The caret should just move back to the previous paragraph.<table border="1" id="table"><tr><td>1</td><td>2</td></tr></table></div>
18 </body>