- Implement the :checked CSS pseudoclass which maps to the "selected" property on option elements.

- Eliminate the _moz-option-selected attribute; move the actual selected state into the option content node.
- Change all users of _moz-option-selected to use :checked.
- Add a third parameter to nsIDocument[Observer]::ContentStatesChanged to indicate which pseudoclass changed, this is used for optimizing handling of :checked state changes.

Bug 128947, r=dbaron, sr=jst, a=asa.


git-svn-id: svn://10.0.0.236/trunk@116029 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
bryner%netscape.com
2002-03-07 03:34:29 +00:00
parent d575f67e84
commit 01634657fa
58 changed files with 334 additions and 208 deletions

View File

@@ -1116,7 +1116,8 @@ nsImageMap::ContentChanged(nsIDocument *aDocument,
NS_IMETHODIMP
nsImageMap::ContentStatesChanged(nsIDocument* aDocument,
nsIContent* aContent1,
nsIContent* aContent2)
nsIContent* aContent2,
nsIAtom* aChangedPseudoClass)
{
return NS_OK;
}