The table outer frame should not get events for any coordinates, since it includes the margins of the table and caption. b=200966 r=bernd sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@140924 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -390,8 +390,9 @@ nsTableOuterFrame::GetFrameForPoint(nsIPresContext* aPresContext,
|
||||
return NS_OK;
|
||||
}
|
||||
}
|
||||
// this should act like a block, so we need to override
|
||||
return GetFrameForPointUsing(aPresContext, aPoint, nsnull, aWhichLayer, (aWhichLayer == NS_FRAME_PAINT_LAYER_BACKGROUND), aFrame);
|
||||
// This frame should never get events (it contains the margins of the
|
||||
// table), so always pass |PR_FALSE| for |aConsiderSelf|.
|
||||
return GetFrameForPointUsing(aPresContext, aPoint, nsnull, aWhichLayer, PR_FALSE, aFrame);
|
||||
}
|
||||
|
||||
NS_IMETHODIMP nsTableOuterFrame::SetSelected(nsIPresContext* aPresContext,
|
||||
|
||||
Reference in New Issue
Block a user