Philip Harrison
|
0a4e855002
|
Merge upstream
|
2012-08-10 15:40:42 +01:00 |
|
Philip Harrison
|
6cc1458c32
|
Add vmin unit to parser dimensions
Spec http://www.w3.org/TR/css3-values/#vmin-unit
|
2012-08-10 15:24:00 +01:00 |
|
Philip Harrison
|
4c4e2bfdcd
|
Add dppx and dpcm units to parser dimensions
dppx is currently supported by Firefox > 16.
This can be used to target retina setups:
@media (min-resolution: 2dppx) {}
http://www.w3.org/TR/css3-values/#resolution
|
2012-08-10 15:04:58 +01:00 |
|
Luke Page
|
be74f9a837
|
Fix regression on shorthand. Fixes #887
|
2012-08-10 07:35:40 +01:00 |
|
Luke Page
|
b96e307bd5
|
Support for support/viewport/page directives. Fixes #847 and fixes #366
|
2012-08-08 22:55:36 +01:00 |
|
Luke Page
|
5d49ca000e
|
Eval assignments by copying. Fixes #534
|
2012-08-06 22:02:32 +01:00 |
|
Luke Page
|
a702b282e6
|
Allow comparing colors and strings. Fix a bug whereby sometimes a mixin-call or import would disappear. This makes the import test fail consistently instead of once out of 8 times depending on async order I think.
|
2012-08-05 22:47:05 +01:00 |
|
Alex Ganose
|
d22bcdc828
|
Removed toLowerCase function call so the function name remains the same
when used with a mixin and add test for rotateX
|
2012-08-05 17:14:43 +01:00 |
|
DocLabyrinth
|
e6e41fac6f
|
Changed parser to avoid all alpha() calls being parsed as IE style functions and added relevant tests. Fixes #669
Conflicts:
test/css/colors.css
test/less/colors.less
|
2012-08-05 12:23:16 +01:00 |
|
ben hockey
|
883e561b53
|
added test for selector string interpolation
|
2012-08-05 10:37:27 +01:00 |
|
Luke Page
|
63821cdbe6
|
Fix all the parent combinator issues
|
2012-07-30 21:41:34 +01:00 |
|
Evan Torrie
|
8284ce5fe0
|
Added CSS3 specific relative length units
See http://dev.w3.org/csswg/css3-values/#relative-length-units
|
2012-07-29 16:47:12 +01:00 |
|
Denys Mishunov
|
372569f726
|
If weight is not passed to mix() assume it's 50
|
2012-07-29 16:36:33 +01:00 |
|
Luke Page
|
70870dd9dd
|
Fix unit test for import-once so that tests pass. Previous test commit had bad assumptions
|
2012-07-29 16:26:55 +01:00 |
|
Luke Page
|
37dcad5b89
|
Add unit tests for transparent to make it clear what went wrong last time. fixes #806
|
2012-07-29 14:57:44 +01:00 |
|
Luke Page
|
d2d7042c9e
|
Support testing with node on windows
|
2012-07-28 18:30:54 +01:00 |
|
Andrew Stone
|
221e850b89
|
add support for ratios in media queries
|
2012-07-28 18:14:48 +01:00 |
|
Dustin Cass
|
4821735ba2
|
Adjust attribute selector regex to allow for numbers and underscores in attribute names (fixes #863, fixes #876).
|
2012-07-26 15:47:53 -07:00 |
|
John Reading
|
664a8d713c
|
failing test for 8891564917
|
2012-05-11 13:53:51 -04:00 |
|
James Foster
|
1857b7c5aa
|
Implement named parameters
|
2012-04-30 03:30:02 +01:00 |
|
cloudhead
|
cb78933423
|
remove duplicate rules automatically
|
2012-03-27 16:59:49 +02:00 |
|
Alexis Sellier
|
3e5a336f88
|
add ability to bind varargs
|
2012-02-28 19:23:39 +01:00 |
|
Alexis Sellier
|
99c3cb4c2e
|
(test) test for semi-variadic mixin
|
2012-02-28 18:06:38 +01:00 |
|
Alexis Sellier
|
ac226c6b7f
|
Variadic argument support
.mixin (...) {} // matches any number of arguments
.mixin () {} // matches exactly 0 arguments
.mixin (@a: 1) {} // matches 0-1 arguments
|
2012-02-28 17:42:29 +01:00 |
|
Alexis Sellier
|
598b249101
|
Fix '@arguments' behaviour, Closes #632
`.mixin` & `.mixin()` had differing behaviours.
|
2012-02-28 17:06:45 +01:00 |
|
Alexis Sellier
|
5ccf1dafec
|
Fix '::' selector output, Closes #663
|
2012-02-28 16:58:44 +01:00 |
|
Alexis Sellier
|
089ca34dc1
|
Merge branch 'patch-media-query-variable' of https://github.com/sirlantis/less.js
Conflicts:
test/css/media.css
test/less/media.less
|
2012-02-28 16:49:24 +01:00 |
|
Marcel Jackwerth
|
9f9eeec297
|
media-query can now be a variable
|
2012-02-20 17:28:24 +01:00 |
|
Marcel Jackwerth
|
1ba622dd8d
|
fixed a bug when using @media with mixins
|
2012-02-17 11:57:31 +01:00 |
|
Marcel Jackwerth
|
936ab7d52e
|
Added automatic merging of media-query conditions
|
2012-02-17 01:39:03 +01:00 |
|
Marcel Jackwerth
|
9fb9b55770
|
added more complex test for @media bubbling
|
2012-02-14 20:28:43 +01:00 |
|
Marcel Jackwerth
|
288248dc5a
|
added @media bubbling (similar to SASS)
|
2012-02-14 20:10:25 +01:00 |
|
Alexis Sellier
|
38f0d90393
|
(test) string escapes
|
2012-01-16 14:56:25 +01:00 |
|
Alexis Sellier
|
dc1c6c4555
|
fix bug in string arguments to mixin call
|
2012-01-09 22:49:16 +01:00 |
|
Alexis Sellier
|
48db59ec82
|
remove '^=', support 'not' better
|
2012-01-07 01:34:31 +01:00 |
|
Alexis Sellier
|
e69433b8d1
|
rename is-* functions to is*
|
2012-01-07 01:33:54 +01:00 |
|
Alexis Sellier
|
66833352fd
|
(test) tests for '!important' mixins
|
2012-01-05 21:53:48 +01:00 |
|
Alexis Sellier
|
7dd31ff654
|
improve import support with media features
|
2012-01-05 21:31:39 +01:00 |
|
Alexis Sellier
|
d8441445a5
|
change negation operators to be more cssy
|
2012-01-03 22:41:14 +01:00 |
|
Alexis Sellier
|
a40a9ee4db
|
and/or for mixin guards
|
2012-01-03 22:27:54 +01:00 |
|
Alexis Sellier
|
b43d442d55
|
add more is-* functions
|
2012-01-03 19:01:47 +01:00 |
|
Alexis Sellier
|
5ec708c3f4
|
type-checking stylesheet functions
is-string, is-keyword, is-color, is-number
|
2012-01-03 18:45:31 +01:00 |
|
Alexis Sellier
|
77c8df029b
|
support more falsy values
|
2011-12-30 00:50:26 +01:00 |
|
Alexis Sellier
|
7a71697965
|
improve condition parser, support true/false values
|
2011-12-30 00:43:46 +01:00 |
|
Alexis Sellier
|
40011da01b
|
mixin-guards: support >= != =< operators
|
2011-12-29 23:39:59 +01:00 |
|
Alexis Sellier
|
bdf3763e4b
|
change guard syntax to be more 'cssy'
|
2011-12-29 23:20:33 +01:00 |
|
Alexis Sellier
|
624c297e7b
|
(test) mixin-guards
|
2011-12-24 13:32:43 +01:00 |
|
Alexis Sellier
|
eadc0d8704
|
color() function parses color string
|
2011-12-18 17:29:40 +01:00 |
|
Alexis Sellier
|
6c6cdcb839
|
Merge pull request #527 from hokaccha/percentage
Add function `percentage`
|
2011-12-17 09:03:05 -08:00 |
|
Alexis Sellier
|
eda86e5c74
|
(test) variable in @media feature
|
2011-12-17 17:47:35 +01:00 |
|