Summary: | textarea automatically scroll content on focus out | ||
---|---|---|---|
Product: | [Applications] konqueror | Reporter: | Andrea Iacovitti <aiacovitti> |
Component: | khtml forms | Assignee: | Konqueror Developers <konq-bugs> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | NOR | ||
Version: | 4.8.4 | ||
Target Milestone: | --- | ||
Platform: | unspecified | ||
OS: | Linux | ||
Latest Commit: | http://commits.kde.org/kdelibs/95ccc85ae312453bf68c0fb48025c5dab21faa81 | Version Fixed In: | |
Sentry Crash Report: | |||
Attachments: | testcase |
Git commit 95ccc85ae312453bf68c0fb48025c5dab21faa81 by Andrea Iacovitti. Committed on 17/06/2012 at 19:04. Pushed by aiacovitti into branch 'KDE/4.8'. Do not call setStyle() in RenderWidget::updateFromElement() for all type of widgets. It is needed for select elements when switching internal widget type. An evident side effect is the unwanted scroll of textarea's content on focus out, caused in turn by setAlignment() in RenderTextArea::setStyle(). Related: bug 142722 M +5 -1 khtml/rendering/render_form.cpp M +0 -4 khtml/rendering/render_replaced.cpp http://commits.kde.org/kdelibs/95ccc85ae312453bf68c0fb48025c5dab21faa81 |
Created attachment 71886 [details] testcase When loosing focus unwanted scroll of textarea's content is performed if the line containing the cursor is not visible. To reproduce: load the attached testcase, put the cursor at "line7", scroll the content up to the beginning whit the help of scrollbar, click away on page.