Closed Bug 25895 Opened 26 years ago Closed 26 years ago

<PRE> does not inherit font color

Categories

(Core :: CSS Parsing and Computation, defect, P3)

defect

Tracking

()

VERIFIED FIXED

People

(Reporter: 1212mozilla, Assigned: rickg)

References

()

Details

(Keywords: testcase, Whiteboard: [TESTCASE])

Attachments

(1 file)

The summary pretty much says it all. The table in question is supposed to have a black background with green letters, but instead it looks like a big black square with no text in it at all. Tested in M13. This bug is completly reproducable, as I have never seen the table in question be anything other than totally black with Mozilla.
Transparent GIF as table background. *** This bug has been marked as a duplicate of 18170 ***
Status: NEW → RESOLVED
Closed: 26 years ago
Resolution: --- → DUPLICATE
Doh. My mistake, that was meant for another bug. THIS bug is NOT a dup of 18170.
Reopening.
Status: RESOLVED → REOPENED
Resolution: DUPLICATE → ---
Attached file Testcase —
To make up for my mistake above, I have made you a nice little testcase :-) The problem is that <PRE> is does not inherit font color. The following: <FONT COLOR="#00FF00"><PRE>Preformatted text</PRE></FONT> does not turn the text green. Reassigning and changing Summary.
Assignee: karnaze → pierre
Status: REOPENED → NEW
Component: HTMLTables → Style System
Keywords: testcase
OS: Linux → All
Hardware: PC → All
Summary: Entire table is the color of table background (including text) → <PRE> does not inherit font color
Whiteboard: [TESTCASE]
Thanks mats. The code is invalid: <font> which is an inline element cannot contain <pre> which is a block-level element. It's a residual style issue and probably a duplicate. Reassigned to rickg.
Assignee: pierre → rickg
Sure enough- I had disabled residual style for pre. It's working in my tree now.
Status: NEW → ASSIGNED
Target Milestone: M14
Fixed by checkin last night.
Status: ASSIGNED → RESOLVED
Closed: 26 years ago → 26 years ago
Resolution: --- → FIXED
Using 2/17 build, verified bug fixed. Pre is inheriting font color.
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: