Matthew Dean
d07a9b6cc6
Fix for #2841 - Fix reversion for "color-like" keywords.
2016-04-22 16:31:56 -07:00
Stefan Weil
bf279b36be
Fix typos found by codespell
...
Signed-off-by: Stefan Weil <sw@weilnetz.de >
2016-04-01 12:01:40 +02:00
Matthew Dean
d061bdb2f1
Added tests for valid and invalid nodes returned by functions
2016-03-05 14:31:13 -07:00
Matthew Dean
6e97db84b3
Tests passing for creating directives
2016-03-04 14:10:53 -07:00
Matthew Dean
7a80224415
Merge branch 'master' into root-functions
2016-03-04 09:47:48 -07:00
meri
c12a7df917
This fixes #2798 - left part of inequality could not be enclosed in
...
parenthesis.
2016-02-17 16:20:17 +01:00
Max Mikhailov
01b11a7440
Fix comments after named color regression
2016-02-06 04:29:07 +03:00
Max Mikhailov
a58bb76e4c
polish "root func" error handling
2016-01-29 02:20:40 +03:00
Matthew Dean
87f8b2d43e
Add test demonstrating arguments and semi-colon separators
2016-01-26 17:10:15 -08:00
Matthew Dean
7f535a891d
Allow root functions defined via @plugin
2016-01-26 16:54:51 -08:00
Max Mikhailov
e3c13121df
allow unknown at-rules w/o {} block
2016-01-26 11:00:31 +03:00
meri
8cc6ea89b1
Logical operator and now has higher precence then logical operator or.
2016-01-17 19:37:51 +01:00
meri
9ed82e027d
Added tests for #2124
2016-01-15 13:42:42 +01:00
meri
ce55a8e79c
Fixing #2124 - Parsing Error "Unrecognised input" for color operations
...
with color names.
2016-01-14 23:46:05 +01:00
meri
77627050c7
Added "or" keyword and allowed arbitrary logical expression in guards.
2015-12-20 20:11:11 +01:00
meri
dd09691b38
Fixed extend leaking through nested parent selector. #2586
2015-12-13 15:49:20 +01:00
meri
e753a7eba2
Created separate test case for #2162
2015-11-20 15:31:27 +01:00
meri
ead3e29f7b
Fixing import by reference
...
- refactored how import reference works
- refactored to-css-visitor (this is side product, it was getting
complicated)
- fixes issues #1851 , #1896 , #1878 , #2716 , #1968 , #2162 (same as #1896 )
2015-11-20 15:10:53 +01:00
Luke Page
1f624bdf38
Merge pull request #2644 from SomMeri/percentage-should-error-on-nan-2553
...
`percentage` function should throw error if result would be `NaN`
2015-09-17 07:49:45 +01:00
Luke Page
8dc3bfb024
Merge pull request #2646 from SomMeri/mixin-matching-with-default-parameters-2645
...
Parametric mixins: parameters don't match error
2015-09-17 07:48:58 +01:00
Michal Moravec
7bafb62057
Converted CLRFs in error tests
2015-09-09 22:32:11 +02:00
Luke Page
21858a50d5
Merge pull request #2642 from SomMeri/import-by-reference-inline-2620
...
Fixes import by reference inlines source's inline imports - 2620
2015-09-09 13:04:14 +01:00
Jacques Favreau
74ef1ebacd
Reference inline comments.
...
As described in https://github.com/less/less.js/issues/2675 in-value comments are not preserved in referenced rules.
This patch adds reference marking to nodes below rules and expressions if markReferenced is available.
2015-08-31 11:42:40 -07:00
jurcovicovam
19dc9e78b9
Added getIsReferenced into anonymous node. The visibility of anonymous
...
node type now works the same way as visibility of ruleset or directive.
2015-07-25 16:03:06 +02:00
jurcovicovam
e7ce82bec6
Fixed mixins definition matching problem when mixin definition contains
...
parameters with default values. #2645
2015-07-22 17:02:36 +02:00
jurcovicovam
e8efa6e033
Percentage should work the same way as other math functions (round, floor,
...
etc) and throw error on NaN. #2553
2015-07-20 14:31:53 +02:00
jurcovicovam
34e3ea61ce
Import inline located inside file imported by reference should not be
...
present in output. Close #2620
2015-07-19 14:07:21 +02:00
seven-phases-max
3178103b7f
merge updated expand-operator with master
...
plus reworked tests
2015-06-25 23:53:32 +04:00
seven-phases-max
7203286706
fix #2558
2015-04-19 19:49:27 +04:00
Luke Page
7ed9574d8a
Merge pull request #2530 from seven-phases-max/proper-non-primitive-value-replacement-for-format-and-replace
...
Proper non-primitive value replacement for `%` and `replace`
2015-04-03 08:04:03 +01:00
Bass Jobsen
ea43e7d6d0
Merge remote-tracking branch 'upstream/master' into image-size
2015-04-01 23:45:14 +02:00
Luke Page
86fa4f6f9d
Merge pull request #2522 from rjgotten/fix-plugin-scoping
...
Fix `@plugin` scoping rules
2015-04-01 06:46:40 +01:00
seven-phases-max
13ef5b7422
proper non-primitive value replacement for % and replace functions
2015-03-31 19:35:22 +04:00
Bass Jobsen
f0f271919b
fixes for issue #2482
2015-03-29 18:16:01 +02:00
Luke Page
e411f548c1
Merge pull request #2520 from less/bugfix/2440
...
Fix 2440
2015-03-26 16:25:56 +00:00
rjgotten
0a6e2f814d
merge changes from upstream
2015-03-23 10:40:01 +01:00
Luke Page
17aafae556
Add test for #2440
2015-03-21 22:08:50 +00:00
seven-phases-max
414d21c7af
Fix naked url import
2015-03-21 15:19:14 +04:00
Luke Page
5c0179d199
Merge branch 'master' of https://github.com/less/less.js
2015-03-20 17:14:41 +00:00
Luke Page
936b78c6b4
See missing media blocks. Fixes #2494
2015-03-20 17:13:10 +00:00
rjgotten
4d17c8b35d
Fix plugin scope for mixins, directives and detached rulesets
...
Fixed scope for plugins to apply correctly for mixins, directives and
detached rulesets.
Updated plugin unit tests to be more comprehensive
2015-03-20 16:41:05 +01:00
Luke Page
a6dca8872a
Merge pull request #2504 from bassjobsen/relative
...
optional relative amounts for color functions, see#975
2015-03-20 08:22:44 +00: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
rjgotten
b948dad7ab
Fix selectors folding into directives
...
When directives bubble up to global scope, selectors are no longer
folded into directives that do not logically allow them.
Fixes #2511
2015-03-19 20:22:40 +01:00
Luke Page
8526dee6be
Merge pull request #2505 from bassjobsen/paths
...
fix for issue #2500
2015-03-16 06:40:19 +00:00
Bass Jobsen
4bb098bfc9
fix for issue #2500
2015-03-15 23:09:50 +01:00
Luke Page
d7846e2ae5
Merge pull request #2479 from rjgotten/import-plugin
...
Import plugin
2015-03-15 17:44:47 +00:00
rjgotten
9518763128
Updated plugin import syntax
...
- Updated parser to recognize `@plugin` and removed parsing support for
the (plugin) import option.
- Updated plugin import unit tests to `@plugin` syntax
2015-03-15 11:05:37 +01:00
Bass Jobsen
622a521b11
optional relative amounts for color functions, see#975
2015-03-15 00:12:47 +01:00
Bass Jobsen
1376b77582
all tests run both in browser and CLI now
2015-03-11 10:24:37 +01:00