Related to #9, IE8 throws the error "Not enough storage is available to complete this operation" while attempting to create a stylesheet element using doc.createStyleSheet(css).
I've done some debugging and doc.createStyleSheet().cssText = css is the only syntax I can get to work. I can't actually get the other method to work even in the most basic of cases, so unless there's something going on that I don't understand I suspect the current version is the wrong syntax which throws errors when the stylesheet is large enough.
Related to #9, IE8 throws the error "Not enough storage is available to complete this operation" while attempting to create a stylesheet element using
doc.createStyleSheet(css)
.I've done some debugging and
doc.createStyleSheet().cssText = css
is the only syntax I can get to work. I can't actually get the other method to work even in the most basic of cases, so unless there's something going on that I don't understand I suspect the current version is the wrong syntax which throws errors when the stylesheet is large enough.