Luke Page
a490bc12bf
Fix comments test
2013-02-02 16:53:03 +00:00
Luke Page
e21bf1d7a1
Legacy maths mode supports old special cases for font property and media queries
2013-02-02 15:49:43 +00:00
Luke Page
d395adc55b
remove shorthand
2013-02-02 15:39:59 +00:00
Luke Page
2ffdefa248
Preserve whitespace in operations
2013-02-02 15:30:19 +00:00
Luke Page
c27922890d
Add tests for strict unit errors
2013-01-31 07:06:59 +00:00
Luke Page
3ef22f16f9
Add strictUnits option, add tests for legacy behaviour
2013-01-30 20:31:26 +00:00
Luke Page
988d378922
add evalEnv class and strictMaths option
2013-01-25 20:05:37 +00:00
Luke Page
531195c92d
take maths further
2013-01-24 22:27:17 +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
Dustin Cass
bf1823f109
Removed Shorthand and Ratio parsers; Fixed some issues with paren depth state; Adjusted tests to pass on new output
2013-01-23 20:37:48 +00:00
Marcus Bointon
26d35c98fe
Merge pull request #1148 from Synchro/luma
...
Better implementation of luma
2013-01-23 01:30:26 -08:00
Synchro
8f1bc4badf
Better implementation of luma
2013-01-23 09:30:15 +01:00
Synchro
4d5c404dd9
HSV support for #1143
2013-01-23 08:43:12 +01:00
Luke Page
1abb5dd460
Fix #1122
2013-01-12 09:46:20 +00:00
Luke Page
d5bb30b4db
Support angle unit conversion. add trig functions. don't compress angle unit. add mod and abs. Fixes #858 and fixes #240
2013-01-06 13:01:10 +00:00
Luke Page
703aa928fc
Add tests for compression. remove fullhex function - make colors not compress when used in strings.
2013-01-06 10:33:31 +00:00
Spocke
30ee944a4c
Fixed so compression can be disabled on specific color values and a issue with a previous commit.
2013-01-05 16:38:49 +00:00
Spocke
432f89aaf4
Fixed issue where the compress value wouldn't get passed around correctly.
2013-01-05 16:36:17 +00:00
Spocke
c04ad3adc1
Added better compression for rules by removing the last semicolon.
2013-01-05 16:30:34 +00:00
Spocke
8fdec6ba94
Added better compression for dimension values 0px -> 0 and 0.1 -> .1.
2013-01-05 16:30:33 +00:00
Spocke
f3bb594943
Added better compression for colors hex values #FFFFFF -> #FFF.
2013-01-05 16:24:59 +00:00
Luke Page
4c2d01a316
make env available to functions. Fix the path for the data-uri function in the browser. Fixes #997
2013-01-05 15:29:45 +00:00
Luke Page
97d0b0205b
Rudimentary support for extend in selectors
2013-01-05 15:29:38 +00:00
Luke Page
4633f7cc4c
Fix unit comparing after merge
2013-01-05 15:29:37 +00:00
Luke Page
ecc9b0606b
Fix merge errors/problems and change format to ++
2013-01-05 15:29:35 +00:00
hokaccha
815ca4a818
Fix combinator is not extended
2013-01-05 15:29:34 +00:00
hokaccha
f8f2c89ba3
Fix bug global leaks, ; to ,
2013-01-05 15:29:33 +00:00
hokaccha
e793e81e92
Add Sass like extend
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
ba99755f6b
if contrast first argument does not match, pass it through. Fixes #1090
2012-12-30 08:36:00 +00:00
Luke Page
8069e707db
fix typo on import
2012-12-28 22:30:09 +00:00
Luke Page
3dc7ce3f92
Do not add .less if the file has an extension already or has url parameters. Also support ';' instead of '?'. Fixes #784 and fixes #204
2012-12-28 21:29:08 +00:00
Luke Page
9829f2409c
When adding a path onto an unquoted url, escape characters that require it. Fixes #831
2012-12-28 21:04:28 +00:00
Luke Page
59258f5549
Fix server tests and an import bug when a media import is followed by further imports
2012-12-28 11:08:49 +00:00
Salim Bensiali
e59a93b5fd
Relative URLs in LESS files should be relative to the file that defines them.
...
It is up to the parser and compiler to rewrite them when those files are
imported by another LESS file.
- Modified and added test cases for import and import-once rules
- Fixed difference between client side and server side handling of relative urls
- Added a -rootpath option to lessc to specify another base path for the url
rewriting. By default, rootpath=''
2012-12-27 20:40:16 +00:00
Luke Page
650073e4f1
Scope fix - default parameters are evaluated in the mixin scope, not the
...
caller scope. Fixes #973 .
2012-11-29 19:48:30 +00:00
Luke Page
60b2aa9a77
Fix multiple scoping issues with variables. Fixes #878
2012-11-29 18:40:45 +00:00
Luke Page
8a6c5e9e4e
Add support for @namespace and namespace combinators. Fixes #408
2012-11-28 06:56:50 +00:00
Luke Page
37c3b099c3
interpolation includes unit, but not quote. Use unit function to get old functionality. Fixes #782
2012-11-28 05:42:54 +00:00
Luke Page
8fa2137aa3
support mixin calling when using & to stack classes. Fixes #1026
2012-11-27 20:42:33 +00:00
Luke Page
5dc7ff50f0
Fix argument matching. Fixes #1036
2012-11-27 13:14:04 +00:00
Luke Page
e5fd5abc60
Do not require default mixin. Fixes #926
2012-11-27 09:28:19 +00:00
Luke Page
58787596ec
Mixin guards take units into account. Fixes #855
2012-11-27 08:36:31 +00:00
Luke Page
dddda0b0d3
Add support for unicode descriptors. Fixes #1107
2012-11-05 20:30:49 +00:00
Luke Page
8930ad3a44
Re-allow recursive mixins, just not recursive classes. Fixes #1012
2012-10-31 22:16:49 +00:00
Luke Page
6ec856097c
self referencing variable gives a proper error (no stack overflow). Fixes #972
2012-10-29 20:22:05 +00:00
Luke Page
0601933239
Fix issue with media queries inside mixins. fixes #999
2012-10-29 19:57:19 +00:00
tscheinecker
1f19a043a5
only include the first @charset definition - subsequent ones will be
...
rendered as a comment + debugInfo when debugging is enabled.
2012-10-28 14:06:56 +00:00
Luke Page
1175ddc01c
Fixi important on mixin calls when mixin has rulesets or comments
2012-10-25 11:52:07 +01:00