Bug 316117

Summary: incorrect rendering of right padding on lineedits with clear button
Product: [Applications] konqueror Reporter: Andrea Iacovitti <aiacovitti>
Component: khtml formsAssignee: Konqueror Developers <konq-bugs>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version: Git   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In: 4.10.2
Attachments: testcase

Description Andrea Iacovitti 2013-03-04 15:57:05 UTC
Created attachment 77745 [details]
testcase

In lineedit form element that show the clearButton the right padding is rendered as :
css padding value + clearButton width
Then the active area is smaller than it should be.
See attached testcase (lineedits with red border doesn't have the clear button activated)
Comment 1 Andrea Iacovitti 2013-03-04 16:18:51 UTC
Git commit d81b00e9a0f67ac992df1034d920477b5f8b7c1c by Andrea Iacovitti.
Committed on 04/03/2013 at 17:07.
Pushed by aiacovitti into branch 'KDE/4.10'.

Take into account the clearButton width, that already takes some room of
lineedit's contents, when rendering lineedit's padding.
FIXED-IN: 4.10.2

M  +7    -1    khtml/rendering/render_form.cpp

http://commits.kde.org/kdelibs/d81b00e9a0f67ac992df1034d920477b5f8b7c1c