madeleineostoja / postcss-responsive-type

Automagical responsive typography, built on PostCSS
372 stars 21 forks source link

Calc sizing not working in Chrome #8

Closed Spittal closed 8 years ago

Spittal commented 8 years ago

Hey!

Running Chrome Version 47.0.2526.73 (64-bit)

I seem to get an "invalid property" for my calc function.

the declaration is as follows:

$h1: responsive 4.8rem 5.2rem;
$h2: responsive 4.4rem 4.8rem;
$h3: responsive 3rem 3.4rem;
$h4: responsive 2rem 2.3rem;
$h5: responsive 1.6rem 2rem;
$h6: responsive 1rem 1.4rem;

Which results in this in Chrome

http://i.imgur.com/KjRunZE.png screen shot 2015-12-04 at 10 16 56 am

I can confirm that on the latest Firefox and Safari the behaviour is as expected, however on Chrome it does not work.

madeleineostoja commented 8 years ago

Fixed in https://github.com/seaneking/postcss-responsive-type/pull/7