зеркало из https://github.com/mozilla/pjs.git
Passing stylecontext into Paintborder()
This commit is contained in:
Родитель
3019a40b16
Коммит
1844f0a29c
|
@ -3975,7 +3975,7 @@ nsBaseIBFrame::Paint(nsIPresContext& aPresContext,
|
||||||
nsCSSRendering::PaintBackground(aPresContext, aRenderingContext, this,
|
nsCSSRendering::PaintBackground(aPresContext, aRenderingContext, this,
|
||||||
aDirtyRect, rect, *color, *spacing, 0, 0);
|
aDirtyRect, rect, *color, *spacing, 0, 0);
|
||||||
nsCSSRendering::PaintBorder(aPresContext, aRenderingContext, this,
|
nsCSSRendering::PaintBorder(aPresContext, aRenderingContext, this,
|
||||||
aDirtyRect, rect, *spacing, skipSides);
|
aDirtyRect, rect, *spacing, mStyleContext, skipSides);
|
||||||
}
|
}
|
||||||
|
|
||||||
// If overflow is hidden then set the clip rect so that children
|
// If overflow is hidden then set the clip rect so that children
|
||||||
|
|
|
@ -3975,7 +3975,7 @@ nsBaseIBFrame::Paint(nsIPresContext& aPresContext,
|
||||||
nsCSSRendering::PaintBackground(aPresContext, aRenderingContext, this,
|
nsCSSRendering::PaintBackground(aPresContext, aRenderingContext, this,
|
||||||
aDirtyRect, rect, *color, *spacing, 0, 0);
|
aDirtyRect, rect, *color, *spacing, 0, 0);
|
||||||
nsCSSRendering::PaintBorder(aPresContext, aRenderingContext, this,
|
nsCSSRendering::PaintBorder(aPresContext, aRenderingContext, this,
|
||||||
aDirtyRect, rect, *spacing, skipSides);
|
aDirtyRect, rect, *spacing, mStyleContext, skipSides);
|
||||||
}
|
}
|
||||||
|
|
||||||
// If overflow is hidden then set the clip rect so that children
|
// If overflow is hidden then set the clip rect so that children
|
||||||
|
|
|
@ -3975,7 +3975,7 @@ nsBaseIBFrame::Paint(nsIPresContext& aPresContext,
|
||||||
nsCSSRendering::PaintBackground(aPresContext, aRenderingContext, this,
|
nsCSSRendering::PaintBackground(aPresContext, aRenderingContext, this,
|
||||||
aDirtyRect, rect, *color, *spacing, 0, 0);
|
aDirtyRect, rect, *color, *spacing, 0, 0);
|
||||||
nsCSSRendering::PaintBorder(aPresContext, aRenderingContext, this,
|
nsCSSRendering::PaintBorder(aPresContext, aRenderingContext, this,
|
||||||
aDirtyRect, rect, *spacing, skipSides);
|
aDirtyRect, rect, *spacing, mStyleContext, skipSides);
|
||||||
}
|
}
|
||||||
|
|
||||||
// If overflow is hidden then set the clip rect so that children
|
// If overflow is hidden then set the clip rect so that children
|
||||||
|
|
|
@ -3975,7 +3975,7 @@ nsBaseIBFrame::Paint(nsIPresContext& aPresContext,
|
||||||
nsCSSRendering::PaintBackground(aPresContext, aRenderingContext, this,
|
nsCSSRendering::PaintBackground(aPresContext, aRenderingContext, this,
|
||||||
aDirtyRect, rect, *color, *spacing, 0, 0);
|
aDirtyRect, rect, *color, *spacing, 0, 0);
|
||||||
nsCSSRendering::PaintBorder(aPresContext, aRenderingContext, this,
|
nsCSSRendering::PaintBorder(aPresContext, aRenderingContext, this,
|
||||||
aDirtyRect, rect, *spacing, skipSides);
|
aDirtyRect, rect, *spacing, mStyleContext, skipSides);
|
||||||
}
|
}
|
||||||
|
|
||||||
// If overflow is hidden then set the clip rect so that children
|
// If overflow is hidden then set the clip rect so that children
|
||||||
|
|
|
@ -3975,7 +3975,7 @@ nsBaseIBFrame::Paint(nsIPresContext& aPresContext,
|
||||||
nsCSSRendering::PaintBackground(aPresContext, aRenderingContext, this,
|
nsCSSRendering::PaintBackground(aPresContext, aRenderingContext, this,
|
||||||
aDirtyRect, rect, *color, *spacing, 0, 0);
|
aDirtyRect, rect, *color, *spacing, 0, 0);
|
||||||
nsCSSRendering::PaintBorder(aPresContext, aRenderingContext, this,
|
nsCSSRendering::PaintBorder(aPresContext, aRenderingContext, this,
|
||||||
aDirtyRect, rect, *spacing, skipSides);
|
aDirtyRect, rect, *spacing, mStyleContext, skipSides);
|
||||||
}
|
}
|
||||||
|
|
||||||
// If overflow is hidden then set the clip rect so that children
|
// If overflow is hidden then set the clip rect so that children
|
||||||
|
|
|
@ -3975,7 +3975,7 @@ nsBaseIBFrame::Paint(nsIPresContext& aPresContext,
|
||||||
nsCSSRendering::PaintBackground(aPresContext, aRenderingContext, this,
|
nsCSSRendering::PaintBackground(aPresContext, aRenderingContext, this,
|
||||||
aDirtyRect, rect, *color, *spacing, 0, 0);
|
aDirtyRect, rect, *color, *spacing, 0, 0);
|
||||||
nsCSSRendering::PaintBorder(aPresContext, aRenderingContext, this,
|
nsCSSRendering::PaintBorder(aPresContext, aRenderingContext, this,
|
||||||
aDirtyRect, rect, *spacing, skipSides);
|
aDirtyRect, rect, *spacing, mStyleContext, skipSides);
|
||||||
}
|
}
|
||||||
|
|
||||||
// If overflow is hidden then set the clip rect so that children
|
// If overflow is hidden then set the clip rect so that children
|
||||||
|
|
Загрузка…
Ссылка в новой задаче