Bug 134396 - [test-case] a:hover and negative margins inconsistent reflow
Summary: [test-case] a:hover and negative margins inconsistent reflow
Status: RESOLVED NOT A BUG
Alias: None
Product: konqueror
Classification: Applications
Component: khtml renderer (show other bugs)
Version: unspecified
Platform: RedHat Enterprise Linux Linux
: NOR normal
Target Milestone: ---
Assignee: Konqueror Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-09-20 16:01 UTC by Robert Whittaker
Modified: 2012-05-26 22:29 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Robert Whittaker 2006-09-20 16:01:47 UTC
Version:           3.5.3-9.1 (using KDE KDE 3.5.3)
Installed from:    RedHat RPMs
OS:                Linux

http://www.damtp.cam.ac.uk/user/rjw62/test/hover.html

In the linked URL, I use CSS to add a border round an <a> element when hovered, and have a corresponding negative margin to prevent any overall change in size. This works fine in recent versions of Firefox and Opera.

With Konqueror 3.5.3 the first page display and first hover-on is fine. But when the mouse is removed, the size of the <a> is reduced vertically (I think by 2px top and bottom). Thereafter the hovered state is correct and the unhovered state is smaller.

I'm guessing the reflow occuring on the mouse-out is removing the border, but not taking into account the loss of the negative margin.
Comment 1 Māris Nartišs 2007-01-07 14:19:24 UTC
Can confirm with 3.5.5 on Gentoo
Comment 2 Martin Fitzpatrick 2007-01-10 04:11:55 UTC
Confirmed with KDE 3.5.5 / Kubuntu 6.10
Comment 3 Martin Fitzpatrick 2008-04-05 23:07:30 UTC
Confirmed on KDE 4.0.3 / Kubuntu. Bug still exists (vertical size changes).
Comment 4 Andrea Iacovitti 2012-05-26 22:29:00 UTC
The reported test url is no longer working. Cannot test if this bug is still valid.