Commit Graph

33 Commits

Author SHA1 Message Date
meri
296dac360c Added rootpath-relative tests. 2013-08-07 11:09:48 +02:00
meri
1f4bab6453 Added rootpath tests. 2013-08-07 09:41:59 +02:00
meri
58f35b4cd1 Added relative urls tests. 2013-08-07 09:17:19 +02:00
meri
e41d32184e Converted browser/browser tests into jasmine. 2013-08-06 16:45:59 +02:00
meri
38d72f1030 Removed dead code. 2013-08-05 16:11:36 +02:00
meri
c1e1edc0c3 Changed error message. 2013-08-05 15:59:29 +02:00
meri
1ea0416adb Added wait into error tests. 2013-08-05 15:58:04 +02:00
meri
3765bb2926 Did legacy tests and working on errors. 2013-08-05 11:32:06 +02:00
meri
9eddb1b5af Added template and config for main runner. 2013-08-03 16:20:06 +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
98f2fef2df add option to disable javascript. Fixes #688 2013-07-05 06:52:29 +01:00
Luke Page
cfe9ae7798 Add svg-gradient function. Fixes #1383 2013-07-05 06:51:58 +01:00
Byron Wong
c4dc89b74b take out previous inline test attempt. add new test to runner-browser to test inline LESS 2013-07-05 06:51:47 +01:00
Luke Page
b726b0d96c Fix modifyVars to use a per file cache so less is re-evaluated properly. Also add tests and \n in case of comment on the last line 2013-07-05 06:49:09 +01:00
ForbesLindesay
22c5bd77c4 Fix global variable leaks 2013-07-05 06:10:16 +01:00
Luke Page
65602099cc rename strictMaths to strictMath, set default to false, update strict options to take = on | off 2013-05-02 18:18:51 +01:00
agatronic
017bb2c234 Improvements to browser tests that don't raise a false negative when switching branches 2013-04-30 15:18:11 +01:00
agatronic
46e1613ba7 Handle ./ paths in the browser when relative correctly. Fixes #1238 2013-04-30 15:17:05 +01:00
Luke Page
5d102d545b Fix browser tests 2013-04-29 16:41:49 +01:00
Luke Page
9f0c58cfa4 make browser test file paths host relative 2013-02-26 19:14:48 +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
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
914eb404d7 Fix import errors in browser mode. Fixes #1117 and fixes #1118 2013-02-10 12:47:25 +00:00
Luke Page
88f3f02213 Correct some error inconsistancies. Add browser testing of errors - import missing error fails because of #1117 2013-02-05 22:38:43 +00:00
Luke Page
28172d50f7 support windows line endings in browser tests 2013-02-02 18:25:07 +00:00
Luke Page
26b6bc470d browser tests for legacy strictMaths===false and strictUnits===false 2013-02-02 18:24:37 +00:00
Luke Page
8745ab442a test production browser mode does not output log messages 2013-01-05 15:29:48 +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
Luke Page
6554117643 Add initial browser test suite using phantomjs for headless testing and jasmine 2012-12-16 08:45:51 +00:00