<div contenteditable="true" id="test3">
This line starts out with <a href="http://www.apple.com"><b>a</b></a><a href="http://www.google.com"><span id="starthere">^ link</span> in the middle. The second half of this paragraph, starting|</a> after the bold "a" should end up being a link to google.com.
</div>
createLink falls into infinite loop with following HTML fragment in LayoutTests/editing/execCommand/createLink.html