зеркало из https://github.com/mozilla/pjs.git
Backout 18f70ede04b0 (bug 694213).
This commit is contained in:
Родитель
0898e4b36c
Коммит
1b9b0790e8
|
@ -114,7 +114,7 @@ private:
|
||||||
|
|
||||||
nsRect
|
nsRect
|
||||||
nsDisplayButtonBoxShadowOuter::GetBounds(nsDisplayListBuilder* aBuilder) {
|
nsDisplayButtonBoxShadowOuter::GetBounds(nsDisplayListBuilder* aBuilder) {
|
||||||
return mFrame->GetVisualOverflowRectRelativeToSelf() + ToReferenceFrame();
|
return mFrame->GetVisualOverflowRect() + ToReferenceFrame();
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
|
|
|
@ -153,7 +153,7 @@ public:
|
||||||
// override bounds because the list item focus ring may extend outside
|
// override bounds because the list item focus ring may extend outside
|
||||||
// the nsSelectsAreaFrame
|
// the nsSelectsAreaFrame
|
||||||
nsListControlFrame* listFrame = GetEnclosingListFrame(GetUnderlyingFrame());
|
nsListControlFrame* listFrame = GetEnclosingListFrame(GetUnderlyingFrame());
|
||||||
return listFrame->GetVisualOverflowRectRelativeToSelf() +
|
return listFrame->GetVisualOverflowRect() +
|
||||||
aBuilder->ToReferenceFrame(listFrame);
|
aBuilder->ToReferenceFrame(listFrame);
|
||||||
}
|
}
|
||||||
virtual void Paint(nsDisplayListBuilder* aBuilder,
|
virtual void Paint(nsDisplayListBuilder* aBuilder,
|
||||||
|
|
|
@ -226,7 +226,7 @@ public:
|
||||||
|
|
||||||
virtual nsRect GetBounds(nsDisplayListBuilder* aBuilder)
|
virtual nsRect GetBounds(nsDisplayListBuilder* aBuilder)
|
||||||
{
|
{
|
||||||
return mFrame->GetVisualOverflowRectRelativeToSelf() + ToReferenceFrame();
|
return mFrame->GetVisualOverflowRect() + ToReferenceFrame();
|
||||||
}
|
}
|
||||||
virtual void HitTest(nsDisplayListBuilder* aBuilder, const nsRect& aRect,
|
virtual void HitTest(nsDisplayListBuilder* aBuilder, const nsRect& aRect,
|
||||||
HitTestState* aState, nsTArray<nsIFrame*> *aOutFrames) {
|
HitTestState* aState, nsTArray<nsIFrame*> *aOutFrames) {
|
||||||
|
|
|
@ -4137,7 +4137,7 @@ public:
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
virtual nsRect GetBounds(nsDisplayListBuilder* aBuilder) {
|
virtual nsRect GetBounds(nsDisplayListBuilder* aBuilder) {
|
||||||
return mFrame->GetVisualOverflowRectRelativeToSelf() + ToReferenceFrame();
|
return mFrame->GetVisualOverflowRect() + ToReferenceFrame();
|
||||||
}
|
}
|
||||||
virtual void HitTest(nsDisplayListBuilder* aBuilder, const nsRect& aRect,
|
virtual void HitTest(nsDisplayListBuilder* aBuilder, const nsRect& aRect,
|
||||||
HitTestState* aState, nsTArray<nsIFrame*> *aOutFrames) {
|
HitTestState* aState, nsTArray<nsIFrame*> *aOutFrames) {
|
||||||
|
|
|
@ -379,7 +379,7 @@ nsDisplayXULTextBox::PaintTextToContext(nsRenderingContext* aCtx,
|
||||||
|
|
||||||
nsRect
|
nsRect
|
||||||
nsDisplayXULTextBox::GetBounds(nsDisplayListBuilder* aBuilder) {
|
nsDisplayXULTextBox::GetBounds(nsDisplayListBuilder* aBuilder) {
|
||||||
return mFrame->GetVisualOverflowRectRelativeToSelf() + ToReferenceFrame();
|
return mFrame->GetVisualOverflowRect() + ToReferenceFrame();
|
||||||
}
|
}
|
||||||
|
|
||||||
nsRect
|
nsRect
|
||||||
|
|
Загрузка…
Ссылка в новой задаче