mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 704223 - styles added in data urls are displayed badly in the rule view; r=prouget
This commit is contained in:
parent
6410310c1d
commit
1387297d98
@ -927,7 +927,8 @@ CssLogic.shortSource = function CssLogic_shortSource(aSheet)
|
||||
return url.query;
|
||||
}
|
||||
|
||||
return aSheet.href;
|
||||
let dataUrl = aSheet.href.match(/^(data:[^,]*),/);
|
||||
return dataUrl ? dataUrl[1] : aSheet.href;
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user