[Webkit-unassigned] [Bug 25368] New: Discrepancy w/ CSS Font Sizes in Chrome/Safari

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Apr 24 10:25:27 PDT 2009


https://bugs.webkit.org/show_bug.cgi?id=25368

           Summary: Discrepancy w/ CSS Font Sizes in Chrome/Safari
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: PC
        OS/Version: Windows XP
            Status: UNCONFIRMED
          Severity: Trivial
          Priority: P2
         Component: CSS
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: readmorelit at gmail.com


Defining the font size using CSS. Checking font in Chrome, Safari, IE, Firefox,
and Opera. Setting font size to 16px, font correctly remains the default size
in all five browsers. 

However, setting font size to 1em, which is supposed to be the equivalent of
16px, the font only remains the default size in IE, Firefox, and Opera. The
font shrinks in Chrome/Safari. 

Setting font size to 100%, which should change nothing since it's only
referring to staying 100% of the default size (16px) produces the same result.
The default size remains the same in IE, Firefox, and Opera, but shrinks in
Chrome/Safari.

It seems font sizes can only be defined in pixels if hoping to have
Chrome/Safari render the same as other browsers. Really hope this can be fixed
because I'm designing using "em" to define font and element sizes for user
flexibility, but cannot do so without Chrome/Safari rendering font size the
same  all across the board. 100% = 1em = 16px.


-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the webkit-unassigned mailing list