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)
Tracking
()
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.
Comment 1•22 years ago
|
||
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.
Comment 2•22 years ago
|
||
Same behaviour could be produce with overflow:scroll
Comment 3•22 years ago
|
||
WFM 2003010408, Win XP
Comment 4•22 years ago
|
||
worksforme, linux trunk build 2003-01-03-21 as well...
Comment 5•22 years ago
|
||
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.
Comment 6•22 years ago
|
||
Comment 7•22 years ago
|
||
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.
Comment 8•22 years ago
|
||
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!
Comment 10•21 years ago
|
||
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
Comment 11•21 years ago
|
||
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.
Description
•