Simone Deponti
8abc60ef26
Minor fixes.
...
Fixed a bug that could appear with compression enabled,
and minor tabbing issues in tests.
2012-10-07 12:16:10 +01:00
Simone Deponti
dc12632f7b
Completed tests.
...
Made a minor modification to the test runner to best reuse tests
in these cases.
2012-10-07 12:16:09 +01:00
Simone Deponti
959e22f5ff
Added media query support.
...
* env.dumpLineNumbers was being lost when doing "offline" compilation
(within node.js)
* Added documentation for the changed options
* --line-numbers now takes a parameter
(either "comments", "mediaquery" or "all")
* The system can now again output mediaqueries for FireLESS
* Moved comments tests in debug/comments, will duplicate
for mediaquery and for "all"
Everything is still utterly broken though, tests still fail.
2012-10-07 12:16:03 +01:00
Luke Page
538097ec30
Unit tests for debug numbers
2012-10-07 12:16:02 +01:00
Synchro
f8bee84fdf
Implement tint and shade functions
2012-09-23 17:16:23 +01:00
Dustin Cass
8019439eb4
Pass env with toCSS in function call evaluation; Add tests; Fixes #957
2012-09-23 17:09:52 +01:00
Luke Page
819d6b0ce6
Support for escaped characters in attributes and unit tests moved into css-escapes
2012-09-23 17:06:21 +01:00
Thomas Grainger
2ee4a47c93
add namespaced element selector test case from angular.js
2012-09-10 16:20:40 +01:00
Luke Page
55d6e5a0ba
Allow multiline javascript expressions, fixes #885
2012-09-09 10:35:27 +01:00
Luke Page
559231a4db
Fix unquoted url's, remove special handling of data. Fixes #733
2012-09-09 10:30:55 +01:00
Luke Page
3031517c13
Review comments from @cloudhead - alter chunker to not chunk @{X} and
...
simplify process and depreciated != deprecated
2012-09-09 10:27:22 +01:00
Luke Page
7f466c1bfe
New selector interpolation
2012-09-02 11:47:41 +01:00
Luke Page
fc2809c969
Add tests for #618
2012-08-30 20:26:08 +01:00
Anders Hellerup Madsen
d81ba3bb38
add support for utf-8, fixes #396 (this time less messy commit)
2012-08-30 20:08:48 +01:00
Luke Page
96ef26a9ff
Revert commit mistake
2012-08-24 06:45:28 +01:00
Luke Page
bd8679b4c6
Fix error unit tests to run on any computer
2012-08-21 07:20:23 +01:00
Luke Page
85ddc9f4e7
Add parent selector to user variable
2012-08-19 12:02:58 +01:00
Rubens Mariuzzo
0a5245b2c3
8 more blending modes added: multiply, screen, overlay, hardlight, difference, exclusion, average & negation.
2012-08-19 10:25:34 +01:00
Rubens Mariuzzo
6e97b8f694
Soft light blending mode added.
2012-08-19 10:25:16 +01:00
Luke Page
e94b5b616a
Fix other whitespace issue brought up in #406
2012-08-19 08:30:41 +01:00
Luke Page
5ed4b189ac
Add whitespace tests for previous commit - newline in selectors
2012-08-19 08:13:48 +01:00
Lucas Green
e812e16656
Added: red() green() and blue() functions, with tests.
2012-08-18 16:50:20 +01:00
Luke Page
8de8492d35
Fix mixin calls being recognised as mixin definitions when arguments contain spaces and interpolated strings. Fixes #901
2012-08-16 20:24:55 +01:00
Marcus Bointon
bb0886fcc9
Add contrast function following the same format as sass. Added tests.
...
Added luma calculation.
2012-08-12 20:38:03 +01:00
Luke Page
e0fc8986cb
Add test for #826
2012-08-12 19:44:06 +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
3e052e5580
Add more error tests from #244
2012-08-12 13:35:55 +01:00
Luke Page
42b83ef523
Make the test runner accept a argument to restrict the tests running (for debugging). Make the test runner pass the filename so it behaves like lessc - this fixed one of the tests. Also corrected the tests to run given the new format of the message
2012-08-11 22:28:57 +01:00
Luke Page
8c6d14bcf2
Fix previous test. Fix error on invalid import. Fixes #761
2012-08-11 20:35:29 +01:00
Luke Page
22b3ee939d
More tests for errors
2012-08-11 16:04:32 +01:00
Luke Page
b809e8eeb2
Fix #861 and introduce tests for errors
2012-08-11 12:00:28 +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
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