Open peterdemaeyer opened 12 years ago
The page that works has the following in its content:
<link href="css/textShadowPeter.css" type="text/css" rel="stylesheet" />
which is correctly scanned by function getStyleSheet(node)
. However, the drupal page has a more complicated looking style:
<style type="text/css" media="all">
@import url("http://192.168.0.100/ooginstituut/modules/system/system.base.css?m2dtow");
@import url("http://192.168.0.100/ooginstituut/modules/system/system.menus.css?m2dtow");
@import url("http://192.168.0.100/ooginstituut/modules/system/system.messages.css?m2dtow");
@import url("http://192.168.0.100/ooginstituut/modules/system/system.theme.css?m2dtow");
</style>
Apparently the latter cannot be scanned correctly... What would it take to make cssSandpaper work for the latter type of styles?
Yes, I have tried to get this working (not with drupal zen theme) and seem to be having the same problem. I have posted an issue here:
I wanted to use this library to get text-shadows in IE in my Drupal Zen subtheme, but unfortunately that doesn't work. I can make it work for a standalone example (plain HTML file with CSS alongside), but not for my Drupal Zen subtheme. I tried to debug the script with my limited knowledge of JavaScript, and this is as far as I got:
I've pin-pointed as far as
function getStyleSheet(node)
incssSandpaper.css
. Somehow it doesn't find any styleSheets, decides there is nothing to transform, and nothing is replaced.