version 1.188, 2003/03/06 08:54:28
|
version 1.189, 2003/03/12 07:56:10
|
Line 3240 static char *ParseCSSBackgroundImage (El
|
Line 3240 static char *ParseCSSBackgroundImage (El
|
/* check if the image url is related to an external CSS */ |
/* check if the image url is related to an external CSS */ |
if (css) |
if (css) |
{ |
{ |
NormalizeURL (url, 0, tempname, imgname, css->url); |
if (css->url) |
|
/* the image concerns a CSS file */ |
|
NormalizeURL (url, 0, tempname, imgname, css->url); |
|
else |
|
/* the image concerns a style element */ |
|
NormalizeURL (url, context->doc, tempname, imgname, NULL); |
/* fetch and display background image of element */ |
/* fetch and display background image of element */ |
FetchImage (0, el, tempname, AMAYA_LOAD_IMAGE, |
FetchImage (0, el, tempname, AMAYA_LOAD_IMAGE, |
ParseCSSBackgroundImageCallback, callblock); |
ParseCSSBackgroundImageCallback, callblock); |