Last checkin didn't fix 47309, so revert that part 'til we get a better fix

This commit is contained in:
akkana%netscape.com 2000-08-29 00:17:44 +00:00
Родитель b96c318a90
Коммит 671e07e8fa
2 изменённых файлов: 4 добавлений и 0 удалений

Просмотреть файл

@ -4143,6 +4143,7 @@ PRBool
nsHTMLDocument::IsInSelection(nsIDOMSelection* aSelection, nsHTMLDocument::IsInSelection(nsIDOMSelection* aSelection,
const nsIContent* aContent) const const nsIContent* aContent) const
{ {
#if 0
// HTML document has to include body in the selection, // HTML document has to include body in the selection,
// so that output can see style nodes on the body // so that output can see style nodes on the body
// in case the caller doesn't know to specify wrap column // in case the caller doesn't know to specify wrap column
@ -4155,6 +4156,7 @@ nsHTMLDocument::IsInSelection(nsIDOMSelection* aSelection,
NS_IF_RELEASE(tag); NS_IF_RELEASE(tag);
return PR_TRUE; return PR_TRUE;
} }
#endif
// If it's a block node, return true if the node itself // If it's a block node, return true if the node itself
// is in the selection. If it's inline, return true if // is in the selection. If it's inline, return true if

Просмотреть файл

@ -4143,6 +4143,7 @@ PRBool
nsHTMLDocument::IsInSelection(nsIDOMSelection* aSelection, nsHTMLDocument::IsInSelection(nsIDOMSelection* aSelection,
const nsIContent* aContent) const const nsIContent* aContent) const
{ {
#if 0
// HTML document has to include body in the selection, // HTML document has to include body in the selection,
// so that output can see style nodes on the body // so that output can see style nodes on the body
// in case the caller doesn't know to specify wrap column // in case the caller doesn't know to specify wrap column
@ -4155,6 +4156,7 @@ nsHTMLDocument::IsInSelection(nsIDOMSelection* aSelection,
NS_IF_RELEASE(tag); NS_IF_RELEASE(tag);
return PR_TRUE; return PR_TRUE;
} }
#endif
// If it's a block node, return true if the node itself // If it's a block node, return true if the node itself
// is in the selection. If it's inline, return true if // is in the selection. If it's inline, return true if