Closed Bug 4294 Opened 26 years ago Closed 26 years ago

scrolling tbody (test4.html) strange results

Categories

(Core :: Layout: Tables, defect, P3)

x86
Windows NT
defect

Tracking

()

VERIFIED WORKSFORME

People

(Reporter: unapersson, Assigned: karnaze)

Details

The scrolling tbody for a table has stopped working (see test4.html with nglayout distribution for example). Tried both the 19/03 and 25/03 builds.
Have done some additional investigation and found something that could explain it. It looks very much like something to do with using an external stylesheet. The example below shows a fragment that reproduces the problem. I picked an arbitrary style to put in the stylesheet, any will do it. If change the stylesheet so it is blank by deleting its contents then the scrolling body works fine. (test.htm) <!doctype HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd"> <html> <head> <title>test</title> <link rel=stylesheet href="test.css" media=screen type="text/css"> </head> <body> <p>A paragraph of text</p> <table border=1> <thead> <tr><th>column 1<th>column 2<th>column 3<th>column 4 </thead> <tbody style="overflow: auto; height: 200px;"> <tr><td>one<td>two<td>three<td>four <tr><td>one<td>two<td>three<td>four <tr><td>one<td>two<td>three<td>four <tr><td>one<td>two<td>three<td>four <tr><td>one<td>two<td>three<td>four <tr><td>one<td>two<td>three<td>four <tr><td>one<td>two<td>three<td>four <tr><td>one<td>two<td>three<td>four <tr><td>one<td>two<td>three<td>four <tr><td>one<td>two<td>three<td>four <tr><td>one<td>two<td>three<td>four <tr><td>one<td>two<td>three<td>four <tr><td>one<td>two<td>three<td>four </tbody> </table> (test.css) p {font-weight: bold;}
Assignee: troy → karnaze
Component: Layout → HTMLTables
Status: NEW → RESOLVED
Closed: 26 years ago
Resolution: --- → WORKSFORME
No problem on my 3/29 debug & optimized WinNT builds.
Checked again with 26/03 build and has the same results. Most visible on this page: http://www.devon-cc.gov.uk/marriage/approved.html (screenshot here: http://www.devon-cc.gov.uk/marriage/test.gif) Resizing fixes the display.
On my WinNT 3/29 optimized and 3/30 debug builds, http://www.devon-cc.gov.uk/marriage/approved.html looks ok. Let's wait for Chris Petersen to verify.
Status: RESOLVED → VERIFIED
With the April 5th build, I don't experience the problem shown in the gif image. The table is display correctly during scrolling.
You need to log in before you can comment on or make changes to this bug.