2 <meta http-equiv="content-type" content="text/html; charset=UTF-8">
5 if (window.testRunner) {
6 testRunner.dumpAsText();
11 var para = document.getElementById("para");
12 window.getSelection().collapse(para.childNodes.item(1).childNodes.item(0), 15);
13 eventSender.keyDown("rightArrow");
14 eventSender.keyDown("rightArrow");
16 document.getElementById("result").innerText = getSelection().baseOffset == 17 ? "PASS" : "FAIL";
21 </head><body onLoad="runTest();">
22 <p id="para" style="-webkit-user-modify: read-write; width: 250px; height: 100px; border: 1px solid blue;">This is a test of <a href="https://bug-25676-attachments.webkit.org/foo.html">links which span multiple lines</a> for various and sundry reasons.</p>