Bug 316117 - incorrect rendering of right padding on lineedits with clear button
Summary: incorrect rendering of right padding on lineedits with clear button
Status: RESOLVED FIXED
Alias: None
Product: konqueror
Classification: Applications
Component: khtml forms (show other bugs)
Version: Git
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Konqueror Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-03-04 15:57 UTC by Andrea Iacovitti
Modified: 2013-03-04 16:18 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In: 4.10.2


Attachments
testcase (701 bytes, text/html)
2013-03-04 15:57 UTC, Andrea Iacovitti
Details

Note You need to log in before you can comment on or make changes to this bug.
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