mirror of
https://github.com/less/less.js.git
synced 2026-02-10 15:05:09 -05:00
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.
This commit is contained in:
committed by
Luke Page
parent
84908b0038
commit
959e22f5ff
32
test/css/debug/comments/comments.css
Normal file
32
test/css/debug/comments/comments.css
Normal file
@@ -0,0 +1,32 @@
|
||||
/* line 21, {pathimport}test.less */
|
||||
.tst3 {
|
||||
color: grey;
|
||||
}
|
||||
/* line 12, {path}comments.less */
|
||||
.test1 {
|
||||
color: black;
|
||||
}
|
||||
/* line 3, {path}comments.less */
|
||||
.test2 {
|
||||
color: red;
|
||||
}
|
||||
@media all {
|
||||
/* line 3, {pathimport}test.less */
|
||||
.tst {
|
||||
color: black;
|
||||
}
|
||||
}
|
||||
@media all and screen {
|
||||
/* line 3, {pathimport}test.less */
|
||||
.tst {
|
||||
color: red;
|
||||
}
|
||||
/* line 7, {pathimport}test.less */
|
||||
.tst .tst3 {
|
||||
color: white;
|
||||
}
|
||||
}
|
||||
/* line 16, {pathimport}test.less */
|
||||
.tst2 {
|
||||
color: white;
|
||||
}
|
||||
Reference in New Issue
Block a user