mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-05 08:35:26 +00:00
Fix up and enable hierarchical :hover and remove the hacks that made :hover work for anchors without it. Pass mask rather than pseudo-class to ContentStatesChanged notifications. Optimize event state changes in the style system by passing state mask to HasStateDependentStyle and using it in HasStateDependentStyle implementations. b=5693 r=bryner, joki sr=hyatt
This commit is contained in:
parent
efcdb3771f
commit
fc9cdb5c14
@ -253,7 +253,7 @@ NS_IMETHODIMP
|
||||
nsXPathResult::ContentStatesChanged(nsIDocument* aDocument,
|
||||
nsIContent* aContent1,
|
||||
nsIContent* aContent2,
|
||||
nsIAtom* aChangedPseudoClass)
|
||||
PRInt32 aStateMask)
|
||||
{
|
||||
return NS_OK;
|
||||
}
|
||||
|
@ -93,7 +93,7 @@ public:
|
||||
NS_IMETHOD ContentStatesChanged(nsIDocument* aDocument,
|
||||
nsIContent* aContent1,
|
||||
nsIContent* aContent2,
|
||||
nsIAtom* aChangedPseudoClass);
|
||||
PRInt32 aStateMask);
|
||||
NS_IMETHOD AttributeChanged(nsIDocument* aDocument,
|
||||
nsIContent* aContent,
|
||||
PRInt32 aNameSpaceID,
|
||||
|
Loading…
Reference in New Issue
Block a user