LayoutTests:
Reviewed by Darin.
Test for http://bugs.webkit.org/show_bug.cgi?id=11746
REGRESSION(r14931): Outlook Web Access incorrectly positions the insertion point when replying to e-mail
* editing/selection/move-begin-end-expected.txt: Updated editing delegate results.
* fast/forms/onselect-textarea-expected.txt: Updated selection start/end positions.
* fast/forms/textarea-initial-caret-position-expected.txt: Added.
* fast/forms/textarea-initial-caret-position.html: Added.
* fast/forms/textarea-no-scroll-on-blur.html:
Updated to position caret at end of text to match previous initial focus behavior for this test.
* fast/forms/textarea-scrollbar.html: Ditto.
* fast/forms/textarea-scrolled-endline-caret.html: Ditto.
* fast/forms/textarea-scrolled-type.html: Ditto.
WebCore:
Reviewed by Darin.
http://bugs.webkit.org/show_bug.cgi?id=11746
REGRESSION(r14931): Outlook Web Access incorrectly positions the insertion point when replying to e-mail
Set caret at beginning of text on initial focus.
Test: fast/forms/textarea-initial-caret-position.html
* html/HTMLTextAreaElement.cpp:
(WebCore::HTMLTextAreaElement::updateFocusAppearance):
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@18341 268f45cc-cd09-0410-ab3c-d52691b4dbfc
11 files changed