Created attachment 64049 [details] test case See test case. IE/Gecko/Opera don't clobber.
Also, if you call editArea.focus() before setting selectionEnd in the test case, then selectionStart doesn't get clobbered.
Created attachment 64619 [details] Patch
Comment on attachment 64619 [details] Patch > diff --git a/LayoutTests/fast/forms/text-control-select-blurred.html b/LayoutTests/fast/forms/text-control-select-blurred.html Nit: Can you add some text explaining what this is testing? > diff --git a/WebCore/rendering/RenderTextControl.cpp b/WebCore/rendering/RenderTextControl.cpp > void RenderTextControl::setSelectionStart(int start) > { > - setSelectionRange(start, max(start, selectionEnd())); > + HTMLTextFormControlElement* element = static_cast<HTMLTextFormControlElement*> (node()); Nit: kill the space between > and (? I don't see any other static_casts with this space.
Committed r65564: <http://trac.webkit.org/changeset/65564>