Bug 298968. List items, tbody, thead and tfoot should be nameless. r=parente, sr=neil, a=mkaply
git-svn-id: svn://10.0.0.236/trunk@175227 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -145,7 +145,7 @@ NS_IMETHODIMP nsAccessible::GetName(nsAString& aName)
|
||||
return NS_ERROR_FAILURE; // Node shut down
|
||||
}
|
||||
|
||||
PRBool canAggregateName = !mRoleMapEntry ||
|
||||
PRBool canAggregateName = mRoleMapEntry &&
|
||||
mRoleMapEntry->nameRule == eNameOkFromChildren;
|
||||
|
||||
if (content->IsContentOfType(nsIContent::eHTML)) {
|
||||
|
||||
@@ -126,6 +126,7 @@ public:
|
||||
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 GetBounds(PRInt32 *x, PRInt32 *y, PRInt32 *width, PRInt32 *height);
|
||||
void CacheChildren(PRBool aWalkAnonContent); // Include bullet accessible
|
||||
protected:
|
||||
|
||||
Reference in New Issue
Block a user