Add basic support for vw, vh, vmin, vmax units (CSS3 Viewport-percentage lengths).
Without this patch phpsass removes, for example, vh from height: 20vh;, resulting in an invalid height: 20; line.
Now it works, and height: 10 + 10vh; also results in correct height: 20vh;.
Actually, original SASS has no 'invalid' units, all units there are supported, even non-existent ones.
Add basic support for
vw
,vh
,vmin
,vmax
units (CSS3 Viewport-percentage lengths).Without this patch phpsass removes, for example,
vh
fromheight: 20vh;
, resulting in an invalidheight: 20;
line. Now it works, andheight: 10 + 10vh;
also results in correctheight: 20vh;
.Actually, original SASS has no 'invalid' units, all units there are supported, even non-existent ones.
See: http://www.w3.org/TR/css3-values/#viewport-relative-lengths http://caniuse.com/viewport-units