Bug 17069 - CSS: Request for proprietary extension to generic font families 1: 'monospace'
: CSS: Request for proprietary extension to generic font families 1: 'monospace'
Status: NEW
: WebKit
CSS
: 528+ (Nightly build)
: Macintosh Mac OS X 10.5
: P2 Enhancement
Assigned To:
:
:
:
:
  Show dependency treegraph
 
Reported: 2008-01-29 13:29 PST by
Modified: 2011-09-26 20:15 PST (History)


Attachments


Note

You need to log in before you can comment on or make changes to this bug.


Description From 2008-01-29 13:29:54 PST
I would like the 'monospace' generic family to be seen as orthogonal to 'serif' and 'sans-serif' in the generic font-family fallback keywords.

I envisage sites using it in this way:

code { font-family: "Consolas", monospace serif, monospace; }

Where WebKit would recognise monospace serif as meaning 'use Courier, not Monaco'. Other browsers would look for a font called 'monospace serif', not find one, and fall back to the generic of monospace.
WebKit would ned to be hard‐coded with lists of Monospace fonts (which I believe it already has) but divided up into serif and sans‐serif.