Closed Bug 31744 Opened 25 years ago Closed 25 years ago

inherit not working for font-family

Categories

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

defect

Tracking

()

VERIFIED DUPLICATE of bug 30127

People

(Reporter: BenB, Assigned: pierre)

Details

(Keywords: css2)

Attachments

(1 file)

Reproduce:

Load the following html fragment

<div style="font-family: serif">div<pre style="font-family:

inherit">pre</pre>divend</div>

or the following attachment.



Actual result:

"pre" displays in a fixed width font.



Expected result:

"pre" displays in a serif font.
Attached file simple test file
Blocks: 31047
Keywords: css2
'pre' is defined in html.css as 'font-family: -moz-fixed' which (that's the 
problem) can't be overridden. See bug 30127. Marked as dup.


*** This bug has been marked as a duplicate of 30127 ***
Status: NEW → RESOLVED
Closed: 25 years ago
Resolution: --- → DUPLICATE
No longer blocks: 31047
Verified duplicate.
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: