I'm using a custom scheme handler which dynamically generates CSS files ("live-css://").
When the page finishes loading, I use javascript to replace the HREF of each LINK tag with a "live-css://url".
The browser loads the dynamic CSS files fine. The problem is, even after the files are finished loading, the "cssRules" property of "document.styleSheets[0]" is forever null. (I have the same problem when attempting to access style sheets which are sourced from a different domain from the page).
Is there any way to work around this?