Fix applying css text-align property on textarea widget:
author Andrea Iacovitti
()
committer Andrea Iacovitti
()
commit 31ce1f9365000d7c3a9c39770234aa09009a2599
tree 61f8edf98f997bc252309fe672e26a7b73587e31
parent 95ccc85ae312453bf68c0fb48025c5dab21faa81
Fix applying css text-align property on textarea widget:
- set text alignment on all textarea's paragraphs, not only the current one
(aka the one at the current cursor position).
- do not set at every setStyle call but only when it has changed (doing the
same for lineedit widget).

Also fix annoying behavior where initial content of pre-filled textarea
is showed up all scrolled down to end.

BUG: 302070
khtml/rendering/render_form.cpp
khtml/rendering/render_form.h