From ce42bbb5ddc42c64fae2a15b0b2c8fb315a5f420 Mon Sep 17 00:00:00 2001 From: "akkana%netscape.com" Date: Tue, 29 Aug 2000 00:17:44 +0000 Subject: [PATCH] Last checkin didn't fix 47309, so revert that part 'til we get a better fix git-svn-id: svn://10.0.0.236/trunk@77424 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/content/html/document/src/nsHTMLDocument.cpp | 2 ++ mozilla/layout/html/document/src/nsHTMLDocument.cpp | 2 ++ 2 files changed, 4 insertions(+) diff --git a/mozilla/content/html/document/src/nsHTMLDocument.cpp b/mozilla/content/html/document/src/nsHTMLDocument.cpp index 3a8dc377e93..a4f443f7188 100644 --- a/mozilla/content/html/document/src/nsHTMLDocument.cpp +++ b/mozilla/content/html/document/src/nsHTMLDocument.cpp @@ -4143,6 +4143,7 @@ PRBool nsHTMLDocument::IsInSelection(nsIDOMSelection* aSelection, const nsIContent* aContent) const { +#if 0 // HTML document has to include body in the selection, // so that output can see style nodes on the body // in case the caller doesn't know to specify wrap column @@ -4155,6 +4156,7 @@ nsHTMLDocument::IsInSelection(nsIDOMSelection* aSelection, NS_IF_RELEASE(tag); return PR_TRUE; } +#endif // If it's a block node, return true if the node itself // is in the selection. If it's inline, return true if diff --git a/mozilla/layout/html/document/src/nsHTMLDocument.cpp b/mozilla/layout/html/document/src/nsHTMLDocument.cpp index 3a8dc377e93..a4f443f7188 100644 --- a/mozilla/layout/html/document/src/nsHTMLDocument.cpp +++ b/mozilla/layout/html/document/src/nsHTMLDocument.cpp @@ -4143,6 +4143,7 @@ PRBool nsHTMLDocument::IsInSelection(nsIDOMSelection* aSelection, const nsIContent* aContent) const { +#if 0 // HTML document has to include body in the selection, // so that output can see style nodes on the body // in case the caller doesn't know to specify wrap column @@ -4155,6 +4156,7 @@ nsHTMLDocument::IsInSelection(nsIDOMSelection* aSelection, NS_IF_RELEASE(tag); return PR_TRUE; } +#endif // If it's a block node, return true if the node itself // is in the selection. If it's inline, return true if