Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / editing / selection / click-start-of-line.html
blob5e9f1af6436f7b95dea705ad0113f0447f40a905
1 <html>
2 <head>
3 <script>
4 if (window.testRunner)
5 testRunner.dumpEditingCallbacks();
6 </script>
9 <script>
11 function editingTest() {
12 var target = document.getElementById("test");
14 x = target.offsetLeft + 10;
15 y = target.offsetTop + target.offsetHeight - 10;
17 eventSender.mouseMoveTo(x, y);
18 eventSender.mouseDown();
19 eventSender.mouseUp();
22 </script>
23 </head>
24 <body>
25 <p>
26 This is a test for <i><a href="https://bugs.webkit.org/show_bug.cgi?id=9978">http://bugzilla.opendarwin.org/show_bug.cgi?id=9978</a>
27 REGRESSION (r12949-r12988): Clicking the first letter on a line places the caret at the end of the previous line</i>.
28 </p>
29 <p>
30 To test interactively, click the left side of the W on the second line. The caret should be
31 move to the start of that line.
32 </p>
33 <hr>
34 <div contenteditable id="test" style="font-size: 48; width: 250px;">
35 Alice in Wonderland
36 </div>
37 <script>
38 editingTest();
39 </script>
40 </html>