fix(StyleInliner): add support for url(url) format

This commit is contained in:
Victor Berchet
2015-02-26 10:26:31 +01:00
parent e3f4c60f46
commit 4d8d17ce3d
2 changed files with 7 additions and 4 deletions
+1 -1
View File
@@ -46,7 +46,7 @@ export function main() {
});
// TODO(vicb): fix the StyleInliner
xit('should support url([unquoted url]) in @import rules', (done) => {
it('should support url([unquoted url]) in @import rules', (done) => {
xhr.reply('http://base/one.css', '.one {}');
var css = '@import url(one.css);.main {}';
var loadedCss = inliner.inlineImports(css, 'http://base');