When I try to get the whole font style of an element with IE or Firefox with the following code I only get a empty result, but with Chrome and Opera I get "normal normal bold normal 20px/normal arial"
as I would have expected.
<!-- HTML -->
<div id="test" style="font: bold 20px arial; color: red;">test</div>
// JS
alert($('#test').css('font'));
Wyh does this happen and how do I get the complete font property otherwise?
FIDDLE: http://jsfiddle.net/mwj12xkv/