Bug 19643 - Safari renders smaller text when style is monospace
Summary: Safari renders smaller text when style is monospace
Status: RESOLVED DUPLICATE of bug 19161
Alias: None
Product: WebKit
Classification: Unclassified
Component: New Bugs (show other bugs)
Version: 528+ (Nightly build)
Hardware: PC Windows XP
: P2 Normal
Assignee: Nobody
Depends on:
Reported: 2008-06-17 17:05 PDT by Anantha Keesara
Modified: 2009-04-13 18:27 PDT (History)
5 users (show)

See Also:

reduction (517 bytes, text/html)
2008-06-17 17:10 PDT, Anantha Keesara
no flags Details
simpler reduction (181 bytes, text/html)
2009-04-13 17:07 PDT, Tony Chang
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Anantha Keesara 2008-06-17 17:05:24 PDT
I. Steps:
 1. Launch Safari
 2. Launch the attached testcase
 II. Issue:
 Safari renders text smaller if specified as monospace as
 div { font-family: "courier new", monospace; }
 III. Other browsers:
 IE7 : Ok
 FF3 : Ok 
 Opera 9.27: Ok
 IV. Safari nightly tested: version 3.1.1(525.17 )- r34388.
 Not working properly on Safari.
 V. Safari screenshot : Not Avalible
Comment 1 Anantha Keesara 2008-06-17 17:10:47 PDT
Created attachment 21795 [details]
Comment 2 xlyuan 2009-03-25 14:31:59 PDT
This bug is affecting a lot of Google Group users, and it is also tracked in Chromium as crbug.com/2903
Comment 3 Tony Chang 2009-04-13 17:07:02 PDT
Created attachment 29445 [details]
simpler reduction

I've attached a simpler reduction which displays "hello world" three times with the following font-family's applied:
1) 'courier new', monospace
2) 'courier new'
3) monospace

In IE7, these all display hello world in the same font size.

In Firefox 3.0, the first 2 are the same size and the third is smaller (the third falls back to the default monospace font size in prefs, which is 13).

In WebKit, the first and the third are the same (default monospace font size in prefs, 13).

It's the first case being smaller in webkit that causes the fixed width text in Google Groups to look small.
Comment 4 Eric Seidel (no email) 2009-04-13 18:08:56 PDT
I'm sure we have a dupe of this somewhere.
Comment 5 Eric Seidel (no email) 2009-04-13 18:10:42 PDT
https://bugs.webkit.org/show_bug.cgi?id=19161 could be a dupe.
Comment 6 Tony Chang 2009-04-13 18:27:17 PDT

*** This bug has been marked as a duplicate of 19161 ***