bs7868. bug driving me crazy i keep putting it into trunk but i keep failing. this patch was in 9.9 and 9.8 will go into branch soonest

This commit is contained in:
mjudge@netscape.com
2002-04-16 23:02:11 +00:00
parent f7ac4cb48c
commit 8e0811e97c
4 changed files with 12 additions and 2 deletions

View File

@@ -1762,7 +1762,9 @@ nsresult nsFrame::GetContentAndOffsetsFromPoint(nsIPresContext* aCX,
aContentOffsetEnd = aContentOffset +1;
else
{
if ((thisRect.x + thisRect.width) < aPoint.x || thisRect.y > aPoint.y)
//if we are a collapsed frame then dont check to see if we need to skip past this content
//see bug http://bugzilla.mozilla.org/show_bug.cgi?id=103888
if (thisRect.width && thisRect.height && ((thisRect.x + thisRect.width) < aPoint.x || thisRect.y > aPoint.y))
{
aBeginFrameContent = PR_FALSE;
aContentOffset++;