[Webkit-unassigned] [Bug 11746] REGRESSION(r14931): Outlook Web Access incorrectly positions the insertion point when replying to e-mail

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Dec 5 04:13:09 PST 2006


http://bugs.webkit.org/show_bug.cgi?id=11746


ddkilzer at kilzer.net changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|REGRESSION(r14926-14941):   |REGRESSION(r14931): Outlook
                   |Outlook Web Access          |Web Access incorrectly
                   |incorrectly positions the   |positions the insertion
                   |insertion point when        |point when replying to e-
                   |replying to e-mail          |mail




------- Comment #9 from ddkilzer at kilzer.net  2006-12-05 04:13 PDT -------
It appears that this change was made on purpose in r14931.  See comment in
HTMLTextAreaElement::updateFocusAppearance() in
WebCore/html/HTMLTextAreaElement.cpp.

    if (cachedSelStart == -1) {
        ASSERT(cachedSelEnd == -1);
        // If this is the first focus, set a caret at the end of the text.  
        // This matches other browsers' behavior.
        int max = static_cast<RenderTextControl*>(renderer())->text().length();
        setSelectionRange(max, max);
    } else

I haven't tested this on MSIE 6, but both Firefox 1.5.0.8 and Mozilla Suite
1.7.13 on Mac OS X do place the caret at the end of the text content.  The
difference, though, is that they do not automatically scroll to the end of the
content when this is done, so it's possible to click at the top of the text
area without having to scroll all the way up. If, however, you start typing
after the page loads, the text area will immediately scroll to the bottom as
expected.

In summary, to match other browsers, Safari should place the caret at the end
of the content, but not automatically scroll to the end.  Does that make sense?


-- 
Configure bugmail: http://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the webkit-unassigned mailing list