Closed
Bug 62556
Opened 24 years ago
Closed 21 years ago
Scrolling an overflow:scroll page causes reflow
Categories
(Core :: XUL, defect)
Core
XUL
Tracking
()
RESOLVED
WORKSFORME
Future
People
(Reporter: ilya.konstantinov+future, Assigned: rods)
References
()
Details
Attachments
(4 files)
This is the minimal testcase I could minimize it to, so it would still exhibit the problem. Testcase contains: A right-aligned table cell containing a box of fixed dimensions with text, which would have a scroll (CSS overflow:scroll) if the content doesn't fit the box' size. Result: On my system, clicking the scroll bar causes enlarging of the table cell's width, while the box dimensions remain the same. The table cell expands every time the scroll bar is used, and apparently expands endlessly.
Reporter | ||
Comment 1•24 years ago
|
||
Comment 2•24 years ago
|
||
I was unable to see any changes to the testcase clicking the scrollbar with ,inux or win32 builds 121508/10. what build did you test this with? over to Style System for triage.
Assignee: asa → pierre
Component: Browser-General → Style System
QA Contact: doronr → chrisd
Reporter | ||
Comment 3•24 years ago
|
||
Using build 2000121521 and still the same problem. Also, using standard X Type1 fonts for Western (ISO-8859-8), the character set of this testcase, though I have TrueType fonts via FreeType for other character sets.
Comment 4•24 years ago
|
||
Verified Platform: PC OS: Linux 2.2.16 Mozilla Build: 2000121908 M18 Trunk Build You have to click on the vertical scrollbar. For Me double click did it. Watch it expand horizontally. Marking NEW.
Status: UNCONFIRMED → NEW
Ever confirmed: true
I took a short dive into this problem. If you are on top or the bottom, and you keep clicking, then there's an overflow on the page. But the output of this example stays the same, only the screen width is growing (watch your browser's window scrollbar grow)! And the output for the classic and modern themes are not the same! So this needs to be checked and fixed. How did I attach two of them?? Sorry for that!
Comment 8•24 years ago
|
||
Netscape's standard compliance QA team reorganised itself once again, so taking remaining non-tables style bugs. Sorry about the spam. I tried to get this done directly at the database level, but apparently that is "not easy because of the shadow db", "plus it screws up the audit trail", so no can do...
QA Contact: chrisd → ian
Comment 9•23 years ago
|
||
My apologies for having neglected this bug for so long... To reproduce this bug, load the attached testcase at http://bugzilla.mozilla.org/showattachment.cgi?attach_id=21143 and repeatedly click on any arrows from the scrollbars. After 8 clicks, the browser window displays a horizontal scrollbar. The number of clicks doesn't change with the font size used within the text field. Reassigned to evaughan/XPToolkit
Assignee: pierre → evaughan
Component: Style System → XP Toolkit/Widgets
Comment 11•23 years ago
|
||
*** Bug 63513 has been marked as a duplicate of this bug. ***
Comment 12•23 years ago
|
||
ccing evaughan, since karnaze reassinged bug 63513 to him/her
Comment 13•23 years ago
|
||
nominating, OS ==> all, since people have seen this on all Linux/MacOS/Win98
Comment 14•23 years ago
|
||
*** Bug 83135 has been marked as a duplicate of this bug. ***
Comment 15•23 years ago
|
||
Hey guys, I found something similar, but it shows a more serious problem. When I put two div elements with style="overflow:scroll" and filled them with text and put them in a table, it's screwed up. #1. If you click the vertical scroll bar of the second element, it changes the second element's width. #2. If you click the vertical scroll bar of the first element, it changes the second element's width.
Comment 16•23 years ago
|
||
Comment 17•23 years ago
|
||
Check out this url. this page very nicely articulates the issue. http://www.xs4all.nl/~ppk/css2tests/overflow.html. credits to the original author.
Comment 18•23 years ago
|
||
Forgot to mention this. It happens on Win 2K Mozila 0.9.3 Build ID: 2001080110
Reporter | ||
Comment 19•23 years ago
|
||
Still happens on 0.9.4 (Linux).
Comment 20•23 years ago
|
||
I just checked out a build with the fix to bug 73235. Every single testcase in this bug is working correctly for me in that build. No problems whatsoever.
Whiteboard: duplicate of 73235?
Comment 21•23 years ago
|
||
Yeah, I agree. This is a dup. *** This bug has been marked as a duplicate of 73235 ***
Status: NEW → RESOLVED
Closed: 23 years ago
Resolution: --- → DUPLICATE
Comment 22•23 years ago
|
||
I'm sorry but the http://www.xs4all.nl/~ppk/css2tests/overflow.html isn't fixed. Or rather it's fixed only partially - the columns with overflow:auto/scroll elements get wider when you click on the arrows but only for a while. Then the widening stops. (I don't know if the bug 73235 shouldn't be reopened rather then this one.) Updating the URL to test.
Status: RESOLVED → REOPENED
Resolution: DUPLICATE → ---
Comment 23•23 years ago
|
||
Taking.
Assignee: karnaze → waterson
Status: REOPENED → NEW
Target Milestone: --- → mozilla0.9.6
Updated•23 years ago
|
Status: NEW → ASSIGNED
Updated•23 years ago
|
Whiteboard: duplicate of 73235?
Comment 24•23 years ago
|
||
Tom, what platform are you on? That testcase worksforme with linux build 2001-09-30-06...
Comment 25•23 years ago
|
||
It works for me with 2001100108, RedHat 7.1
Comment 26•23 years ago
|
||
The test cases appear to work fine, but the ``overflow: scroll'' case from the original URL (http://www.xs4all.nl/~ppk/css2tests/overflow.html) is causing problems.
Comment 27•23 years ago
|
||
Sorry, still doesn't work with 2001100108. It's better now, but the test at http://www.xs4all.nl/~ppk/css2tests/overflow.html is still causing problems. http://www.denlilleskole.dk/index.php?page=12 did not work before, it's perfect now.
Comment 28•23 years ago
|
||
rods, this is more <select> fun. I think what's happening here is that the border/padding for the ScrollFrame is being added twice, then removed only once, for each incremental reflow.
Assignee: waterson → rods
Status: ASSIGNED → NEW
Comment 29•23 years ago
|
||
*** Bug 104665 has been marked as a duplicate of this bug. ***
Comment 30•23 years ago
|
||
note: http://www.xs4all.nl/~ppk/css2tests/overflow.html - scrollbars are working properly in 2001102203 for me on W2K. Could have been another checkin that fixed or made this work in this build. -dennis
Comment 31•23 years ago
|
||
Are you sure? You have to have the browser window at least 900 pixels wide to see the unwanted effect.
Comment 32•23 years ago
|
||
yup, I see it now after closing the sidebar it doesn't work.. so that is part of the culprit of this page.. size of viewport or page width.. has a real effect on this one. -cuz
Comment 34•23 years ago
|
||
This is likely causing bug 107902 on slate.msn.com
Comment 35•23 years ago
|
||
see some possible related plague mouse bugs (mouseover issues actually) in style system such as fixed bug 69398 and fixed Layout bug 71979: adding content and reflow/moving stuff; to possibly get some insight to the problem here.
Blocks: advocacybugs
Assignee | ||
Updated•23 years ago
|
Priority: P3 → --
Comment 36•23 years ago
|
||
Mhhh, this bug http://www.xs4all.nl/~ppk/css2tests/ still isn't fixed people and you want to release 1.0 soon... no this couldn't be true!!
Comment 37•23 years ago
|
||
Tom, no one has mentioned what the real problem is here yet that is causing a reflow from mouse & scrollbar clicking linked with updating overflow, and browser window viewsize, its kinda needs investigating first.
Comment 38•23 years ago
|
||
pause, well except waterson's comment #28 on <select>. sorry for spam.
Comment 39•21 years ago
|
||
I think it was fixed a long time ago. At least I couldn't replicate the bad behaviour on the testcases and the url.
Status: NEW → RESOLVED
Closed: 23 years ago → 21 years ago
Resolution: --- → WORKSFORME
You need to log in
before you can comment on or make changes to this bug.
Description
•