[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: kdelibs/khtml/html
From: Germain Garand <germain () ebooksfrance ! com>
Date: 2005-03-29 1:50:39
Message-ID: 20050329015039.B16E7630 () office ! kde ! org
[Download RAW message or body]
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;
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic