https://bugzilla.wikimedia.org/show_bug.cgi?id=33496

       Web browser: ---
             Bug #: 33496
           Summary: Misleading comment regarding preformatted font in
                    commonElements.css
           Product: MediaWiki
           Version: 1.19-svn
          Platform: All
        OS/Version: All
            Status: NEW
          Keywords: need-review, patch
          Severity: normal
          Priority: Unprioritized
         Component: General/Unknown
        AssignedTo: [email protected]
        ReportedBy: [email protected]
    Classification: Unclassified


Created attachment 9796
  --> https://bugzilla.wikimedia.org/attachment.cgi?id=9796
Patch for commonElements.css

commonElements.css contains the following (annoyingly wrong) comment:

  * It's important for this rule to first reference an actual font name, some
browsers will render the monospace text
  * too small otherwise, namely Firefox, Chrome and Safari

However, the rule refers to a generic font-family first for a reason: to
trigger the correct font rendering behaviour *without* forcing a specific font.
This patch has an updated comment:

  * Some browsers will render the monospace text too small, namely Firefox,
Chrome and Safari.
  * Specifying any valid, second value will trigger correct behaviour without
forcing a different font.

It also changes '"Courier New"' to just 'Courier', which works equally well (as
the font is never selected anyway).

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to