Closed Bug 373467 Opened 17 years ago Closed 16 years ago

Collapsing overflow:scroll div on reflow

Categories

(Core :: Layout, defect, P2)

x86
All
defect

Tracking

()

RESOLVED FIXED

People

(Reporter: martijn.martijn, Assigned: roc)

References

Details

(Keywords: regression, testcase, Whiteboard: [depends on 416752])

Attachments

(1 file)

Attached file testcase
See testcase, in current trunk builds, the overflow:scroll div collapses a bit after 500ms.
This regressed between 2006-12-07 and 2006-12-08, so a regression from the reflow branch landing.

Note, IE7 doesn't show a scrollbar at all with the testcase.
Opera9 wraps the scrollbar around the text as tightly as possible.
WFM Mac trunk.
I see this on current linux trunk. 
Deleting the new style rule through the dom inspector doesn't make the div expand again.
OS: Windows XP → All
Flags: blocking1.9?
I tend to think that either the second layout is correct (and the first wrong) or both are wrong and the scrollbars should be closer to the text.
Flags: blocking1.9? → blocking1.9+
Priority: -- → P2
Assignee: nobody → roc
May be related to 416752. I can't reproduce on Mac so I'll have to get a Windows build going.
Depends on: 416752
Yeah, the patch in bug 416752 fixes this. I think in the first reflow we set the scrollport to the preferred scrollbar height, in the incremental reflow we set it to the minimum scrollbar height.
Whiteboard: [depends on 416752]
Marking fixed now that 416752 is checked in
Status: NEW → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: