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)
Tracking
()
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>
| Reporter | ||
Comment 1•25 years ago
|
||
Comment 2•25 years ago
|
||
Very weird. This has to have something to do with /width: 100%;/ in the testcase.
Comment 3•25 years ago
|
||
Status: NEW → RESOLVED
Closed: 25 years ago
Resolution: --- → DUPLICATE
Updated•25 years ago
|
QA Contact: ian → amar
You need to log in
before you can comment on or make changes to this bug.
Description
•