Closed Bug 187701 Opened 22 years ago Closed 21 years ago

TBODY with 'overflow: auto' does not display scroll bar

Categories

(Core :: Layout: Tables, defect)

x86
Windows 98
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 28800

People

(Reporter: willem, Unassigned)

References

()

Details

Attachments

(3 files)

User-Agent:       Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.3b) Gecko/20030104
Build Identifier: Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.3b) Gecko/20030104

In the page at <http://wilm.nl/project/mozbug/tbody_overflow.html>, there are
thre test cases for a TBODY element (inside table), with 'overflow: auto' set.

If the table cells contain only text, then the scrollbar is not displayed while
it should (BUG).

When there are other elements (like <B>) inside in the table cell, then in some
cases the scrollbar is displayed (OK), but in other cases it isn't (BUG). See url.

Reproducible: Always

Steps to Reproduce:
Visit http://wilm.nl/project/mozbug/tbody_overflow.html and watch in which cases
the scrollbar appears.



Expected Results:  
In all three cases, a scrollbar should be displayed.
Bold have nothing with this problem. Behaviour is such: if at least 1 cell
contained text with lenght more some value than vertical rule appeared,
otherwise not. So there is bug in checking width instead of height.

You could test it by zooming -- when you zoon, scrool bar appeared.

Same behaviour could be produce with overflow:scroll
WFM 2003010408, Win XP
worksforme, linux trunk build 2003-01-03-21 as well...
Not work for me on Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.3b)
Gecko/20030104. All 4 tables shold have scrollbars -- they are sma height.
So what you mean is that you change the Text size of the browser and the
scrollbar disappears?
Making the text smaller makes the content smaller, therefore the scrollbars
disappear, they only appear when the content height is larger than the height
set on the tbody.
No, what I try to say, that VERTICAL scrollbar appeared only when HORISONTAL
width of cell's text is bigger that some constant. All 4 tables have same cells,
only difference betwen quontity of letters a inside. This value could not affect
VERTICAL layout, but it does. 

Let me try to made another try:
there is 2 tables:
-----              ---------           ---
! a !              ! a     !            ^
! a !      and     ! aaaaa !            !  Vertical height is same
! a !              ! a     !            V  
-----              ---------           ---

So scrollbar on this tables should appeared simultaneously, but it doe not!
this might have to do with bug 28800
so would this bug bve depending on bug 28800 ?

 i do see the problem on moz1.4 beta trunk builds on both winXP and linux

QA Contact: amar → madhur
a scrollbar is only drawn when there is enough place for it. The rowgroup doesnt
add the space for the scrollbar to its content width so its drawn inside the
rowgroup.

*** This bug has been marked as a duplicate of 28800 ***
Status: UNCONFIRMED → RESOLVED
Closed: 21 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: