Open Bug 378879 Opened 18 years ago Updated 2 years ago

HTML text input in a scaled foreignObject scrolls vertically when selected

Categories

(Core :: SVG, defect)

x86
Windows XP
defect

Tracking

()

People

(Reporter: jwatt, Unassigned)

Details

(Keywords: testcase)

Attachments

(1 file, 1 obsolete file)

Attached image testcase (obsolete) (deleted) —
When an HTML text input inside a scaled foreignObject is selected it often scrolls vertically. roc suggests in bug 356999 comment 5 that this could be due to rounding error in mouse event coordinates. This would seem to be backed up by the fact that the input scrolls up when text is selected using the mouse, but the input does not scroll when text selected using the keyboard. Actually, if the input has been scrolled up due to mouse interaction, keyboard interaction (such as using shift+arrow to extend a selection) will force it to scroll back down again. Scrolling caused by mouse interaction seems to be reset by keyboard interaction. (Dragging and dropping text seems to be the exception, where the interaction is via the mouse but the input is scrolled down, then again the actual insertion of the dropped text is probably going through the same code paths as keyboard input).
Attached file testcase (deleted) —
Fix testcase to specify a height on the <svg>.
Attachment #262890 - Attachment is obsolete: true
Assignee: general → nobody
QA Contact: ian → general
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: