Bug 19643

Summary: Safari renders smaller text when style is monospace
Product: WebKit Reporter: Anantha Keesara <anantha>
Component: New BugsAssignee: Nobody <webkit-unassigned>
Status: RESOLVED DUPLICATE    
Severity: Normal CC: hyatt, jshin, mitz, ojan, tony
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: PC   
OS: Windows XP   
Attachments:
Description Flags
reduction
none
simpler reduction none

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]
reduction
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 ***