Bug 139628 - "overflow:auto" on DIV tags. Strange scrollbars behavior.
Summary: "overflow:auto" on DIV tags. Strange scrollbars behavior.
Status: RESOLVED UNMAINTAINED
Alias: None
Product: konqueror
Classification: Applications
Component: khtml (show other bugs)
Version: 3.5
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: Konqueror Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-01-05 11:57 UTC by Pavel Tzonkov
Modified: 2012-06-18 17:47 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
The sample code (678 bytes, text/html)
2007-01-05 12:03 UTC, Pavel Tzonkov
Details
Screenshot for point 5 (89.19 KB, image/jpeg)
2007-01-08 21:30 UTC, Pavel Tzonkov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Pavel Tzonkov 2007-01-05 11:57:23 UTC
Version:           3.5.5 (using KDE 3.5.5, Gentoo)
Compiler:          Target: i686-pc-linux-gnu
OS:                Linux (i686) release 2.6.18-gentoo-r6

Sample code explaining the problems below:

<SCRIPT>
function clock() {
    i++;
    document.getElementById('dynamic').innerHTML = i;
}
i = 0;
setInterval("clock()", 100);
</SCRIPT>

<BR><BR><BR><BR>

<DIV STYLE="position:absolute; height:90px; width:200px; overflow:auto">
<INPUT TYPE="text"><BR>
<INPUT TYPE="checkbox"><BR>
<INPUT TYPE="button"><BR>
<INPUT TYPE="radio"><BR>
<SELECT></SELECT><BR>
<INPUT TYPE="text"><BR>
<INPUT TYPE="checkbox"><BR>
<INPUT TYPE="button"><BR>
<INPUT TYPE="radio"><BR>
<SELECT></SELECT><BR>
<INPUT TYPE="text"><BR>
<INPUT TYPE="checkbox"><BR>
<INPUT TYPE="button"><BR>
<INPUT TYPE="radio"><BR>
<SELECT></SELECT><BR>
</DIV>

<DIV STYLE="height:100px">&nbsp;</DIV>

<DIV ID="dynamic"></DIV>

1. The scrollbar is not appear correctly. The right line of the scrollbar missed.
2. The mouse wheel effects only on the scrollbar, not on the whole tag area.
3. overflow-x and overflow-y doesn't works on DIV tags
4. If some JavaScript function is running at regular intervals and dragging scrollbar with mouse, the scrollbar drops. It appears only if DIV tag style is "position:absolute" and the JavaScript function updates HTML element after the tag.
5. If DIV tag contains any form elements, when scrolling, the elements comes out from the tag.
Comment 1 Pavel Tzonkov 2007-01-05 12:03:20 UTC
Created attachment 19110 [details]
The sample code
Comment 2 Philip Rodrigues 2007-01-07 19:52:15 UTC
I can confirm 1 and 2 on r620k, but I don't understand 4, and 5 appears to work correctly. For point 5, could you attach a screenshot to show the problem you're seeing?
Comment 3 Pavel Tzonkov 2007-01-08 21:30:31 UTC
Created attachment 19200 [details]
Screenshot for point 5

Please open the attacment #19110 with Konqueror. Then try to drag the scrollbar
with mouse. When moving mouse up/down, the scrollbar drops its position. For
point 5, I uploaded the attachment. See the checkboxes on the top-right.

Thank you
Comment 4 Pavel Tzonkov 2007-01-08 21:53:39 UTC
Another explanation about the screenshot - the top checkbox just before "Shared Computers" is OK. This is "check all" checkbox.
Comment 5 Raúl 2012-05-03 19:14:03 UTC
Hello:
Just test this on KDE 4.7.4 with Qt 4.8.1. I can say that 1 and 2 works here and it's likely the rest does as well, but I'm not sure I understand them so I can't confirm.
Regards,
Comment 6 Janek Bevendorff 2012-06-18 17:22:53 UTC
Message from the Bugsquad and Konqueror teams: This bug is closed as outdated, as we do not have the manpower to maintain the KDE3 version anymore. If you still can reproduce this issue with Konqueror 4.8.4 or later, please open a new report. Thank you for your understanding.
Comment 7 Raúl 2012-06-18 17:47:15 UTC
Thanks for the note. Anyway I'd say it's fixed on 4.8.4 at least.