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:


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


(Add your own)

1 Posted by David Kilzer on 23 December 2006 | Permalink

Fixed as of WebKit r18399.

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