Closed
Bug 86578
Opened 23 years ago
Closed 23 years ago
[quirks]Table and stylesheet does not set color if body bgcolor is set
Categories
(Core :: CSS Parsing and Computation, defect)
Core
CSS Parsing and Computation
Tracking
()
RESOLVED
WORKSFORME
mozilla1.0
People
(Reporter: mozilla, Assigned: pierre)
References
Details
Attachments
(2 files)
Im not even sure this is a bug, but its anoying. It should be possible to set style for a whole table, not only for columns. <style type="text/css"> p,table{font-size:10px;color:#99CCFF;font-family:verdana;} </style> ... <table><tr><td>Still black</td></tr></table> --------------------------------------------- <style type="text/css"> p,table,td{font-size:10px;color:#99CCFF;font-family:verdana;} </style> ... <table><tr><td>Now this is light-blue</td></tr></table>
Comment 1•23 years ago
|
||
Comment 2•23 years ago
|
||
I've attached the reporters first html (the html I presume is causing the problems) as a testcase. The text comes up correctly in light blue for me in Build 2001061720 in WinNT. Reporter: can you confirm that the testcase is an accurate reflection of the problem you are seeing and that you see the text in black.
Works for me on Build 2001061804win32 on win98 Reporter which build are you using?
I've uploaded a corrected testcase. The bug is there only if you set the bgcolor property of the body element. I'm seeing it with the latest Linux nightly -> not platform specific bug.
Status: UNCONFIRMED → NEW
Ever confirmed: true
OS: Windows 98 → All
Hardware: PC → All
Target Milestone: --- → mozilla1.0
Comment 6•23 years ago
|
||
I'm also seeing this in Build 2001061821 in linux with Tom's attachment.
when I add <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> to the top of the document it goes away. This is a navquirk thing. Should this be fixed? What is the rational behind this kind of quirk?
another thing if we are going to emulate ns4.x, it also ignores font-size.
Updated•23 years ago
|
Summary: Table and stylesheet does not set color → [quirks]Table and stylesheet does not set color if body bgcolor is set
See bug 1044 and related bugs.
->Style System
Assignee: karnaze → pierre
Component: HTMLTables → Style System
QA Contact: amar → ian
Comment 12•23 years ago
|
||
The font non-inheritance is caused by NavQuirks. Set table {font: inherit} to fix the problem. The color quirk is also caused by NavQuirks. Setting table {color: inherit} does not yet work. See bug 46480.
Comment 13•23 years ago
|
||
build: 20010827 03, os: winnt 4 both Conor and Tom's attachment work fine for me... can't see any black text, only blue. reporter :: What build are you using ??
Comment 14•23 years ago
|
||
WORKSFORME too on Linux 2001082708
Status: NEW → RESOLVED
Closed: 23 years ago
Resolution: --- → WORKSFORME
Reporter | ||
Comment 15•23 years ago
|
||
>> reporter :: What build are you using ??
Do not remember.
Tried the testcase (second one) with 2001080703 and 2001082803 on Windows and
the bug(?) is gone/fixed (or at least WORKSFORME).
You need to log in
before you can comment on or make changes to this bug.
Description
•