зеркало из https://github.com/mozilla/gecko-dev.git
Bug 704223 - styles added in data urls are displayed badly in the rule view; r=prouget
This commit is contained in:
Родитель
5b2f89841b
Коммит
30e2c80691
|
@ -927,7 +927,8 @@ CssLogic.shortSource = function CssLogic_shortSource(aSheet)
|
||||||
return url.query;
|
return url.query;
|
||||||
}
|
}
|
||||||
|
|
||||||
return aSheet.href;
|
let dataUrl = aSheet.href.match(/^(data:[^,]*),/);
|
||||||
|
return dataUrl ? dataUrl[1] : aSheet.href;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Загрузка…
Ссылка в новой задаче