Bug 100647 - [testcase] :hover breaks inside div with overflow:auto
Summary: [testcase] :hover breaks inside div with overflow:auto
Status: CONFIRMED
Alias: None
Product: konqueror
Classification: Applications
Component: khtml renderer (show other bugs)
Version: 4.5.4
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: Konqueror Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-03-02 14:37 UTC by Dan Leinir Turthra Jensen
Modified: 2021-03-21 00:25 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Testcase in a html file (976 bytes, text/html)
2005-03-02 14:38 UTC, Dan Leinir Turthra Jensen
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Dan Leinir Turthra Jensen 2005-03-02 14:37:11 UTC
Version:           3.4.0 (using KDE 3.4.0, compiled sources)
Compiler:          gcc version 3.4.1 (Mandrakelinux 10.1 3.4.1-4mdk)
OS:                Linux (i686) release 2.6.8.1-24mdk

The :hover effect (in this case a grey background) is not updated correctly. If you cover the affected area with another window, hover over a link and move over the other window and move that window out of the way, the effect is now applied (thanks to dfaure for noticing that one :) ).

<html>
  <head>
    <title>Testcase - CSS hover inside layers</title>
    <style>
    body {
    	background-color: #e0e0FF;
    	color: black;
    }
    #layer {
    	position: absolute;
    	top: 0px;
    	left: 0px;
    	height: 200px;
    	width: 500px;
    	overflow: auto;
    }
    span:hover {
    	background-color: gray;
    }
    </style>
  </head>
  <body>
  <div id="layer">
  Scroll down and the hover effect no longer works.<br />
  <span>Test test test</span><br />
  <span>Test test test</span><br />
  <span>Test test test</span><br />
  <span>Test test test</span><br />
  <span>Test test test</span><br />
  <span>Test test test</span><br />
  <span>Test test test</span><br />
  <span>Test test test</span><br />
  <span>Test test test</span><br />
  <span>Test test test</span><br />
  <span>Test test test</span><br />
  <span>Test test test</span><br />
  <span>Test test test</span><br />
  <span>Test test test</span><br />
  </div>
  </body>
</html>
Comment 1 Dan Leinir Turthra Jensen 2005-03-02 14:38:10 UTC
Created attachment 9923 [details]
Testcase in a html file
Comment 2 Allan Sandfeld 2006-10-13 20:18:55 UTC
Still affects KDE 3.5.5


Seems to have more to do with repaints than with :hover.
Comment 3 Manuel Sanz 2008-04-20 03:03:36 UTC
Still present in 4.0.3.
Comment 4 Samuel Brack 2011-01-04 23:58:19 UTC
Updatin to 4.5.4, since the bug seems still not to be fixed.
Comment 5 Justin Zobel 2021-03-21 00:25:08 UTC
Thank you for the bug report.

As this report hasn't seen any changes in 10 years or more, we ask if you can please confirm that the issue still persists.

If this bug is no longer persisting or relevant please change the status to resolved.