5 Commits

Author SHA1 Message Date
Michal Moravec
aca5da768f Updated test data files 2015-09-09 22:19:08 +02:00
Luke Page
11fd6b17dc Default svgs to not be base64 encoded. encodeUri the svg-gradient function (and never base64 encode it). Fixes #2250 2015-01-03 14:59:51 +00:00
Daniel Stockman
e4fe935ea1 Prevent data-uri function from embedding files larger than 32KB.
Although IE8 does support data-uris, it only does so with a limit of 32KB. It's a silly limitation, but a source of potential bugs. When the limit is exceeded, the data-uri() function will simply return a normal url() value with a relative path to the asset.

One may pass --no-ie-compat to lessc to avoid this safeguard.
2013-02-26 18:55:35 +00:00
Jay Adkisson
2394c0065e guess the mimetype, and properly encode non-base64 uris 2013-01-05 15:29:44 +00:00
Jay Adkisson
24e41081ef add a data-uri function
as described in a comment on #775
2013-01-05 15:29:42 +00:00