Keep shorthand color form the same way as named colors are kept. #2481

This commit is contained in:
jurcovicovam
2015-07-19 14:54:41 +02:00
parent 3178103b7f
commit 30fe1cb9e2
12 changed files with 21 additions and 18 deletions

View File

@@ -4,7 +4,7 @@
height: undefined("self");
border-width: 5;
variable: 11;
background: linear-gradient(#000000, #ffffff);
background: linear-gradient(#000, #fff);
}
#built-in {
escaped: -Some::weird(#thing, y);
@@ -60,7 +60,7 @@
replace-single-quoted: 'foo-2';
replace-escaped-string: bar-2;
replace-keyword: baz-2;
replace-with-color: "#113355#1133557";
replace-with-color: "#135#1357";
replace-with-number: "2em07";
format: "rgb(32, 128, 64)";
format-string: "hello world";
@@ -68,7 +68,7 @@
format-url-encode: "red is %23ff0000";
format-single-quoted: 'hello single world';
format-escaped-string: hello escaped world;
format-color-as-string: "#112233";
format-color-as-string: "#123";
format-number-as-string: "4px";
eformat: rgb(32, 128, 64);
unitless: 12;