Commit Graph

20 Commits

Author SHA1 Message Date
Luke Page
037cdb5916 fix tests 2013-07-15 22:03:52 +01:00
agatronic
446e164444 rename mute to reference 2013-07-05 06:51:04 +01:00
Luke Page
f4902f809c rename import silent to import mute. Fixes #1210 2013-07-05 06:51:02 +01:00
Luke Page
493d6facf2 support comments. Add failing test case for when mixin call does not have parent selectors 2013-07-05 06:50:57 +01:00
Luke Page
aa802bd84c import silent to work with media queries and directives 2013-07-05 06:50:56 +01:00
Luke Page
b912a971d3 import silent: add tests for extends 2013-07-05 06:50:56 +01:00
Luke Page
33c5ecd100 import silent - handle selectors containing amp 2013-07-05 06:50:55 +01:00
Luke Page
5df82b69ce Basic functionality and basic tests for import silent 2013-07-05 06:50:54 +01:00
Luke Page
6fc6dc2301 Add import inline option. Fixes #1209 2013-07-05 06:48:47 +01:00
Luke Page
8437d0766d remove short lived @import-once in favour of @import (default is once) and @import (multiple) for multiple 2013-03-05 11:39:05 +00:00
Luke Page
5d54af2039 import interpolation finished. refactored the import phase to occur only within the import visitor - so that the import eval env can be passed between imports. 2013-03-01 13:40:54 +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
Salim Bensiali
37729e17af Added missing newline at end of file 2012-12-27 20:43:55 +00:00
Salim Bensiali
e59a93b5fd Relative URLs in LESS files should be relative to the file that defines them.
It is up to the parser and compiler to rewrite them when those files are
imported by another LESS file.

- Modified and added test cases for import and import-once rules
- Fixed difference between client side and server side handling of relative urls
- Added a -rootpath option to lessc to specify another base path for the url
  rewriting. By default, rootpath=''
2012-12-27 20:40:16 +00:00
Luke Page
8cfe7acdae make import-once use the full path, not the possibly relative path to determine if an import has already been included 2012-12-22 10:21:28 +00:00
Luke Page
eb7242da30 Test that import paths load from the current directory first 2012-12-22 07:53:41 +00:00
tscheinecker
1f19a043a5 only include the first @charset definition - subsequent ones will be
rendered as a comment + debugInfo when debugging is enabled.
2012-10-28 14:06:56 +00:00
Luke Page
70870dd9dd Fix unit test for import-once so that tests pass. Previous test commit had bad assumptions 2012-07-29 16:26:55 +01:00
Alexis Sellier
7dd31ff654 improve import support with media features 2012-01-05 21:31:39 +01:00
cloudhead
70e6523db4 test files, from less.rb 2010-02-23 18:02:00 -05:00