Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / editing / selection / inline-closest-leaf-child.html
blobd31bcbbe42c9fd30ee3eb0a303c1310c44894a53
1 <p>
2 Test for <i><a href="http://bugs.webkit.org/show_bug.cgi?id=14911">http://bugs.webkit.org/show_bug.cgi?id=14911</a>
3 REGRESSION: Clicking in pasted text doesn't position the insertion point correctly</i>.
4 </p>
5 <p>
6 You should be able to select individual letters in &ldquo;ipsum&rdquo; by dragging in the yellow
7 area <em>above</em> them.
8 </p>
9 <div id="target" style="float: left; background: #ffa; line-height: 5;">
10 <span style="background: white;">Lorem <!-- comment --> ipsum</span>
11 </div>
12 <script>
13 if (window.eventSender) {
14 var target = document.getElementById("target");
15 var startX = document.body.offsetLeft + target.offsetLeft + target.offsetWidth - 15;
16 var endX = document.body.offsetLeft + target.offsetLeft + 15;
17 var y = document.body.offsetTop + target.offsetTop + 5;
19 eventSender.mouseMoveTo(startX, y);
20 eventSender.mouseDown();
21 eventSender.mouseMoveTo(startX - 1, y);
22 eventSender.mouseMoveTo(endX, y);
23 eventSender.mouseUp();
25 </script>