Colin
|
5f9cf904e7
|
Only set media type when one is present
Defaulting to media="screen" causes the
browser to ignore inline @media print
and other queries.
Fixes #612
|
2012-08-12 19:18:03 +01:00 |
|
Luke Page
|
473b320c68
|
Fix bug in media bubbling. Fixes #762
|
2012-08-12 19:09:54 +01:00 |
|
Luke Page
|
836e805245
|
eval directives. Fixes #699
|
2012-08-12 18:03:41 +01:00 |
|
Luke Page
|
8c6d14bcf2
|
Fix previous test. Fix error on invalid import. Fixes #761
|
2012-08-11 20:35:29 +01:00 |
|
Kristoffer Walker
|
26876bdbbf
|
propagate deep errors up callback chain
On branch deep-error-reporting
modified: lib/less/parser.js
|
2012-08-11 19:44:08 +01:00 |
|
Paulo Gaspar
|
66bbb9a44a
|
Fix for issue 592. Additional removal of TODOs and Rhino support by
@agatronic.
|
2012-08-11 16:40:59 +01:00 |
|
Luke Page
|
b809e8eeb2
|
Fix #861 and introduce tests for errors
|
2012-08-11 12:00:28 +01:00 |
|
Philip Harrison
|
0a65df5412
|
Derp, set vmin before vm
|
2012-08-10 15:47:01 +01:00 |
|
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 |
|
Matt
|
3be05a1c7b
|
Remove trailing ANSI escape sequences in no-color mode
Added a 'reset' code to the stylize function and changed the previously
hard-coded ANSI escape sequence string to a function call.
|
2012-08-05 11:57:35 +01:00 |
|
skoni
|
be675c6566
|
Move error formatting to a seperate function
|
2012-08-05 11:26:12 +01:00 |
|
Luke Page
|
63821cdbe6
|
Fix all the parent combinator issues
|
2012-07-30 21:41:34 +01:00 |
|
Paul Mohr
|
f4518cc997
|
Added -khtml support for @keyframes
|
2012-07-29 17:00:17 +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
|
e98a20a50d
|
allow windows and unix path seperators in rhino. Fixes #828
|
2012-07-29 14:03:32 +01:00 |
|
Luke Page
|
be5464d2a6
|
make rhino arguments match lessc
|
2012-07-29 11:47:17 +01:00 |
|
Luke Page
|
acace43415
|
merge compression argument support
|
2012-07-29 11:37:13 +01:00 |
|
Luke Page
|
1199ce41b0
|
Make rhino error support better
|
2012-07-28 23:16:10 +01:00 |
|
Simon Dittlmann
|
e0ebaeeb55
|
Fixed rhino's loadStyleSheet callback invocation (first parameter is the error object and not root)
|
2012-07-28 19:19:41 +01:00 |
|
Andrew Stone
|
221e850b89
|
add support for ratios in media queries
|
2012-07-28 18:14:48 +01:00 |
|
Dustin Cass
|
cb8856fe6f
|
Adjust all regexes in parser.js to use similar style for character classes
|
2012-07-26 16:28:10 -07: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 |
|
Chris Coker
|
b004c19657
|
remove transparent from colors.js
|
2012-06-29 13:35:38 -04:00 |
|
Sasha Sklar
|
b235734a11
|
Merge pull request #753 from clarkni5/master
Adding "dpi" as a valid dimensions for media queries
|
2012-05-15 07:44:37 -07:00 |
|
Sasha Sklar
|
8774a436f6
|
Merge pull request #800 from SpadarShut/master
Added 'transparent' as a named color
|
2012-05-15 07:43:48 -07:00 |
|
comfuture
|
94f70f7121
|
fixed issue #795
|
2012-05-06 11:13:30 +09:00 |
|
Pavel Shut
|
f42de9bacd
|
Added transparent: rgba(0,0,0,0) as a named color
|
2012-05-04 17:03:24 +03:00 |
|
James Foster
|
1bb3dc1f26
|
Fix trailing space when parent selector is the last part of the selector.
'''
.foo {
.bar & {
&:hover {
color: orange;
}
}
}
'''
now outputs
'''
.bar .foo:hover {
color: orange;
}
'''
|
2012-04-30 03:30:14 +01:00 |
|
James Foster
|
1857b7c5aa
|
Implement named parameters
|
2012-04-30 03:30:02 +01:00 |
|
Nicholas Clark
|
6333fddaa2
|
Adding "dpi" to the list of valid dimensions.
|
2012-04-05 16:59:33 -04:00 |
|
cloudhead
|
cb78933423
|
remove duplicate rules automatically
|
2012-03-27 16:59:49 +02:00 |
|
cloudhead
|
8891564917
|
import-once functionality
|
2012-03-21 18:03:04 +01:00 |
|
Alexis Sellier
|
3fb212d9c3
|
(dist) 1.3
|
2012-03-10 20:29:10 +01:00 |
|
Alexis Sellier
|
67ed7dfcb3
|
variable selectors must be paranthesized
|
2012-03-10 20:25:10 +01:00 |
|
Alexis Sellier
|
d955198c85
|
Merge branch 'master' of github.com:cloudhead/less.js
|
2012-03-04 22:15:37 +01:00 |
|
Alexis Sellier
|
93b23d2c24
|
support strings as selectors
example:
@n: 1;
~".span@{n}" { ... }
|
2012-03-04 22:13:04 +01:00 |
|
Andrew Stone
|
6e57f91fd0
|
fix global variable leaks
|
2012-03-01 12:39:01 -05:00 |
|
Alexis Sellier
|
3e5a336f88
|
add ability to bind varargs
|
2012-02-28 19:23:39 +01:00 |
|
Alexis Sellier
|
229856d514
|
fix error message on wrong-arity call
|
2012-02-28 18:06:22 +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
|
236f16b124
|
Allow '@import' directives in any selector
Add --strict-imports option to disable for perf
reasons.
|
2012-02-28 17:20:11 +01:00 |
|