Do not call setStyle() in RenderWidget::updateFromElement() for all type
author Andrea Iacovitti
()
committer Andrea Iacovitti
()
commit 95ccc85ae312453bf68c0fb48025c5dab21faa81
tree 191d5b2e2a6e36a2e885df4b54e16c5bde26379d
parent e67682b44f30ee6d5a785dde34eb0dc16fb2c02e
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().

BUG: 302052
CCBUG: 142722
khtml/rendering/render_form.cpp
khtml/rendering/render_replaced.cpp