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:
dbaron%fas.harvard.edu 2005-11-02 07:35:24 +00:00
parent efcdb3771f
commit fc9cdb5c14
2 changed files with 2 additions and 2 deletions

View File

@ -253,7 +253,7 @@ NS_IMETHODIMP
nsXPathResult::ContentStatesChanged(nsIDocument* aDocument,
nsIContent* aContent1,
nsIContent* aContent2,
nsIAtom* aChangedPseudoClass)
PRInt32 aStateMask)
{
return NS_OK;
}

View File

@ -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,