Commit Graph

24 Commits

Author SHA1 Message Date
jurcovicovam
30fe1cb9e2 Keep shorthand color form the same way as named colors are kept. #2481 2015-07-19 14:54:41 +02:00
seven-phases-max
f0d7b6a9fa allow colour keywords to serve as variable names (for @@) 2015-01-11 04:45:30 +04:00
Luke Page
27dea8ed2b Fix variables with important to be consistent - Fixes #2286 2014-11-15 11:07:10 +00:00
Luke Page
06a97bccb3 add further unit fallback tests 2014-11-09 14:21:40 +00:00
Luke Page
9017cbe2ad improve legacy units to be more consistent (particularly for multiplicaton). Fixes #2276 2014-11-09 14:01:01 +00:00
agatronic
5bc4059c6b Make non strict units less strict and change the default to not be strict units. Fixes #1254 2013-04-26 09:35:56 +01:00
Luke Page
d01d2e9bfb do not pollute the parent scope after mixin call if variable is defined 2013-02-16 15:15:38 +00:00
Luke Page
3ef22f16f9 Add strictUnits option, add tests for legacy behaviour 2013-01-30 20:31:26 +00:00
Luke Page
3b5ecf5421 Fix merge issues and a code review comment. revert unit change that outputs px*px as it is not valid css 2013-01-23 21:43:39 +00:00
Marcel Jackwerth
61e7bd6fb1 loosened restriction on css units (who knows what W3C will think up next) 2013-01-05 15:29:32 +00:00
Marcel Jackwerth
c98495a100 Correct handling of units.
width: 1cm - 5mm
=> width: 0.5cm (instead of -4cm)

@ratio: 100px/50px
=> @ratio == 2 (instead of 2px)
2013-01-05 15:29:31 +00:00
Luke Page
2f5b0a6a0a Remove deprecated string interpolation 2013-01-05 15:29:30 +00:00
Luke Page
2624cc462e Test current behaviour of variables 2013-01-01 17:26:56 +00:00
Luke Page
6554117643 Add initial browser test suite using phantomjs for headless testing and jasmine 2012-12-16 08:45:51 +00:00
Alexis Sellier
db72c646bb dynamic selectors
Allows things like:

  a:nth-child(@var) {}
2011-12-15 22:24:52 +01:00
Alexis Sellier
b68dbcf55f fix alpha(opacity=n) support 2011-05-27 18:20:27 -04:00
Alexis Sellier
e2ad523746 (new) variable variables 2011-05-11 11:29:27 -04:00
cloudhead
8422fdef6d fix compound variable substitutions 2010-07-08 00:22:01 +02:00
cloudhead
c68867c8e2 support variables in url() 2010-07-04 10:45:55 +02:00
cloudhead
f817dcd2fe fix '!important' in certain scenarios 2010-06-27 16:40:12 -04:00
cloudhead
31d0f6af3a tests for value.length > 1 bug 2010-05-07 00:40:39 -07:00
cloudhead
3047f7603e use a hash to store variables, fixes variable redifinition bug 2010-04-23 17:52:36 -04:00
cloudhead
3638933aac fixed some more test files, css-3 passes now 2010-03-05 13:32:38 -05:00
cloudhead
70e6523db4 test files, from less.rb 2010-02-23 18:02:00 -05:00