Line-height declaration in short-hand form

Safari doesn't show line-heights defined in the shorthand font declaration:

font:bold italic 14px/40px Arial, Helvetica, sans-serif;

The line height should be 40px, but it's not, in safari.

The solution is quite simple, though: use the common way to declare line-height:

line-height:40px;

Test page Workaround is included
Reported by: spark.

Safari | Reported on 29 September 2006.

This site is no longer maintained. I’m sorry, but it’s just too much work for too little return. You can continue to browse old bug reports, though.




Search reports by browser:

Atom RSS

Comments

(Add your own)

1 Posted by David Kilzer on 23 December 2006 | Permalink

Fixed as of WebKit r18399.

http://bugs.webkit.org/show_bug.cgi?id=9610#c9

Note that the test page does not render the same in Firefox 2.0.0.1 as WebKit r18399, but a smaller test case worked for me.