version 1.198, 2003/04/22 11:31:53
|
version 1.199, 2003/04/22 13:46:03
|
Line 3324 static char *ParseCSSBackgroundAttachmen
|
Line 3324 static char *ParseCSSBackgroundAttachmen
|
{ |
{ |
cssRule = SkipBlanksAndComments (cssRule); |
cssRule = SkipBlanksAndComments (cssRule); |
if (!strncasecmp (cssRule, "scroll", 6)) |
if (!strncasecmp (cssRule, "scroll", 6)) |
cssRule = SkipWord (cssRule); |
{ |
|
/* force no-repeat for that background image */ |
|
ParseCSSBackgroundPosition (element, tsch, context, |
|
"no-repeat", css, isHTML); |
|
cssRule = SkipWord (cssRule); |
|
} |
else if (!strncasecmp (cssRule, "fixed", 5)) |
else if (!strncasecmp (cssRule, "fixed", 5)) |
cssRule = SkipWord (cssRule); |
{ |
|
/* force no-repeat for that background image */ |
|
ParseCSSBackgroundPosition (element, tsch, context, |
|
"no-repeat", css, isHTML); |
|
cssRule = SkipWord (cssRule); |
|
} |
return (cssRule); |
return (cssRule); |
} |
} |
|
|
Line 3363 static char *ParseCSSBackgroundPosition
|
Line 3373 static char *ParseCSSBackgroundPosition
|
|
|
if (ok && DoApply) |
if (ok && DoApply) |
{ |
{ |
|
/* force no-repeat for that background image */ |
|
ParseCSSBackgroundPosition (element, tsch, context, |
|
"no-repeat", css, isHTML); |
/* force realsize for the background image */ |
/* force realsize for the background image */ |
repeat.typed_data.value = REALSIZE; |
repeat.typed_data.value = REALSIZE; |
repeat.typed_data.unit = UNIT_REL; |
repeat.typed_data.unit = UNIT_REL; |