зеркало из https://github.com/mozilla/pjs.git
Bug 328198. An <li> instead of <span> with a role gets spoken as custom control. r=pilgrim, sr=neil
This commit is contained in:
Родитель
ea853560c4
Коммит
ed7905bc9f
|
@ -125,8 +125,8 @@ public:
|
|||
nsIFrame *aBulletFrame, const nsAString& aBulletText);
|
||||
NS_IMETHOD Shutdown() { nsresult rv = nsAccessibleWrap::Shutdown(); mBulletAccessible = nsnull; return rv; }
|
||||
NS_IMETHOD GetRole(PRUint32 *aRole) { *aRole = ROLE_LISTITEM; return NS_OK; }
|
||||
NS_IMETHOD GetState(PRUint32 *aState) { nsAccessibleWrap::GetState(aState); *aState &= ~STATE_FOCUSABLE; *aState |= STATE_READONLY; return NS_OK; }
|
||||
NS_IMETHOD GetName(nsAString& aName) { aName.SetIsVoid(PR_TRUE); return NS_OK; }
|
||||
NS_IMETHOD GetState(PRUint32 *aState) { nsAccessibleWrap::GetState(aState); *aState |= STATE_READONLY; return NS_OK; }
|
||||
NS_IMETHOD GetName(nsAString& aName) { aName.SetIsVoid(PR_TRUE); return mRoleMapEntry ? nsAccessible::GetName(aName) : NS_OK; }
|
||||
NS_IMETHOD GetBounds(PRInt32 *x, PRInt32 *y, PRInt32 *width, PRInt32 *height);
|
||||
void CacheChildren(PRBool aWalkAnonContent); // Include bullet accessible
|
||||
protected:
|
||||
|
|
Загрузка…
Ссылка в новой задаче