mirror of
https://github.com/less/less.js.git
synced 2026-02-06 04:55:03 -05:00
move data-uri tests to url.less so they are not run in the browser. add browser tests. make function return url() in the browser
This commit is contained in:
@@ -99,13 +99,3 @@
|
||||
average: #7b007b;
|
||||
negation: #d73131;
|
||||
}
|
||||
#data-uri {
|
||||
uri: url('data:image/jpeg;base64,bm90IGFjdHVhbGx5IGEganBlZyBmaWxlCg==');
|
||||
}
|
||||
#data-uri-guess {
|
||||
uri: url('data:image/jpeg;base64,bm90IGFjdHVhbGx5IGEganBlZyBmaWxlCg==');
|
||||
}
|
||||
#data-uri-ascii {
|
||||
uri-1: url('data:text/html,%3Ch1%3EThis%20page%20is%20100%25%20Awesome.%3C%2Fh1%3E%0A');
|
||||
uri-2: url('data:text/html,%3Ch1%3EThis%20page%20is%20100%25%20Awesome.%3C%2Fh1%3E%0A');
|
||||
}
|
||||
|
||||
@@ -40,3 +40,13 @@
|
||||
#secret {
|
||||
font-family: xecret, sans-serif;
|
||||
}
|
||||
#data-uri {
|
||||
uri: url('data:image/jpeg;base64,bm90IGFjdHVhbGx5IGEganBlZyBmaWxlCg==');
|
||||
}
|
||||
#data-uri-guess {
|
||||
uri: url('data:image/jpeg;base64,bm90IGFjdHVhbGx5IGEganBlZyBmaWxlCg==');
|
||||
}
|
||||
#data-uri-ascii {
|
||||
uri-1: url('data:text/html,%3Ch1%3EThis%20page%20is%20100%25%20Awesome.%3C%2Fh1%3E%0A');
|
||||
uri-2: url('data:text/html,%3Ch1%3EThis%20page%20is%20100%25%20Awesome.%3C%2Fh1%3E%0A');
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user