Closed
Bug 104229
Opened 23 years ago
Closed 23 years ago
table loses colors (css) when changing font-size for monospace font family
Categories
(Core :: CSS Parsing and Computation, defect)
Tracking
()
RESOLVED
WORKSFORME
People
(Reporter: markus, Assigned: dbaron)
References
()
Details
(Keywords: testcase)
Attachments
(2 files)
I have a table which uses css to display a backgound color. Open the Prefs dialog, go to fonts, change the font-size, click ok, backgound-colors become white.
Comment 1•23 years ago
|
||
could you pls attach the sample html file, or point us to the url, where this happens? thx!
Comment 2•23 years ago
|
||
-> Style System. There's a related bug about bgcolor not changing on pages opened prior to making the pref change in the prefs dialog.
Assignee: sgehani → dbaron
Component: Preferences → Style System
QA Contact: sairuh → ian
Reporter | ||
Updated•23 years ago
|
Reporter | ||
Comment 3•23 years ago
|
||
Added a url.
Comment 4•23 years ago
|
||
seeing this on current linux (2001-11-16-08)
Status: UNCONFIRMED → NEW
Ever confirmed: true
Assignee | ||
Comment 5•23 years ago
|
||
A simplified testcase would be nice. Does this only happen when the background-color is specified on the TR? On some other element?
Reporter | ||
Comment 6•23 years ago
|
||
bgcolor is specified through external stylesheet.
Assignee | ||
Comment 7•23 years ago
|
||
On which element? TD? TR?
Comment 8•23 years ago
|
||
Just load the testcase and then open preferences and change the font (or text/background color). Notice how the background on the <tr> goes away but that on the <div> stays...
Comment 9•23 years ago
|
||
Looks like this is an issue with quirks mode style resolution for tables...
Assignee | ||
Comment 10•23 years ago
|
||
Backgrounds on inner table elements work very differently in quirks and strict mode. In strict mode, the frames draw the background, but in quirks mode, we have: /* Quirk: make sure backgrounds are inherited in tables */ td, th, tr { background: inherit; } in quirks.css and only the cell frames draw the backgrounds.
Comment 11•23 years ago
|
||
*** Bug 115224 has been marked as a duplicate of this bug. ***
Assignee | ||
Comment 12•23 years ago
|
||
Is this still a problem?
Comment 13•23 years ago
|
||
This now works fine for me (I _did_ see the problem with the testcases I posted when I posted them). Markus, are you still seeing this problem?
Reporter | ||
Comment 14•23 years ago
|
||
i don't see the problem with 2002021421 on linux. thanks for fixing.
Comment 15•23 years ago
|
||
This worksforme...
Status: NEW → RESOLVED
Closed: 23 years ago
Resolution: --- → WORKSFORME
You need to log in
before you can comment on or make changes to this bug.
Description
•