Commit Graph

15 Commits

Author SHA1 Message Date
Luke Page
ba3d24a352 Support urls begining // which are unquoted. Fixes #2238 2014-10-21 13:01:01 +01:00
Luke Page
e097c189cb fix another browser test 2013-09-05 17:07:59 +01:00
Luke Page
c139e691ad Merge branch '1.5.0-wip' of https://github.com/upstage/less.js
Conflicts:
	.gitignore
	.jshintrc
	CHANGELOG.md
	Makefile
	build/browser-header.js
	lib/less/browser.js
	lib/less/functions.js
	lib/less/rhino.js
	lib/less/tree/dimension.js
	lib/less/tree/value.js
	package.json
	test/browser-test-prepare.js
	test/browser/common.js
	test/browser/css/relative-urls/urls.css
	test/browser/css/urls.css
	test/browser/template.htm
	test/css/compression/compression.css
	test/css/static-urls/urls.css
	test/css/urls.css
	test/less-test.js
2013-09-04 23:12:34 +01:00
Luke Page
0d9160d82d Fix browser tests after removing .. path elements 2013-09-01 18:21:47 +01:00
meri
e41d32184e Converted browser/browser tests into jasmine. 2013-08-06 16:45:59 +02:00
Jon Schlinkert
38a8664013 Merge branch 'less.js/1.5.0-wip'
Conflicts:
	.jshintrc
	Makefile
	package.json
2013-08-01 06:51:59 -04:00
Luke Page
037cdb5916 fix tests 2013-07-15 22:03:52 +01:00
Luke Page
cfe9ae7798 Add svg-gradient function. Fixes #1383 2013-07-05 06:51:58 +01: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
Luke Page
f68337e450 change data-uri to look at the file relative to the root or current less file. Fixes #1186 2013-02-16 22:11:01 +00:00
Luke Page
4c2d01a316 make env available to functions. Fix the path for the data-uri function in the browser. Fixes #997 2013-01-05 15:29:45 +00:00
Luke Page
aa9c47b5da move data-uri tests to url.less so they are not run in the browser. add browser tests. make function return url() in the browser 2013-01-05 15:29:45 +00:00
Luke Page
5b3851720a browser support for rootpath and relative urls, with test 2012-12-28 20:32:26 +00:00
Luke Page
addf87a75f Fix browser tests by moving url re-writing tests to urls.less. Also fix browser rootpath. 2012-12-28 12:38:49 +00:00
Luke Page
c35b6d733e Add browser specific url tests 2012-12-16 08:45:52 +00:00