Part of bug 250269. Outline missing on some elements. r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@165256 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
cb709f415a
commit
2c7eca3827
@ -222,6 +222,14 @@ NS_METHOD nsTableRowGroupFrame::Paint(nsPresContext* aPresContext,
|
||||
|
||||
PaintChildren(aPresContext, aRenderingContext, aDirtyRect,
|
||||
aWhichLayer, aFlags);
|
||||
|
||||
// Paint outline
|
||||
nsRect rect(0, 0, mRect.width, mRect.height);
|
||||
const nsStyleOutline* outlineStyle = GetStyleOutline();
|
||||
const nsStyleBorder* borderStyle = GetStyleBorder();
|
||||
nsCSSRendering::PaintOutline(aPresContext, aRenderingContext, this,
|
||||
aDirtyRect, rect, *borderStyle, *outlineStyle,
|
||||
mStyleContext, 0);
|
||||
return NS_OK;
|
||||
}
|
||||
|
||||
|
||||
@ -222,6 +222,14 @@ NS_METHOD nsTableRowGroupFrame::Paint(nsPresContext* aPresContext,
|
||||
|
||||
PaintChildren(aPresContext, aRenderingContext, aDirtyRect,
|
||||
aWhichLayer, aFlags);
|
||||
|
||||
// Paint outline
|
||||
nsRect rect(0, 0, mRect.width, mRect.height);
|
||||
const nsStyleOutline* outlineStyle = GetStyleOutline();
|
||||
const nsStyleBorder* borderStyle = GetStyleBorder();
|
||||
nsCSSRendering::PaintOutline(aPresContext, aRenderingContext, this,
|
||||
aDirtyRect, rect, *borderStyle, *outlineStyle,
|
||||
mStyleContext, 0);
|
||||
return NS_OK;
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user