'Always use my font choices' doesn't respect monospace
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Midori Web Browser |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
The feature introduced in bug 826441 and bug 883879 respectively allows me to have my favourite font even if the website tries to ignore it. The problem is monospaced fonts are also overridden, which is very annoying with source code, release notes and other bits which are intentionally monospaced.
Some example cases:
http://
http://
http://
http://
http://
http://
In all cases you can see text paragraphs or individual occurences of text which are monospaced *unless* Midori is asked to use your fonts.
Changed in midori: | |
status: | Fix Committed → Fix Released |
A few notes on the new CSS: css/html. css (the "user agent stylesheet" in the inspector) has the following rules which serve as a pretty good guideline to which elements should be monospaced:
WebCore/
tt, code, kbd, samp {
font-family: monospace
}
pre, xmp, plaintext, listing {
display: block;
font-family: monospace;
white-space: pre;
margin: 1__qem 0
}
So I'd suggest using those sets of elements for monospace, and using just "body" for proportional, as body * will only apply to subelements of the body, but not text in the body itself.