version 1.328, 2005/07/11 15:26:45
|
version 1.329, 2005/08/24 10:17:11
|
Line 1939 void ParseCSSImageCallback (Document doc
|
Line 1939 void ParseCSSImageCallback (Document doc
|
/* Change the Display Mode to take into account the new |
/* Change the Display Mode to take into account the new |
presentation */ |
presentation */ |
dispMode = TtaGetDisplayMode (doc); |
dispMode = TtaGetDisplayMode (doc); |
printf ("ParseCSSImageCallback Show BGimages\n"); |
#ifdef AMAYA_DEBUG |
|
//printf ("ParseCSSImageCallback Show BGimages\n"); |
|
#endif /* AMAYA_DEBUG */ |
/* force the redisplay of this box */ |
/* force the redisplay of this box */ |
TtaSetDisplayMode (doc, NoComputedDisplay); |
TtaSetDisplayMode (doc, NoComputedDisplay); |
TtaSetDisplayMode (doc, dispMode); |
TtaSetDisplayMode (doc, dispMode); |
Line 4431 static char *ParseACSSBackgroundPosition
|
Line 4433 static char *ParseACSSBackgroundPosition
|
char *cssRule, CSSInfoPtr css, |
char *cssRule, CSSInfoPtr css, |
ThotBool isHTML) |
ThotBool isHTML) |
{ |
{ |
PresentationValue repeat; |
|
char *ptr; |
|
ThotBool ok; |
ThotBool ok; |
|
|
cssRule = SkipBlanksAndComments (cssRule); |
cssRule = SkipBlanksAndComments (cssRule); |
Line 4458 static char *ParseACSSBackgroundPosition
|
Line 4458 static char *ParseACSSBackgroundPosition
|
|
|
if (ok && DoApply) |
if (ok && DoApply) |
{ |
{ |
/* force no-repeat for that background image */ |
|
ptr = "no-repeat"; |
|
ParseACSSBackgroundRepeat (element, tsch, ctxt, ptr, css, isHTML); |
|
/* force realsize for the background image */ |
|
repeat.typed_data.value = REALSIZE; |
|
repeat.typed_data.unit = UNIT_REL; |
|
repeat.typed_data.real = FALSE; |
|
/* check if it's an important rule */ |
/* check if it's an important rule */ |
cssRule = CheckImportantRule (cssRule, ctxt); |
cssRule = CheckImportantRule (cssRule, ctxt); |
/*TtaSetStylePresentation (PRPictureMode, element, tsch, ctxt, repeat);*/ |
|
} |
} |
cssRule = SkipBlanksAndComments (cssRule); |
cssRule = SkipBlanksAndComments (cssRule); |
return (cssRule); |
return (cssRule); |