RemoveFileProtocolFromStyleSheetLinks() public méthode

gecko 11 requires the file://, but modern firefox and chrome can't handle it. Checked also that IE10 works without it.
public RemoveFileProtocolFromStyleSheetLinks ( ) : void
Résultat void
Exemple #1
0
 //while in Bloom, we could have and edit style sheet or (someday) other modes. But when stored,
 //we want to make sure it's ready to be opened in a browser.
 private void MakeCssLinksAppropriateForStoredFile(HtmlDom dom)
 {
     dom.RemoveModeStyleSheets();
     dom.AddStyleSheet("previewMode.css");
     dom.AddStyleSheet("basePage.css");
     EnsureHasLinksToStylesheets(dom);
     dom.SortStyleSheetLinks();
     dom.RemoveFileProtocolFromStyleSheetLinks();
 }
Exemple #2
0
 private static void MakeCssLinksAppropriateForEpub(HtmlDom dom)
 {
     dom.RemoveModeStyleSheets();
     dom.SortStyleSheetLinks();
     dom.RemoveFileProtocolFromStyleSheetLinks();
     dom.RemoveDirectorySpecificationFromStyleSheetLinks();
 }
Exemple #3
0
 //while in Bloom, we could have and edit style sheet or (someday) other modes. But when stored,
 //we want to make sure it's ready to be opened in a browser.
 private void MakeCssLinksAppropriateForStoredFile(HtmlDom dom)
 {
     dom.RemoveModeStyleSheets();
     dom.AddStyleSheet("previewMode.css");
     dom.AddStyleSheet("basePage.css");
     EnsureHasLinksToStylesheets(dom);
     dom.SortStyleSheetLinks();
     dom.RemoveFileProtocolFromStyleSheetLinks();
 }