Bug 18583 - font shorthand and negative line-heights fail in Safari.
Summary: font shorthand and negative line-heights fail in Safari.
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: New Bugs (show other bugs)
Version: 528+ (Nightly build)
Hardware: PC Windows XP
: P2 Normal
Assignee: Nobody
URL: http://www.hixie.ch/tests/adhoc/css/f...
Keywords:
Depends on:
Blocks:
 
Reported: 2008-04-18 09:33 PDT by Anantha Keesara
Modified: 2008-04-26 10:11 PDT (History)
0 users

See Also:


Attachments
patch (42.31 KB, patch)
2008-04-24 22:12 PDT, Anatoli Papirovski
hyatt: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Anantha Keesara 2008-04-18 09:33:04 PDT
Steps:
Go to
http://www.hixie.ch/tests/adhoc/css/fonts/008.html

Issue:
font shorthand and negative line-heights fail in Safari.

Other browsers:
IE7 : ok
FF3 beta : ok
Safari 3.1 : not ok
Opera 9.24 Build 8816 : not  

Nightly tested: r31446
Comment 1 Anatoli Papirovski 2008-04-24 22:12:46 PDT
Created attachment 20810 [details]
patch

Fixed this, as well as the same issue for font-size. I added the FNonNeg parameter to font-size, line-height, and font shorthand for both font-size and line-height. I've provided a test-case for both font-size and line-height.
Comment 2 Dave Hyatt 2008-04-24 22:20:24 PDT
Comment on attachment 20810 [details]
patch

r=me
Comment 3 mitz 2008-04-26 10:11:25 PDT
Landed in <http://trac.webkit.org/changeset/32591>.