Closed Bug 163803 Opened 22 years ago Closed 22 years ago

Scrollbar does not appear for small view sizes

Categories

(Core :: Layout: Tables, defect)

x86
All
defect
Not set
minor

Tracking

()

RESOLVED DUPLICATE of bug 48798

People

(Reporter: boris, Assigned: karnaze)

Details

(Keywords: testcase)

Attachments

(2 files)

User-Agent:       Mozilla/5.0 (OS/2; U; Warp 4.5; en-US; rv:1.1b) Gecko/20020729
Build Identifier: Mozilla/5.0 (OS/2; U; Warp 4.5; en-US; rv:1.1b) Gecko/20020729

Just tried to write small piece of html code with tbody attribute to get
scrolling table. When the text in <td> is short, the scrollbar is invisible
independently how many rows are in table and value of overflow attribute.

Reproducible: Always

Steps to Reproduce:
1. Get my sample code
2. Load it into browser
3.

Actual Results:  
Scrollbar is invisible even overflow is set to scroll.

Expected Results:  
Should be scrollbar

Sample code:

		<table cellspacing=0 cellpadding=0>
			<thead>
				<tr><th>col</th></tr>
			</thead>
			<tbody style="overflow: auto; height: 200px; border: 1px solid black">
				<tr><td>test</td></tr>
				<tr><td>test</td></tr>
				<tr><td>test</td></tr>
				<tr><td>test</td></tr>
				<tr><td>test</td></tr>
				<tr><td>test</td></tr>
				<tr><td>test</td></tr>
				<tr><td>test</td></tr>
				<tr><td>test</td></tr>
				<tr><td>test</td></tr>
				<tr><td>test</td></tr>
				<tr><td>test</td></tr>
				<tr><td>test</td></tr>
				<tr><td>test</td></tr>
			</tbody>
		</table>
OS: other → OS/2
Attached file Testcase #2
Using a slightly longer word instead makes the scrollbar appear.
Also noticed that the right edge of the scrollbar wasn't repainted correctly
when dragging the scroll grip.    [2002-08-20-08 trunk Linux]

--> HTMLTables
Assignee: asa → karnaze
Severity: normal → minor
Status: UNCONFIRMED → NEW
Component: Browser-General → HTMLTables
Ever confirmed: true
Keywords: testcase
OS: OS/2 → All
QA Contact: asa → amar
see bug 122602
Bug 119677 seems more likely (bug 122602 is WFM).
The problem is that the scrollbar just isn't there when the view size is below a
certain limit. This limit seems to a bit high IMO, because both in this bug and
in bug 119677 there is clearly room for a (small) scrollbar.
Summary: style="overflow: auto/scroll" problems → Scrollbar does not appear for small view sizes
Spawned off bug 163953 for the scrollbar repaint problem in Testcase #2
Some dup marking needs to be done, but I'm not sure which is the best bug:

bug  48798 - GFX Scrollbars disappear when window gets very small
bug 119677 - wrong scrollbar behaviour
bug 146295 - Vertical scrollbar missing or incorrect for very small window
bug 163803 - Scrollbar does not appear for small view sizes

my inclination is to keep bug 48798 and dup the rest, but I'll let those
involved make the call and do the deed :)

-matt
This bug looks like it is more related to the problem in bug 48798. Duping

*** This bug has been marked as a duplicate of 48798 ***
Status: NEW → RESOLVED
Closed: 22 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: