Closed Bug 70187 Opened 25 years ago Closed 25 years ago

strange table cell width resizing when scrolling the cell content

Categories

(Core :: CSS Parsing and Computation, defect)

x86
Other
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 63513

People

(Reporter: martin.honnen, Assigned: pierre)

Details

Attachments

(1 file)

I set the height and width of table cells and then stuff a DIV in each with overflow: auto; to allow for scrollable cell contents. That comes up fine with M0.8 but when you try to scroll one of the cells by hitting the down arrow the cell width increases every time for no apparent reason. <HTML> <HEAD> <STYLE> TD { width: 100px; height: 100px; } DIV.cellContainer { width: 100%; height: 100%; overflow: auto; } </STYLE> </HEAD> <BODY> <TABLE BORDER="1"> <SCRIPT> for (var r = 0; r < 3; r++) { document.write('<TR>'); for (var c = 0; c < 5; c++) { document.write('<TD>'); document.write('<DIV CLASS="cellContainer">'); for (var i = 0; i < 10; i++) document.write(r + ', ' + c + ': ' + i + ': Kibology<BR>'); document.write('<\/DIV>'); document.write('<\/TD>'); } document.write('<\/TR>'); } </SCRIPT> </TABLE> </BODY> </HTML>
Very weird. This has to have something to do with /width: 100%;/ in the testcase.
Duplicate of bug 63513 *** This bug has been marked as a duplicate of 63513 ***
Status: NEW → RESOLVED
Closed: 25 years ago
Resolution: --- → DUPLICATE
QA Contact: ian → amar
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: