mirror of
https://github.com/less/less.js.git
synced 2026-05-01 03:00:22 -04:00
Added support for variables in certain at-rules (keyframes, namespace, charset).
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
@charset "UTF-8";
|
||||
/* line 3, {pathimport}test.less */
|
||||
@media -sass-debug-info{filename{font-family:file\:\/\/{pathimportesc}test\.less}line{font-family:\000033}}
|
||||
/* line 1, {pathimport}test.less */
|
||||
@media -sass-debug-info{filename{font-family:file\:\/\/{pathimportesc}test\.less}line{font-family:\000031}}
|
||||
/* @charset "ISO-8859-1"; */
|
||||
/* line 23, {pathimport}test.less */
|
||||
@media -sass-debug-info{filename{font-family:file\:\/\/{pathimportesc}test\.less}line{font-family:\0000323}}
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
@charset "UTF-8";
|
||||
/* line 3, {pathimport}test.less */
|
||||
/* line 1, {pathimport}test.less */
|
||||
/* @charset "ISO-8859-1"; */
|
||||
/* line 23, {pathimport}test.less */
|
||||
.tst3 {
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
@charset "UTF-8";
|
||||
@media -sass-debug-info{filename{font-family:file\:\/\/{pathimportesc}test\.less}line{font-family:\000033}}
|
||||
@media -sass-debug-info{filename{font-family:file\:\/\/{pathimportesc}test\.less}line{font-family:\000031}}
|
||||
/* @charset "ISO-8859-1"; */
|
||||
@media -sass-debug-info{filename{font-family:file\:\/\/{pathimportesc}test\.less}line{font-family:\0000323}}
|
||||
.tst3 {
|
||||
|
||||
18
test/css/variables-in-at-rules.css
Normal file
18
test/css/variables-in-at-rules.css
Normal file
@@ -0,0 +1,18 @@
|
||||
@charset "UTF-8";
|
||||
@namespace less "http://lesscss.org";
|
||||
@keyframes enlarger {
|
||||
from {
|
||||
font-size: 12px;
|
||||
}
|
||||
to {
|
||||
font-size: 15px;
|
||||
}
|
||||
}
|
||||
@-webkit-keyframes reducer {
|
||||
from {
|
||||
font-size: 13px;
|
||||
}
|
||||
to {
|
||||
font-size: 10px;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user