Turned on dragOver style

This commit is contained in:
rods%netscape.com 1999-06-22 14:21:27 +00:00
parent 63f061e2e4
commit 4722496f0e
3 changed files with 3 additions and 9 deletions

View File

@ -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)) {

View File

@ -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)) {

View File

@ -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)) {