Added failure check for call to nsStyleData::GetBorder()

git-svn-id: svn://10.0.0.236/trunk@41422 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
troy%netscape.com
1999-07-28 04:48:34 +00:00
parent a1ecfaac45
commit 08b0ac1ce2
15 changed files with 58 additions and 18 deletions

View File

@@ -1803,7 +1803,9 @@ nsCSSRendering::PaintBackground(nsIPresContext& aPresContext,
nsRect paddingArea(aBorderArea);
nsMargin border;
aSpacing.GetBorder(border);
if (!aSpacing.GetBorder(border)) {
NS_NOTYETIMPLEMENTED("percentage border");
}
paddingArea.Deflate(border);
// The actual dirty rect is the intersection of the padding area and the