425 Commits

Author SHA1 Message Date
seven-phases-max
36383dc89b Fix property interpolation for @* values 2014-09-02 00:02:49 +04:00
Luke Page
169bbada40 Merge pull request #2135 from SomMeri/charset-2126
Charsets should float on top #2126
2014-08-14 17:12:12 +01:00
Luke Page
3735d8118c Merge pull request #2128 from SomMeri/issue-2127
Mixin wrongly called
2014-08-14 17:11:22 +01:00
Luke Page
74766691cc Support for /deep/ selector. Fixes #2023 2014-08-14 16:35:13 +01:00
jurcovicovam
e7c81125b7 Charsets should float on top #2126 2014-08-03 10:37:10 +02:00
jurcovicovam
62eb799b40 Issue #2127, selectors matching function ignored * selector. 2014-07-29 15:36:24 +02:00
jurcovicovam
f4d0442dbc Removing useless comments. 2014-07-24 14:13:43 +02:00
jurcovicovam
864c63d27b Fix ordering of @import and @charset rules #1954 #2013
The genCss method of ruleset.js splits child nodes into two groups:
* rules,
* rulesets.

Rules are always printed first and have special handling for last rule.
Rulesets are always printed second. Wrong ordering was caused by the
condition that determined what is rule and what is ruleset.

Issue #2013: The condition made no difference between @charset and @page,
because both are compiled into tree.Directive nodes. I added isRulesetLike
method to the tree.Directive to differentiate between them.

Issue #1954: The condition treated all tree.Anonymous types as rules and
caused them to float up. That is incorrect, because `@import (inline)` is
compiled into tree.Anonymous too, but should be treated as ruleset and
stay where it is.
2014-07-22 14:46:58 +02:00
seven-phases-max
7a1c534e1b Fixes e(""). 2014-05-17 21:29:10 +04:00
seven-phases-max
563c47b7d7 Fixes a regression when a mixin guard can't see the mixin parameter variables in certain cases. 2014-05-10 07:43:03 +04:00
Luke Page
5647d4d276 Ignore quote type when comparing values. Fixes #1992 2014-05-06 06:20:07 +01:00
seven-phases-max
8afeae92d3 Fixed recursive mixin regression, updated tests to detect such regression in future. 2014-03-19 05:55:11 +04:00
Luke Page
17a92e3f9b Merge pull request #1890 from roelvanduijnhoven/feature/luma-definition
Let `luma` follow spec
2014-02-27 19:53:41 +00:00
Luke Page
ccd8ebbfdf always execute import-once in the same way. Fixes #1898 2014-02-27 06:12:31 +00:00
Luke Page
beb52739c0 allow % to be passed to the unit function. Fixes #1550 and fixes #1571 2014-02-23 17:09:33 +00:00
Luke Page
5ab0e08665 Do not evaluate css with guards if the guards fail. Fixes #1873 2014-02-21 12:37:40 +00:00
Luke Page
7c90acaae6 Fix a small scope issue with mixins when using parent selectors, introduced in 1.6.2. Fixes #1877 2014-02-21 11:22:42 +00: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
Roel van Duijnhoven
ea1822385a Let luma follow spec
The `luma` function found in LESS is not implemented as defined in the specification (http://www.w3.org/TR/2008/REC-WCAG20-20081211/#relativeluminancedef).
2014-02-20 16:19:19 +01:00
Luke Page
88b44dfc43 make mixin definitions have similar coding style to detached rulesets for grabbing frames 2014-02-17 19:50:43 +00:00
Luke Page
baba33ea6a Fix some bugs with detached rulesets and media queries 2014-02-17 19:15:47 +00:00
Luke Page
c730829d1d Fix one issue with media queries and detached rulesets, one to go 2014-02-16 17:50:51 +00:00
Luke Page
b46ca11286 error tests and test detached rulesets without a mixin call 2014-02-13 21:42:32 +00:00
Luke Page
c301ea6e42 Merge remote-tracking branch 'origin/master' into detached-rulesets 2014-02-12 23:42:15 +00:00
Luke Page
9749d20c3d Fix tests, fix a bug in comparing values 2014-02-11 21:09:06 +00:00
Luke Page
dff83f8d97 Merge branch 'master' of https://github.com/deviprsd21/less.js 2014-02-11 20:38:12 +00:00
seven-phases-max
68f97faf5d Fixed empty args matching for named variadics (e.g. .mixin(@var...)). 2014-02-11 19:25:20 +04:00
Luke Page
2be0b8c922 Merge remote-tracking branch 'origin/master' into detached-rulesets 2014-02-11 13:53:16 +00:00
Luke Page
f7414a1072 detached rulesets 2014-02-09 22:20:08 +00:00
seven-phases-max
09c4311594 Added support for variables in certain at-rules (keyframes, namespace, charset). 2014-02-09 13:42:01 +04:00
Luke Page
38cca0471c make selector-less css guard fold into the current selector 2014-02-02 17:38:13 +00:00
Luke Page
eb19ae4cfa Fix bug with css guards. Fixes #1750. Fixes #1613. Fixes #1813 2014-02-01 19:13:56 +00:00
Luke Page
eba67deddf Merge branch 'property-interp-fix-2' of https://github.com/seven-phases-max/less.js
Conflicts:
	lib/less/parser.js
2014-02-01 18:33:58 +00:00
Josh Schmidt
c425541e0d Fix grunt test, declare i 2014-01-27 09:47:01 -07:00
Josh Schmidt
d5b2c2760c Cache match elements to speed up compiler 2014-01-26 11:50:50 -07:00
Luke Page
e18b274f62 Merge branch 'cache-buster' of https://github.com/bcluca/less.js
Conflicts:
	test/index.js
2014-01-22 21:19:57 +00:00
seven-phases-max
5146c1b1ee improved multiple default() guards conflict detection, updated tests. 2014-01-21 19:11:08 +04:00
Luke Page
8580ff8c10 Merge pull request #1814 from seven-phases-max/numeric-precision
Rounding of output numbers.
2014-01-21 04:27:59 -08:00
Luke Page
9a0f813167 Merge pull request #1806 from SomMeri/rhino
rhino version not up to date (#1405)
2014-01-21 04:17:50 -08:00
Josh Schmidt
ec462237ba Update ruleset.js
Correct arguments for tree.Element
2014-01-18 21:07:05 -07:00
Luca Bernardo Ciddio
d6244cb3f9 Renamed --cache-buster option to --url-args 2014-01-18 19:26:27 -08:00
seven-phases-max
52ba472bb7 Added rounding of output numbers (hardcoded to max. 8 digits in this commit). 2014-01-18 09:58:14 +04:00
Luca Bernardo Ciddio
958716160f Cache buster for url tokens 2014-01-16 21:12:56 -08: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
Marek Duława
13635e7462 ability to insert uppercase color names 2014-01-14 15:19:51 +01:00
deviprsd21
e6b94f9c45 Pixel conversion added. 2014-01-13 16:43:46 +05:30
Luke Page
3755fb28b0 Merge pull request #1780 from brenmar/master
#1778 standardised using starting index, to fix incorrectly mapped sourcemaps
2014-01-11 10:43:16 -08:00
Luke Page
92c3ac2c88 support shadow dom selectors. fixes #1801 2014-01-11 17:43:19 +00:00
Luke Page
6dfb00751c Fix for in without hasOwnProperty 2014-01-10 20:09:36 +00:00
seven-phases-max
bca1f996a6 Fixed incorrect property interpolation for certain variable types, updated tests. 2014-01-07 19:51:41 +04:00