Matthew Dean
6237e13b14
[Feature] Namespaced values ( #3242 )
...
* calc() fix - fixes #974
* Parses and retrieves a namespaced value
* Adds a bunch of new tests for aliasing and namespacing
* Added more CSS Grid tests
* Added tests for passing mixins into mixins, since it's just another value
* Release v3.5.0-beta.4
2018-06-30 09:32:02 -07:00
Matthew Dean
42fd7dca20
Release v3.5.0 beta ( #3230 )
...
* Lint cleanup of quotes
* v3.5.0-beta
2018-06-24 20:14:33 -07:00
Matthew Dean
a75f7d9664
Fixes #3147 #2715 ( #3213 )
...
* Adds permissive parsing for at-rules and custom properties
* Added error tests for permissive parsing
* Change custom property value to quoted-like value
* Allow interpolation in unknown at-rules
* Allows variables to fallback to permissive parsing
* Allow escaping of blocks
2018-06-21 23:44:38 -07:00
Matthew Dean
85a716c1cf
Revert "Fixes #1421 - re-parses variable-interpolated elements to selectors ( #3217 )"
...
This reverts commit 23569c98e2 .
2018-06-17 16:20:48 -07:00
Matthew Dean
23569c98e2
Fixes #1421 - re-parses variable-interpolated elements to selectors ( #3217 )
...
* Adds passing test from #3098
* Added passing test example from #1817
* Allow lists to be re-evaluated as selectors (Fixes #1694 )
2018-06-16 11:58:09 -07:00
Matthew Dean
bad9be8a11
Fixes #3112
...
- also fixes browser test broken with lowercase API change
2017-10-09 22:11:19 -07:00
Matthew Dean
4f6818db37
Merge branch '3.x' into dev/3.x-work
2017-10-08 15:30:08 -07:00
Matthew Dean
26674fc867
FIXES syncImport for less-node
2017-10-08 15:21:13 -07:00
Max Mikhailov
6a683eb62d
eslint spaced-comment and corresponding changes
2017-06-01 02:27:55 +03:00
Matthew Dean
68ea31dc89
Line and column # reporting for Node errors
2017-01-01 12:58:09 -08:00
Matthew Dean
43ab0b8722
Added error test for unparseable @plugin with better error messaging
2016-12-31 20:04:51 -08:00
Kirill Rogovoy
b23ffe1e4b
Move error formatting logic to LessError
2016-10-12 11:15:31 +03:00
Barnaby Colby
50efcdd7aa
Added code to ensure that String.prototype.endsWith is always defined, preventing a problem when testSourceMap is run on older versions of node.
2016-08-05 18:07:52 +01:00
Barnaby Colby
80c214d3c9
Added code to the source map test function to check the presence and correctness of the sourceMappingURL CSS appendage.
2016-08-04 21:20:15 +00:00
Matthew Dean
ad57737ce0
All tests passing for @plugin
...
- Inline JavaScript disabled by default
- Deprecated "preprocessor" option removed (preprocessor plugins still valid)
2016-07-12 22:26:39 -07:00
meri
73f93d4fce
removing forgotten commit
2016-01-15 14:37:41 +01:00
meri
ce55a8e79c
Fixing #2124 - Parsing Error "Unrecognised input" for color operations
...
with color names.
2016-01-14 23:46:05 +01:00
Luke Page
b10928720f
Merge branch 'tests' of https://github.com/bassjobsen/less.js
...
Conflicts:
test/index.js
2015-03-20 08:11:46 +00:00
Bass Jobsen
4bb098bfc9
fix for issue #2500
2015-03-15 23:09:50 +01:00
Bass Jobsen
410a86a594
run postprocess plugin test CLI too
2015-03-04 09:11:17 +01:00
Krzysztof Chrapka
5fac1f0e0b
Fix empty sourcemaps
...
fixes #2430
2015-02-06 18:21:24 +01:00
Luke Page
f5700b8b33
do not do bom test unless prep is called - in order to allow plugins to continue to use less acceptance test system without bom tests.
2015-02-02 20:12:18 +00:00
Luke Page
604c911441
style cop 2 - indentation
2015-01-30 20:41:25 +00:00
Luke Page
1494e25ef0
More style cop..
2015-01-30 18:28:02 +00:00
Luke Page
d206167c84
enforce spaces between operators for consistency
2015-01-27 22:24:12 +00:00
Luke Page
31c3d04980
jscs style checking. Fixed whitespace issues.
2015-01-26 23:34:35 +00:00
shaun
d7f79be40d
Always copy/create BOM tests, even if they already exist.
...
Useful if editing tests, so you don't have to keep deleting the
test/less-bom folder between each test.
2015-01-14 20:49:36 -08:00
shaun
023dd62c88
Make copy of options before each test set.
...
Some operations modify the options object, which could influence the next
test set.
Modified the test labels in the output to include the
folder (to distinguish between the normal and BOM tests).
Modified warning message from data-uri file-not-found to include the
filename.
2015-01-14 08:26:39 -08:00
shaun
7f8026284a
Remove BOM in imports.
...
Modified tests to run against a copy of the test files with BOMs inserted
into each .less and .css file (the copies are generated automatically if
the /test/less-bom folder doesn't exist or is empty).
2015-01-13 20:32:47 -08:00
jurcovicovam
84b1863ddf
Support include-path inside data-uri. Related to #1634 and #2275
2015-01-13 15:09:41 +01:00
Luke Page
15fc1cb332
exclude sync and integration tests if test name is specified
2015-01-04 08:45:57 +00:00
Luke Page
f47875ea28
some fixes to the tests and warn if render calls the callback multiple times
2015-01-03 14:52:50 +00:00
Luke Page
52a3790569
Fix testing framework - was skipping some tests.
2015-01-03 09:03:08 +00:00
Luke Page
8fc12e1b67
run less tests one after another
2014-11-28 19:46:49 +00:00
Luke Page
d87777d18c
output warning log messages during testing
2014-11-28 18:07:54 +00:00
Luke Page
89c95af070
Fix isSync option, turn browser back to running sychronously and fix many issues that came up
2014-11-22 18:30:36 +00:00
Veres Lajos
73f3fc4468
typo fixes
2014-11-02 23:18:29 +00:00
Luke Page
823ab221dd
further simplifications to the parse context
2014-09-22 21:24:48 +01:00
Luke Page
5dbae36642
Do not require users to construct a source map builder
2014-09-20 00:43:02 +01:00
Luke Page
e172602938
change render and tree to return an object containing css and map and in the future possibly other things
2014-09-20 00:29:05 +01:00
Luke Page
d9a6b46234
initial work to allow post process plugins to work with sourcemaps
2014-09-19 14:45:41 +01:00
Luke Page
b721c4f44f
use a sourcemap builder for sourcemap output, seperated from the other less options
2014-09-18 22:23:15 +01:00
Luke Page
d9c42e206d
seperate out the environments at the top-most-level
2014-09-04 19:11:59 +01:00
Luke Page
4f5a449b0b
move creation of env to invoker
2014-09-04 18:24:24 +01:00
Luke Page
544bd3abf0
Change code to use less.render
2014-09-03 16:24:09 +01:00
Luke Page
cde9b79b6c
much improved comment parsing
2014-08-17 11:30:18 +01:00
Luke Page
d7e7ddba44
move functions into its own folder and give it a set interface
2014-08-16 13:17:35 +01:00
Luke Page
1ff24b4c26
do not use util.print since it is deprecated. Fixes #2081
2014-07-27 16:56:46 +01:00
Luke Page
6de8fc189f
Fix double toCSS calls in unusual situations causing an exception. Fixes #1830
2014-02-08 16:45:36 +00:00
meri
85197ee577
Merge branch 'master' of https://github.com/less/less.js into rhino
...
Conflicts:
.gitattributes
README.md
test/index.js
2014-01-14 22:48:46 +01:00