Version: 3.5.4 (using KDE 3.5.4, compiled sources) Compiler: gcc version 3.4.6 OS: Linux (i686) release 2.6.17.13 When changing the size value of an object such as a <select> combobox in Javascript, Konqueror changes the font size of the options, but only when there is no size attribute specified for the <select>. (Testcase follows.)
Created attachment 19917 [details] Testcase
Confirmed in 4.0 branch. Easier visible after a View|Enlarge Font btw.
There is a patch from vtokarev for this waiting for review @ kfm-devel
Oops, right, I actually intended to reply and forgot...thanks for the reminder.
SVN commit 788917 by ggarand: apply patch by Slava Tokarev fixing unwanted changes of form widgets font size CCMAIL: tsjoker@gmail.com BUG: 142722 M +2 -0 render_replaced.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=788917
Created attachment 70828 [details] new 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 302052 M +5 -1 khtml/rendering/render_form.cpp M +0 -4 khtml/rendering/render_replaced.cpp http://commits.kde.org/kdelibs/95ccc85ae312453bf68c0fb48025c5dab21faa81