mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-09 14:28:25 +00:00
pass selection correctly to the children of a caption, bug 164313, r=dbaron sr=bzbarsky a=dbaron
This commit is contained in:
parent
6e59614155
commit
cb0b0bbf0b
@ -393,7 +393,8 @@ nsTableOuterFrame::GetFrameForPoint(nsIPresContext* aPresContext,
|
||||
|
||||
// caption frames live in a different list which we need to check separately
|
||||
if (mCaptionFrame) {
|
||||
rv = GetFrameForPointUsing(aPresContext, aPoint, nsLayoutAtoms::captionList, NS_FRAME_PAINT_LAYER_FOREGROUND, PR_FALSE, aFrame);
|
||||
rv = GetFrameForPointUsing(aPresContext, aPoint, nsLayoutAtoms::captionList, aWhichLayer,
|
||||
(aWhichLayer == NS_FRAME_PAINT_LAYER_BACKGROUND), aFrame);
|
||||
if (NS_OK == rv) {
|
||||
return NS_OK;
|
||||
}
|
||||
|
@ -393,7 +393,8 @@ nsTableOuterFrame::GetFrameForPoint(nsIPresContext* aPresContext,
|
||||
|
||||
// caption frames live in a different list which we need to check separately
|
||||
if (mCaptionFrame) {
|
||||
rv = GetFrameForPointUsing(aPresContext, aPoint, nsLayoutAtoms::captionList, NS_FRAME_PAINT_LAYER_FOREGROUND, PR_FALSE, aFrame);
|
||||
rv = GetFrameForPointUsing(aPresContext, aPoint, nsLayoutAtoms::captionList, aWhichLayer,
|
||||
(aWhichLayer == NS_FRAME_PAINT_LAYER_BACKGROUND), aFrame);
|
||||
if (NS_OK == rv) {
|
||||
return NS_OK;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user