Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / editing / selection / 5057506.html
blobdddf5c7be20f2929f906d902822f2a619ee01b94
1 <p>This tests double clicking after the last character in the last cell of a block table. The paragraph break (the space between the last character and the first character in the next paragraph) should be selected. Selection painting problems might prevent the paragraph break from appearing as selected even though it is. To test manually, double click inside the table cell, after the last character, and hit delete. Afterward, the table should contain 'foobar'.</p>
2 <div contenteditable="true">
3 <table border="1"><tr><td width="100px"><span id="span">foo</span></td></tr></table>
4 <div id="end">bar</div>
5 </div>
7 <script>
8 if (window.testRunner) {
9 span = document.getElementById("span");
10 x = span.offsetParent.offsetLeft + span.offsetLeft + span.offsetWidth + 10;
11 y = span.offsetParent.offsetParent.offsetTop + span.offsetParent.offsetTop + span.offsetTop + span.offsetHeight / 2;
12 alert(x);
13 alert(y);
15 eventSender.mouseMoveTo(x, y);
16 eventSender.mouseDown();
17 eventSender.mouseUp();
18 eventSender.mouseDown();
19 eventSender.mouseUp();
21 </script>