mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-01-24 05:44:10 +00:00
Turned on dragOver style
This commit is contained in:
parent
63f061e2e4
commit
4722496f0e
@ -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)) {
|
||||
|
@ -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)) {
|
||||
|
@ -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)) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user