Open Bug 655941 Opened 13 years ago Updated 2 years ago

Clicking on page and then focusing textarea doesn't scroll caret into view

Categories

(Core :: Layout: Form Controls, defect)

defect

Tracking

()

People

(Reporter: roc, Unassigned)

Details

(Whiteboard: [post-2.0])

Attachments

(1 file)

Attached file testcase
1) Open attached testcase.
2) Click in textarea, put caret on first line.
3) Scroll textarea down so that caret is out of view.
4) Click in blank space in the page so that textarea loses focus
5) Hover over the button; script gives the textarea focus.
6) Notice that the caret has not been scrolled into view.

Repeat the above steps, but in step 4 click in the empty <input> to take focus from the textarea; then in step 6 the caret will be scrolled into view.

These two scenarios should behave consistently, and it seems that the correct behavior would be for the caret to scroll into view in step 6.
Assignee: nobody → ehsan
Whiteboard: [post-2.0]
Version: unspecified → Trunk
OS: Windows 7 → All
Hardware: x86 → All
Assignee: ehsan → nobody
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: