cloudhead
b1b8701c38
(test) mixin calls throw an error now, if no patterns match
2010-06-07 18:22:23 -04:00
cloudhead
8ab4d0aac0
treat Directive like a Ruleset
2010-05-23 12:50:20 -04:00
cloudhead
51ca5adb5c
@media tests
2010-05-22 18:24:57 -04:00
cloudhead
a3f252b727
don't cache return values. %() plays nice with strings
2010-05-13 20:15:59 -04:00
cloudhead
3cff4636dc
test cases for recent fixes
2010-05-07 00:49:03 -07:00
cloudhead
565fdf4705
tests for value.length > 1 bug
2010-05-07 00:40:39 -07:00
cloudhead
472da6ff23
whitespace
2010-05-04 20:37:14 -04:00
cloudhead
7155f44f43
be more flexible, pattern matching
2010-05-04 20:37:06 -04:00
cloudhead
0ec53f74e0
make operations left-associative Closes #20
2010-05-03 14:25:12 -04:00
cloudhead
1d9b95f9e6
Evaluate function calls properly.
...
- `fun(f())` is now possible
- Anonymous can take normal strings
- Tests for `%()`
2010-04-30 14:07:05 -04:00
cloudhead
0aaf715232
fixed selector attributes not parsing with a '-'
2010-04-28 17:29:22 -04:00
cloudhead
8c762b9e26
Support for pattern-matching on mixin calls.
2010-04-25 00:09:40 -04:00
cloudhead
1c52d6ac4d
use a hash to store variables, fixes variable redifinition bug
2010-04-23 17:52:36 -04:00
cloudhead
1e6cbbf61d
fixed bug with passing variables to functions
2010-04-23 13:49:55 -04:00
cloudhead
6778f51fc3
Added a couple colour functions
...
saturate, desaturate, lighten, darken, greyscale.
2010-04-23 13:36:50 -04:00
cloudhead
f0942511bb
Fixed HSL
...
HSL colors weren't working properly. The values weren't being normalized
to {0, 1}.
2010-04-23 13:35:36 -04:00
cloudhead
7be2b22cfb
the e() LESS function
...
used to escape strings in values.
Added Anonymous node to handle things like this.
2010-04-22 19:42:02 -04:00
cloudhead
444401dc3c
Fixed mixin calls not working from dynamic mixins
...
Dynamic mixins aren't treated enough like Rulesets.
There is some code duplication which needs to be cleaned up,
ideally they should share a prototype.
2010-04-22 13:34:49 -04:00
cloudhead
23640fe116
Fix dynamic mixins with nested rules
...
Dynamic mixins with more than one level of nesting wouldn't work.
This is now fixed. Also refactored mixin.definition.eval a little.
2010-04-22 13:07:41 -04:00
cloudhead
ac7916aa87
Reorganized some of the parsing rule order
...
- Fix for "{" not parsing
- Use some backtracking when necessary,
it's prettier than crazy lookaheads.
2010-04-21 10:12:29 -04:00
cloudhead
3253afad27
asynchronous import functionality! All tests passing.
2010-03-21 19:18:47 -04:00
cloudhead
adc937d68e
no more accessors.. they aren't very useful it turns out, with mixins
2010-03-18 14:50:50 -04:00
cloudhead
7e2217ba86
fixed and upgraded the css tests a little
2010-03-11 15:37:05 -05:00
cloudhead
be893c5993
support for nested rulesets inside dynamic mixins, with lexical scoping
2010-03-07 20:20:50 -05:00
cloudhead
23775bda9b
implemented dynamic mixins
2010-03-07 18:49:54 -05:00
cloudhead
2b0853de81
comments, wooh!
2010-03-06 17:53:55 -05:00
cloudhead
39f0ab258c
remove prod.less
2010-03-05 19:20:08 -05:00
cloudhead
463807d3b6
comment fix
2010-03-05 14:57:23 -05:00
cloudhead
3638933aac
fixed some more test files, css-3 passes now
2010-03-05 13:32:38 -05:00
cloudhead
81240d0aab
selectors.less now passes tests
2010-03-05 11:43:08 -05:00
cloudhead
2f55206eb7
removed big.less/css from test
2010-03-04 14:51:22 -05:00
cloudhead
d54302a394
fixed whitespace.css to conform to new output
2010-03-04 14:49:50 -05:00
cloudhead
fde347016b
for now, we only support basic selectors, when mixing in, eventually, we can upgrade the Selector/match method to return the number of matched elements
2010-03-04 13:51:59 -05:00
cloudhead
d860763454
tweaked tests to match less.js
2010-03-04 01:41:03 -05:00
cloudhead
3903ed0864
changed rulesets.css output to match the new parser output
2010-02-26 18:16:48 -05:00
cloudhead
756b3976e7
tweaked big.less to not raise errors on comment parsing (tested elsewhere)
2010-02-26 14:50:03 -05:00
cloudhead
2353885d6a
moved some tests around
2010-02-25 21:30:34 -05:00
cloudhead
c2453cd02a
additional tests in comments.kess
2010-02-25 21:30:05 -05:00
cloudhead
4e74ba4cb1
removed some test files
2010-02-25 15:49:15 -05:00
cloudhead
70e6523db4
test files, from less.rb
2010-02-23 18:02:00 -05:00