Closed
Bug 3933
Opened 26 years ago
Closed 25 years ago
ua.css has strange rules for tables
Categories
(Core :: Layout: Tables, defect, P3)
Tracking
()
VERIFIED
FIXED
M7
People
(Reporter: ian, Assigned: peterl-retired)
References
()
Details
(Whiteboard: waiting for compat/strict ua.css files)
In ua.css, one finds the following rules for table elements:
table {
display: table;
/* ... */
background: transparent;
}
"background: transparent" is redundant in ua.css, since "transparent" is the
inital value.
td, th {
vertical-align: inherit;
background: inherit;
/* ... */
}
"background: inherit" here will cause the table's background image to be drawn
for each cell, instead of backing the table.
Ditto for tr, tbody, thead and tfoot, which all have "background: inherit".
Updated•26 years ago
|
Assignee: karnaze → peterl
Comment 1•26 years ago
|
||
ua.css was recently changed so that these internal table elements only inherit
background-color. This is still not 100% correct and we need 2 ua.css files, one
for NavQuirks mode and one for Standard mode. The current ua.css tries to both
jobs. Peter, please decide if this is still a bug.
Reporter | ||
Comment 2•26 years ago
|
||
Err, BTW, the 1999-03-23 build still has the old rules.
Also, you don't want to be inherting *any* of the background, do you?
If cells inherit background-color, then any background image set on tables or
rows will be overwritten by the cells' backgrounds. You want *no* background
rules on *any* table elements in ua.css, letting the initial value of
"transparent" to do its work.
Assignee | ||
Updated•26 years ago
|
Status: NEW → ASSIGNED
Target Milestone: M6
Reporter | ||
Updated•25 years ago
|
Whiteboard: waiting for compat/strict ua.css files
Comment 3•25 years ago
|
||
ua.css, this bug, and and many other table style bugs will be easily fixed after
Peter adds a new style rule (in the code) which gets applied after the html
style sheet but before the css style sheets.
Assignee | ||
Updated•25 years ago
|
Target Milestone: M6 → M7
Updated•25 years ago
|
Status: ASSIGNED → RESOLVED
Closed: 25 years ago
Resolution: --- → FIXED
Updated•25 years ago
|
Status: RESOLVED → VERIFIED
Comment 4•25 years ago
|
||
Marking verified. These rules no longer appear in ua.css. Background issues
are now different in standard and quirks mode.
You need to log in
before you can comment on or make changes to this bug.
Description
•