mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1229567 - Back out bug 1194856 data: URL hack. r=dholbert
This commit is contained in:
parent
fb3ce76d6e
commit
fff292702a
@ -4,9 +4,6 @@
|
|||||||
|
|
||||||
/* This sheet is added to the style set for documents with frames disabled */
|
/* This sheet is added to the style set for documents with frames disabled */
|
||||||
|
|
||||||
/* Until bug 1194856 is fixed, if you update this file you should also update
|
|
||||||
the data: URL in nsLayoutStylesheetCache::NoFramesSheet(). */
|
|
||||||
|
|
||||||
noframes {
|
noframes {
|
||||||
display: block;
|
display: block;
|
||||||
}
|
}
|
||||||
|
@ -4,9 +4,6 @@
|
|||||||
|
|
||||||
/* This sheet is added to the style set for documents with script disabled */
|
/* This sheet is added to the style set for documents with script disabled */
|
||||||
|
|
||||||
/* Until bug 1194856 is fixed, if you update this file you should also update
|
|
||||||
the data: URL in nsLayoutStylesheetCache::NoScriptSheet(). */
|
|
||||||
|
|
||||||
noscript {
|
noscript {
|
||||||
display: none !important;
|
display: none !important;
|
||||||
}
|
}
|
||||||
|
@ -193,13 +193,7 @@ nsLayoutStylesheetCache::NoScriptSheet()
|
|||||||
EnsureGlobal();
|
EnsureGlobal();
|
||||||
|
|
||||||
if (!gStyleCache->mNoScriptSheet) {
|
if (!gStyleCache->mNoScriptSheet) {
|
||||||
// If you update the data: URL, also update noscript.css (See bug 1194856.)
|
LoadSheetURL("resource://gre-resources/noscript.css",
|
||||||
LoadSheetURL(
|
|
||||||
#ifdef RELEASE_BUILD
|
|
||||||
"data:text/css,noscript { display%3A none !important%3B }",
|
|
||||||
#else
|
|
||||||
"resource://gre-resources/noscript.css",
|
|
||||||
#endif
|
|
||||||
gStyleCache->mNoScriptSheet, eAgentSheetFeatures);
|
gStyleCache->mNoScriptSheet, eAgentSheetFeatures);
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -212,14 +206,7 @@ nsLayoutStylesheetCache::NoFramesSheet()
|
|||||||
EnsureGlobal();
|
EnsureGlobal();
|
||||||
|
|
||||||
if (!gStyleCache->mNoFramesSheet) {
|
if (!gStyleCache->mNoFramesSheet) {
|
||||||
// If you update the data: URL, also update noframes.css (See bug 1194856.)
|
LoadSheetURL("resource://gre-resources/noframes.css",
|
||||||
LoadSheetURL(
|
|
||||||
#ifdef RELEASE_BUILD
|
|
||||||
"data:text/css,noframes { display%3A block%3B } "
|
|
||||||
"frame%2C frameset%2C iframe { display%3A none !important%3B }",
|
|
||||||
#else
|
|
||||||
"resource://gre-resources/noframes.css",
|
|
||||||
#endif
|
|
||||||
gStyleCache->mNoFramesSheet, eAgentSheetFeatures);
|
gStyleCache->mNoFramesSheet, eAgentSheetFeatures);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user