version 1.40, 2000/01/03 17:12:30
|
version 1.41, 2000/01/17 15:48:00
|
Line 363 CSSInfoPtr css;
|
Line 363 CSSInfoPtr css;
|
ThotBool isHTML; |
ThotBool isHTML; |
#endif |
#endif |
{ |
{ |
cssRule = SkipProperty (cssRule); |
PresentationValue border; |
|
|
|
cssRule = SkipBlanksAndComments (cssRule); |
|
/* first parse the attribute string */ |
|
cssRule = ParseCSSUnit (cssRule, &border); |
|
if (border.typed_data.unit != STYLE_UNIT_INVALID && border.typed_data.value > 0) |
|
TtaSetStylePresentation (PRBorderTopWidth, element, tsch, context, border); |
return (cssRule); |
return (cssRule); |
} |
} |
|
|
/*---------------------------------------------------------------------- |
/*---------------------------------------------------------------------- |
ParseCSSBorderRightWidth : parse a CSS BorderRightWidth |
ParseCSSBorderBottomWidth : parse a CSS BorderBottomWidth |
attribute string. |
attribute string. |
----------------------------------------------------------------------*/ |
----------------------------------------------------------------------*/ |
#ifdef __STDC__ |
#ifdef __STDC__ |
static STRING ParseCSSBorderRightWidth (Element element, PSchema tsch, |
static STRING ParseCSSBorderBottomWidth (Element element, PSchema tsch, |
PresentationContext context, STRING cssRule, CSSInfoPtr css, ThotBool isHTML) |
PresentationContext context, STRING cssRule, CSSInfoPtr css, ThotBool isHTML) |
#else |
#else |
static STRING ParseCSSBorderRightWidth (element, tsch, context, cssRule, css, isHTML) |
static STRING ParseCSSBorderBottomWidth (element, tsch, context, cssRule, css, isHTML) |
Element element; |
Element element; |
PSchema tsch; |
PSchema tsch; |
PresentationContext context; |
PresentationContext context; |
Line 384 CSSInfoPtr css;
|
Line 390 CSSInfoPtr css;
|
ThotBool isHTML; |
ThotBool isHTML; |
#endif |
#endif |
{ |
{ |
cssRule = SkipProperty (cssRule); |
PresentationValue border; |
|
|
|
cssRule = SkipBlanksAndComments (cssRule); |
|
/* first parse the attribute string */ |
|
cssRule = ParseCSSUnit (cssRule, &border); |
|
if (border.typed_data.unit != STYLE_UNIT_INVALID && border.typed_data.value > 0) |
|
TtaSetStylePresentation (PRBorderBottomWidth, element, tsch, context, border); |
return (cssRule); |
return (cssRule); |
} |
} |
|
|
/*---------------------------------------------------------------------- |
/*---------------------------------------------------------------------- |
ParseCSSBorderBottomWidth : parse a CSS BorderBottomWidth |
ParseCSSBorderLeftWidth : parse a CSS BorderLeftWidth |
attribute string. |
attribute string. |
----------------------------------------------------------------------*/ |
----------------------------------------------------------------------*/ |
#ifdef __STDC__ |
#ifdef __STDC__ |
static STRING ParseCSSBorderBottomWidth (Element element, PSchema tsch, |
static STRING ParseCSSBorderLeftWidth (Element element, PSchema tsch, |
PresentationContext context, STRING cssRule, CSSInfoPtr css, ThotBool isHTML) |
PresentationContext context, STRING cssRule, CSSInfoPtr css, ThotBool isHTML) |
#else |
#else |
static STRING ParseCSSBorderBottomWidth (element, tsch, context, cssRule, css, isHTML) |
static STRING ParseCSSBorderLeftWidth (element, tsch, context, cssRule, css, isHTML) |
Element element; |
Element element; |
PSchema tsch; |
PSchema tsch; |
PresentationContext context; |
PresentationContext context; |
Line 405 CSSInfoPtr css;
|
Line 417 CSSInfoPtr css;
|
ThotBool isHTML; |
ThotBool isHTML; |
#endif |
#endif |
{ |
{ |
cssRule = SkipProperty (cssRule); |
PresentationValue border; |
|
|
|
cssRule = SkipBlanksAndComments (cssRule); |
|
/* first parse the attribute string */ |
|
cssRule = ParseCSSUnit (cssRule, &border); |
|
if (border.typed_data.unit != STYLE_UNIT_INVALID && border.typed_data.value > 0) |
|
TtaSetStylePresentation (PRBorderLeftWidth, element, tsch, context, border); |
return (cssRule); |
return (cssRule); |
} |
} |
|
|
/*---------------------------------------------------------------------- |
/*---------------------------------------------------------------------- |
ParseCSSBorderLeftWidth : parse a CSS BorderLeftWidth |
ParseCSSBorderRightWidth : parse a CSS BorderRightWidth |
attribute string. |
attribute string. |
----------------------------------------------------------------------*/ |
----------------------------------------------------------------------*/ |
#ifdef __STDC__ |
#ifdef __STDC__ |
static STRING ParseCSSBorderLeftWidth (Element element, PSchema tsch, |
static STRING ParseCSSBorderRightWidth (Element element, PSchema tsch, |
PresentationContext context, STRING cssRule, CSSInfoPtr css, ThotBool isHTML) |
PresentationContext context, STRING cssRule, CSSInfoPtr css, ThotBool isHTML) |
#else |
#else |
static STRING ParseCSSBorderLeftWidth (element, tsch, context, cssRule, css, isHTML) |
static STRING ParseCSSBorderRightWidth (element, tsch, context, cssRule, css, isHTML) |
Element element; |
Element element; |
PSchema tsch; |
PSchema tsch; |
PresentationContext context; |
PresentationContext context; |
Line 426 CSSInfoPtr css;
|
Line 444 CSSInfoPtr css;
|
ThotBool isHTML; |
ThotBool isHTML; |
#endif |
#endif |
{ |
{ |
cssRule = SkipProperty (cssRule); |
PresentationValue border; |
|
|
|
cssRule = SkipBlanksAndComments (cssRule); |
|
/* first parse the attribute string */ |
|
cssRule = ParseCSSUnit (cssRule, &border); |
|
if (border.typed_data.unit != STYLE_UNIT_INVALID && border.typed_data.value > 0) |
|
TtaSetStylePresentation (PRBorderRightWidth, element, tsch, context, border); |
return (cssRule); |
return (cssRule); |
} |
} |
|
|
Line 447 CSSInfoPtr css;
|
Line 471 CSSInfoPtr css;
|
ThotBool isHTML; |
ThotBool isHTML; |
#endif |
#endif |
{ |
{ |
|
STRING ptr; |
|
|
|
ptr = cssRule; |
|
ParseCSSBorderTopWidth (element, tsch, context, cssRule, css, isHTML); |
|
ParseCSSBorderBottomWidth (element, tsch, context, ptr, css, isHTML); |
|
ParseCSSBorderLeftWidth (element, tsch, context, ptr, css, isHTML); |
|
ParseCSSBorderRightWidth (element, tsch, context, ptr, css, isHTML); |
cssRule = SkipProperty (cssRule); |
cssRule = SkipProperty (cssRule); |
return (cssRule); |
return (cssRule); |
} |
} |