Bug 66617 - if tabbing scrolls page, focus outline doesn't leave first link (second try). r=saari, sr=hyatt.

git-svn-id: svn://10.0.0.236/trunk@101405 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
bryner%netscape.com
2001-08-18 07:25:52 +00:00
parent c3f049538f
commit bf9fa1fa2f
9 changed files with 24 additions and 46 deletions

View File

@@ -2177,7 +2177,7 @@ nsFrame::GetFrameType(nsIAtom** aType) const
return NS_OK;
}
NS_IMETHODIMP
void
nsFrame::Invalidate(nsIPresContext* aPresContext,
const nsRect& aDamageRect,
PRBool aImmediate) const
@@ -2191,7 +2191,7 @@ nsFrame::Invalidate(nsIPresContext* aPresContext,
PRBool suppressed = PR_FALSE;
shell->IsPaintingSuppressed(&suppressed);
if (suppressed)
return NS_OK;
return;
}
}
@@ -2228,7 +2228,6 @@ nsFrame::Invalidate(nsIPresContext* aPresContext,
}
NS_IF_RELEASE(viewManager);
return NS_OK;
}
//#define MAX_REFLOW_DEPTH 500 get this from nsIHTMLContentSink.h; bug 55095

View File

@@ -347,9 +347,9 @@ public:
// Invalidate part of the frame by asking the view manager to repaint.
// aDamageRect is in the frame's local coordinate space
NS_IMETHOD Invalidate(nsIPresContext* aPresContext,
const nsRect& aDamageRect,
PRBool aImmediate = PR_FALSE) const;
void Invalidate(nsIPresContext* aPresContext,
const nsRect& aDamageRect,
PRBool aImmediate = PR_FALSE) const;
// Helper function to return the index in parent of the frame's content
// object. Returns -1 on error or if the frame doesn't have a content object