From 4722496f0edecdda9f8d63dcac6a3c7595b3b687 Mon Sep 17 00:00:00 2001 From: "rods%netscape.com" Date: Tue, 22 Jun 1999 14:21:27 +0000 Subject: [PATCH] Turned on dragOver style --- content/html/style/src/nsCSSStyleSheet.cpp | 4 +--- layout/html/style/src/nsCSSStyleSheet.cpp | 4 +--- layout/style/nsCSSStyleSheet.cpp | 4 +--- 3 files changed, 3 insertions(+), 9 deletions(-) diff --git a/content/html/style/src/nsCSSStyleSheet.cpp b/content/html/style/src/nsCSSStyleSheet.cpp index 381ae0e0d973..1d4756b06e1c 100644 --- a/content/html/style/src/nsCSSStyleSheet.cpp +++ b/content/html/style/src/nsCSSStyleSheet.cpp @@ -1440,11 +1440,9 @@ static PRBool SelectorMatches(nsIPresContext* aPresContext, else if (nsCSSAtoms::hoverPseudo == pseudoClass->mAtom) { result = PRBool(0 != (eventState & NS_EVENT_STATE_HOVER)); } -/* XXX Rod, uncomment this to enable the drag over pseudo-class else if (nsCSSAtoms::dragOverPseudo == pseudoClass->mAtom) { - result = PRBool(0 != (eventState & NS_EVENT_STATE_DRAG_OVER)); + result = PRBool(0 != (eventState & NS_EVENT_STATE_DRAGOVER)); } -*/ } } else if (IsLinkPseudo(pseudoClass->mAtom)) { diff --git a/layout/html/style/src/nsCSSStyleSheet.cpp b/layout/html/style/src/nsCSSStyleSheet.cpp index 381ae0e0d973..1d4756b06e1c 100644 --- a/layout/html/style/src/nsCSSStyleSheet.cpp +++ b/layout/html/style/src/nsCSSStyleSheet.cpp @@ -1440,11 +1440,9 @@ static PRBool SelectorMatches(nsIPresContext* aPresContext, else if (nsCSSAtoms::hoverPseudo == pseudoClass->mAtom) { result = PRBool(0 != (eventState & NS_EVENT_STATE_HOVER)); } -/* XXX Rod, uncomment this to enable the drag over pseudo-class else if (nsCSSAtoms::dragOverPseudo == pseudoClass->mAtom) { - result = PRBool(0 != (eventState & NS_EVENT_STATE_DRAG_OVER)); + result = PRBool(0 != (eventState & NS_EVENT_STATE_DRAGOVER)); } -*/ } } else if (IsLinkPseudo(pseudoClass->mAtom)) { diff --git a/layout/style/nsCSSStyleSheet.cpp b/layout/style/nsCSSStyleSheet.cpp index 381ae0e0d973..1d4756b06e1c 100644 --- a/layout/style/nsCSSStyleSheet.cpp +++ b/layout/style/nsCSSStyleSheet.cpp @@ -1440,11 +1440,9 @@ static PRBool SelectorMatches(nsIPresContext* aPresContext, else if (nsCSSAtoms::hoverPseudo == pseudoClass->mAtom) { result = PRBool(0 != (eventState & NS_EVENT_STATE_HOVER)); } -/* XXX Rod, uncomment this to enable the drag over pseudo-class else if (nsCSSAtoms::dragOverPseudo == pseudoClass->mAtom) { - result = PRBool(0 != (eventState & NS_EVENT_STATE_DRAG_OVER)); + result = PRBool(0 != (eventState & NS_EVENT_STATE_DRAGOVER)); } -*/ } } else if (IsLinkPseudo(pseudoClass->mAtom)) {