Closed
Bug 37525
Opened 24 years ago
Closed 24 years ago
empty table cells ignore table bgcolor
Categories
(Core :: Layout: Tables, defect, P3)
Tracking
()
People
(Reporter: chris_mullendore, Assigned: karnaze)
Details
When stating a table background color, that color sould occupy all space that the table covers. If a cell is empty, but is explicitly told to occupy a certain amount of space (ex. for layout control), it should still use the background color that it's parent table is explicitly told to use, even if it recognizes an empty cell (identifiable by the absence of a cell border on that cell). Current implementation simply 'skips' filling the table's BGCOLOR on that empty cell. SEE EXAMPLE CODE BELOW Reproducable in previous versions of Netscape on PC & Mac, and in current version of Mozilla. EXAMPLE CODE SNIPPET: <table bgcolor="red" border="2"> <tr><td height="20">This will be red background</td></tr> <tr><td height="20"></td></tr> <tr><td height="20">The above should be red, because it is part of a red table<br>but it won't be, because the cell is empty</td></tr> <tr><td height="20"> </td></tr> <tr><td height="20">The above cell will be red because it contains a space</td></tr> <tr><td>Thanks for the great work!</td></tr> </table>
Marking as duplicate of bug 8113 "Empty cell's bgcolor not rendered" *** This bug has been marked as a duplicate of 8113 ***
Status: UNCONFIRMED → RESOLVED
Closed: 24 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•