Commit Graph

378 Commits

Author SHA1 Message Date
seven-phases-max
002d6db966 Experimental support for mixins with interpolated selectors. 2013-12-17 05:41:08 +04:00
Luke Page
8098837d4a test parens false negative 2013-12-14 18:03:41 +00:00
Luke Page
ff8285fbc6 some code review changes and test for the new extra/missing parens check 2013-12-14 17:59:59 +00:00
Luke Page
5367b8b6be Merge branch 'perf-tune' of https://github.com/fredburger/less.js
Conflicts:
	lib/less/to-css-visitor.js
2013-12-08 17:25:58 +00:00
Luke Page
bdab12151a Merge branch 'color-ops-fixes' of https://github.com/seven-phases-max/less.js
Conflicts:
	test/less/errors/color-operation-error.txt
2013-12-08 11:11:18 +00:00
seven-phases-max
ba5c8189cd Fixed line/column numbers in math expr/ops error messages. Updated tests. 2013-12-05 10:56:20 +04:00
Synchro
167e802875 Tests and fix for #1689 2013-11-29 01:24:25 +01:00
seven-phases-max
4b113be27e improved alpha channel handling for math ops, removed 'can't substract or divide a color from a number' constraint 2013-11-24 04:46:27 +04:00
fredburger
52dc714927 New input chunker in parser.js. #1615 2013-10-30 08:12:44 +01:00
seven-phases-max
a1c97f3147 a few minor selector match fixes: updated tests. 2013-10-29 22:25:36 +04:00
Luke Page
9a7351d27f fix spacing issue with extends and fix tests 2013-10-20 11:28:47 +01:00
Luke Page
d8d936862d Fix error message when putting guards on a single selector 2013-10-17 17:51:25 +01:00
Luke Page
33210805cd Fix duplicate selectors sometimes generated in extends. Fixes #1591. Fixes #1581 2013-10-15 20:19:11 +01:00
Luke Page
dc367f61dc Merge pull request #1570 from MSamman/Percent_As_Attribute
proposed solution to #1568: percentage as attribute
2013-10-03 23:07:26 -07:00
Luke Page
b0d73ecf67 Merge branch 'master' of https://github.com/seven-phases-max/less.js 2013-10-04 07:01:27 +01:00
Luke Page
b0477fca22 import multiple has a cascade effect. fixes #1497 2013-10-04 06:54:58 +01:00
seven-phases-max
fd1182bd69 Added length function (#1542). Added scalar value handling for extract and length (#1576). 2013-10-03 10:04:23 +04:00
Mohammad Samman
abe09a2851 proposed solution to #1568: percentage as attribute 2013-09-28 17:51:04 -07:00
Luke Page
5f20c4aeaa support @host. Fixes #1560 2013-09-22 10:03:50 +01:00
Luke Page
c04bdc91a8 allow media features to be variables. Fixes #1330 2013-09-18 18:04:00 +01:00
Luke Page
dd5bb4dd5a send important on to sub mixins. Fixes #1256 2013-09-18 17:49:33 +01:00
Luke Page
58e3269c74 do not match args with a variadic mixin that does not have enough arguments. Fixes #1527 2013-09-18 17:25:12 +01:00
Luke Page
0465398ab6 throw an error when the unit function is passed bad input. Fixes #1426 2013-09-18 05:54:38 +01:00
Luke Page
39b36d9cfc Add alias for =< as <= fixes #1435 2013-09-18 05:42:21 +01:00
Luke Page
62751c917c support inline css files in the sourcemaps 2013-09-17 19:37:00 +01:00
Luke Page
577751a174 improve output of page rules during compression - don't strip ; on rule before rulesets 2013-09-16 22:22:33 +01:00
Luke Page
793bb89a2a Test for invalid colors. Fixes #1458 2013-09-16 19:50:05 +01:00
Luke Page
ebc6f5e1df add passing test for urls containing escaped quotes 2013-09-14 14:04:19 +01:00
Luke Page
0b0519fecb use the same environment frames for guards as for evaluating parameters 2013-09-14 13:34:09 +01:00
Luke Page
862d7ed0ab support transparent as a color but do not alter existing output of transparent and rgba() 2013-09-14 12:10:57 +01:00
Luke Page
4c552349e5 Fix #1536 - pattern used in bootstrap is causing a recursion error 2013-09-09 22:11:29 +01:00
Luke Page
023c3f020a do not create empty sourcemaps or add mapping comments on to empty files. Also fix empty files from having a newline in them. fixes #1491 2013-09-08 17:12:13 +01:00
Luke Page
090a386a4b don't strip units when compressing for durations 2013-09-01 18:34:18 +01:00
Luke Page
1b3acd403a fix media query bug. Fixes #1502 2013-09-01 17:56:59 +01:00
Luke Page
f37de83082 Fix another extend issue - Fixes #1404 2013-09-01 15:04:21 +01:00
Luke Page
bc568f7bd8 Fix bad reliance on env variable, causing error when interpolating a comma seperated value 2013-08-15 21:58:02 +01:00
Luke Page
e68f47fec5 Merge branch 'sourcemaps-wip' into 1.5.0-wip
Conflicts:
	bin/lessc
	lib/less/env.js
	lib/less/tree/color.js
	package.json
2013-07-31 22:21:44 +01:00
Luke Page
4bedef4fd3 Fix issue with css guards not hiding inner classes 2013-07-30 12:14:20 +01:00
Luke Page
41f53f2fc2 correct radial gradient format to w3c spec 2013-07-30 12:07:15 +01:00
Luke Page
f16e5142cf test some more advanced sourcemaps and correct a bug in the output column 2013-07-24 13:46:20 +01:00
Luke Page
0c41e06ff8 Merge branch '1.5.0-wip' into sourcemaps-wip 2013-07-20 22:18:54 +01:00
Luke Page
4c51ff1914 Merge branch 'lessmaster' into 1.5.0-wip 2013-07-20 22:17:39 +01:00
Luke Page
fe8aabd8ff allow upper case in properties. fixes #1398 2013-07-20 15:01:07 +01:00
Luke Page
f14f86136c add tests for sourcemaps and get prototype working 2013-07-18 22:21:59 +01:00
Luke Page
037cdb5916 fix tests 2013-07-15 22:03:52 +01: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
Luke Page
98f2fef2df add option to disable javascript. Fixes #688 2013-07-05 06:52:29 +01:00
Luke Page
366f6755aa guards on css styles, first draft. Only allows guards on 1 selector in the block, that being the last one. 2013-07-05 06:51:59 +01:00
Luke Page
cfe9ae7798 Add svg-gradient function. Fixes #1383 2013-07-05 06:51:58 +01:00
Kevin Gillette
54a5f74c09 min/max now always reduce compatible terms. 2013-07-05 06:51:56 +01:00