fix for bug 48624 (hidden selection issues with plain text widgets)
fix for bug 45662 (updating range impl to dom spec) fix for some edge case selection issues invloving multiple windows, no bug # but saari knows about this. r: sfraser, jfrancis, mjudge, saari a: beppe git-svn-id: svn://10.0.0.236/trunk@77040 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -987,7 +987,7 @@ nsHTMLEditorLog::PrintSelection()
|
||||
if (NS_FAILED(result))
|
||||
return result;
|
||||
|
||||
result = range->GetStartParent(getter_AddRefs(startNode));
|
||||
result = range->GetStartContainer(getter_AddRefs(startNode));
|
||||
|
||||
if (NS_FAILED(result))
|
||||
return result;
|
||||
@@ -1000,7 +1000,7 @@ nsHTMLEditorLog::PrintSelection()
|
||||
if (NS_FAILED(result))
|
||||
return result;
|
||||
|
||||
result = range->GetEndParent(getter_AddRefs(endNode));
|
||||
result = range->GetEndContainer(getter_AddRefs(endNode));
|
||||
|
||||
if (NS_FAILED(result))
|
||||
return result;
|
||||
|
||||
Reference in New Issue
Block a user