cleaned up cursor style handling

git-svn-id: svn://10.0.0.236/trunk@14845 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
peterl%netscape.com
1998-11-18 02:11:54 +00:00
parent 8f073ecf34
commit 01c47ed171
20 changed files with 68 additions and 191 deletions

View File

@@ -459,8 +459,11 @@ TextFrame::GetCursorAndContentAt(nsIPresContext& aPresContext,
nsIContent** aContent,
PRInt32& aCursor)
{
*aContent = mContent;
aCursor = NS_STYLE_CURSOR_TEXT;
if (NS_STYLE_CURSOR_AUTO == aCursor) {
*aContent = mContent;
*aFrame = this;
aCursor = NS_STYLE_CURSOR_TEXT;
}
return NS_OK;
}