i cannot find the bug# it is for selecting inside forms. we need to turn off selection in certain frames based on the style. this sets up it to work once we figure out the style rule to set.
git-svn-id: svn://10.0.0.236/trunk@52288 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
a3feb440b1
commit
2dee462ae3
@ -587,7 +587,15 @@ nsFrame::DisplaySelection(nsIPresContext& aPresContext, PRBool isOkToTurnOn)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if (result)
|
||||
{
|
||||
// Prepare the block reflow engine
|
||||
const nsStyleUserInterface* userinterface;
|
||||
GetStyleData(eStyleStruct_UserInterface,
|
||||
(const nsStyleStruct*&) userinterface);
|
||||
if (userinterface)
|
||||
result = userinterface->mUserSelect;
|
||||
}
|
||||
return result;
|
||||
}
|
||||
|
||||
|
||||
@ -587,7 +587,15 @@ nsFrame::DisplaySelection(nsIPresContext& aPresContext, PRBool isOkToTurnOn)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if (result)
|
||||
{
|
||||
// Prepare the block reflow engine
|
||||
const nsStyleUserInterface* userinterface;
|
||||
GetStyleData(eStyleStruct_UserInterface,
|
||||
(const nsStyleStruct*&) userinterface);
|
||||
if (userinterface)
|
||||
result = userinterface->mUserSelect;
|
||||
}
|
||||
return result;
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user