zurb/foundation — pull request #537 by daftspunk (2012-06-30 01:42:12+00:00)
Title: font-size mixin fix

Hey guys,

Great work on Foundation 3. Really really impressed.

I noticed px was dropped from the font-size mixin, then added back in again. It caused problems for my site rendering in Firefox because of the rem definition.

$size: 10;

font-size: ($size / 10)rem;

produces

font-size: 1 rem;

Notice the space between 1 and rem, from what I gather, Firefox ignores "rem" and treats it as font-size:1; also Firefix refuses to acknowledge any cascading attempts at changing the font size.

font-size: ($size / 10) + rem;

produces

font-size: 1rem;

This commit fixes the problem and let's you go back to dropping the px if you desire. Although I'm happy for px to stay ;)