Commit Graph

9 Commits

Author SHA1 Message Date
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
Luke Page
ab96e71a34 Merge remote-tracking branch 'sommeri/import-refence-directives-2008'
Conflicts:
	test/css/import-reference.css
	test/less/import-reference.less
	test/less/import/import-reference.less
2015-01-26 22:08:35 +00:00
jurcovicovam
dc2b685194 Added unit test for referenced parent selectors
Name: Parent selectors not working within mixins using (reference)
Number: #1979
2015-01-23 18:42:02 +01:00
jurcovicovam
8f1c35a814 Extend looses @supports imported by reference
New logic: directive with body that contains something referenced (for
example by extend) will be shown in output too. @Media works with the same
logic - it shows up in output if it contains something visible.

Related to: #2359
2015-01-23 17:48:26 +01:00
jurcovicovam
ed9b6efb13 Keyframes, supports and other directives should work with import
reference. #2008
2015-01-22 14:03:00 +01:00
Luke Page
bf9c59025b Fixed that in some situations a mixin call into a referenced file wouldn't import media queries. Fixes #1469 2014-02-21 11:03:38 +00:00
Luke Page
38cca0471c make selector-less css guard fold into the current selector 2014-02-02 17:38:13 +00:00
Luke Page
42dfeb8d3b move the property check out of the ruleset and fix an issue in the visitor 2013-07-05 20:56:59 +01:00
agatronic
446e164444 rename mute to reference 2013-07-05 06:51:04 +01:00