small fixes for BR frames getting correct offset. also one case of textframe not returning proper location (simply a missed change of a regressed call in PeekOffset) nsCaret was also too stringent on the limitation of text frames as the only frames to get the caret position. these were reviewed by a few people and i just dont remember. r=simon,cmanske,akkana and hyatt?
git-svn-id: svn://10.0.0.236/trunk@54299 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -663,11 +663,10 @@ nsFrame::Paint(nsIPresContext& aPresContext,
|
||||
if (NS_FAILED(result))
|
||||
return result;
|
||||
|
||||
PRBool displaySelection;
|
||||
//result = shell->GetDisplayNonTextSelection(&displaySelection);
|
||||
//if (NS_FAILED(result))
|
||||
//return result;
|
||||
displaySelection = PR_TRUE;
|
||||
PRBool displaySelection = PR_TRUE;
|
||||
result = shell->GetDisplayNonTextSelection(&displaySelection);
|
||||
if (NS_FAILED(result))
|
||||
return result;
|
||||
if (!displaySelection)
|
||||
return NS_OK;
|
||||
if (mContent) {
|
||||
|
||||
Reference in New Issue
Block a user