Open GoogleCodeExporter opened 8 years ago
Forgot to mention one obvious but important thing: not including IE9.js also
avoids the issue, so it's probably not a problem with IE8 itself.
Original comment by theultramage
on 30 Aug 2010 at 10:43
Likely related issue ... in IE8 Standard View (not Compatibility View), my
content appeared unstyled.
I'm using a "master" CSS file that includes @import statements for other CSS
files in the same directory (so a relative path), for example:
@import url(layout.css);
Fixed the issue by changing the path to be absolute.
@import url(/css/layout.css);
As OP commented, not including IE9.js also fixed the issue.
Original comment by alio...@gmail.com
on 21 Oct 2010 at 11:34
this can be fix by changed the following lines of code
replace gettext function with folloiwng @717 line
getText: function(styleSheet, path) {
// Internet Explorer will trash unknown selectors (it converts them to "UNKNOWN").
// So we must reload external style sheets (internal style sheets can have their text
// extracted through the innerHTML property).
// load the style sheet text from an external file
try {
var cssText = styleSheet.cssText;
} catch (e) {
cssText = "";
}
if (httpRequest) cssText = loadFile(styleSheet._href || styleSheet.href, path) || cssText;
return cssText;
}
and
stylesheet for loop with follwint @ 866
// Load all style sheets in the document
for (var i = 0; i < styleSheets.length; i++) {
var styleSheet = styleSheets[i];
if (!styleSheet.disabled && !styleSheet.ie7) this.cssText += getCSSText(styleSheet,path);
}
Original comment by mee...@gmail.com
on 28 Feb 2013 at 11:36
Original issue reported on code.google.com by
theultramage
on 30 Aug 2010 at 10:39Attachments: