Closed
Bug 179436
Opened 22 years ago
Closed 22 years ago
font-family: monospace does not use monospaced font if "allow other fonts" is disabled
Categories
(Core :: Layout: Text and Fonts, defect)
Tracking
()
People
(Reporter: levon, Unassigned)
References
()
Details
checkout finish: Sat Nov 9 15:57:57 GMT 2002 (trunk)
OK, I have set a monospace font, and de-selected "Allow
pages to use other fonts". Now I see :
<tt>blah</tt>
is correctly monospaced but
<span class="blah">blah</span>
blah {
font-family: monospace;
}
does NOT use my monospace font. Now, the question
is if this is correct behaviour ? The page does
not want to use an "other" font, it wants my standard
monospace font. And <tt> still works.
Compare http://oprofile.sourceforge.net/intel-events.php3
with http://oprofile.sourceforge.net/oprofile-2.5.html
I searched for this, but not found. I set it to UNCO
anyway as I'm not sure it makes sense/isn't a dupe.
Comment 1•22 years ago
|
||
The preference turns off all author styling of fonts. <tt> is not styling of
font; it's a semantic tag that you (via your user stylesheet) can control if you
wish.
Status: UNCONFIRMED → RESOLVED
Closed: 22 years ago
Resolution: --- → INVALID
Reporter | ||
Comment 2•22 years ago
|
||
OK, it's correct as designed. But should it work like this ? The
pref will become more and more intrusive as more CSS styling is used.
I suppose you answered this question. I shall just have to live with
it.
The pref label is misleading, but since I don't have a better text ...
(do you know of a workaround I could use ?)
Status: RESOLVED → VERIFIED
Comment 3•22 years ago
|
||
Bug 79094 is an RFE that this pref allow choice between user-specified generic
fonts.
Comment 4•22 years ago
|
||
Actually, I'm going to reopen and mark...
Status: VERIFIED → UNCONFIRMED
Resolution: INVALID → ---
Comment 5•22 years ago
|
||
*** This bug has been marked as a duplicate of 79074 ***
Status: UNCONFIRMED → RESOLVED
Closed: 22 years ago → 22 years ago
Resolution: --- → DUPLICATE
Comment 6•22 years ago
|
||
Good question... I assume "font { font-family: inherit !important }" in your
user stylesheet is not what you really want...
Perhaps it's worth filing an rfe on the style system for a system of font prefs
that gives control over this sort of stuff...
Comment 7•22 years ago
|
||
Um.. ignore me. I was responding to comment 2 and neglected to read the rest of
the bug....
Verified dup.
Status: RESOLVED → VERIFIED
You need to log in
before you can comment on or make changes to this bug.
Description
•