CVS commit by ggarand: remove CSS border properties when our image's border attribute translates to zero. BUG: 88727 M +6 -0 html_imageimpl.cpp 1.151 --- kdelibs/khtml/html/html_imageimpl.cpp #1.150:1.151 @@ -99,4 +99,10 @@ void HTMLImageElementImpl::parseAttribut addCSSProperty( CSS_PROP_BORDER_BOTTOM_STYLE, CSS_VAL_SOLID ); addCSSProperty( CSS_PROP_BORDER_LEFT_STYLE, CSS_VAL_SOLID ); + } else { + removeCSSProperty( CSS_PROP_BORDER_WIDTH ); + removeCSSProperty( CSS_PROP_BORDER_TOP_STYLE ); + removeCSSProperty( CSS_PROP_BORDER_RIGHT_STYLE ); + removeCSSProperty( CSS_PROP_BORDER_BOTTOM_STYLE ); + removeCSSProperty( CSS_PROP_BORDER_LEFT_STYLE ); } break;