bug 431656 - SELECTED and SELECTABLE states not exposed for html multiselectable lists

patch by Alexander Surkov (surkov.alexander@gmail.com)
r=me
a1.9=dsicore


git-svn-id: svn://10.0.0.236/trunk@251090 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
marco.zehe%googlemail.com 2008-05-02 08:50:35 +00:00
parent 84729ca7b9
commit 7e685ffd51

View File

@ -621,7 +621,7 @@ nsHTMLSelectOptionAccessible::GetState(PRUint32 *aState, PRUint32 *aExtraState)
// Upcall to nsAccessible, but skip nsHyperTextAccessible impl
// because we don't want EXT_STATE_EDITABLE or EXT_STATE_SELECTABLE_TEXT
nsresult rv = nsAccessible::GetState(aState, aExtraState);
NS_ENSURE_TRUE(rv, rv);
NS_ENSURE_SUCCESS(rv, rv);
if (!mDOMNode)
return NS_OK;