summaryrefslogtreecommitdiffstats
path: root/accessible/base/AccGroupInfo.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'accessible/base/AccGroupInfo.cpp')
-rw-r--r--accessible/base/AccGroupInfo.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/accessible/base/AccGroupInfo.cpp b/accessible/base/AccGroupInfo.cpp
index 3b536b1aa4..c3501dc36e 100644
--- a/accessible/base/AccGroupInfo.cpp
+++ b/accessible/base/AccGroupInfo.cpp
@@ -263,6 +263,7 @@ uint32_t AccGroupInfo::TotalItemCount(Accessible* aContainer,
bool* aIsHierarchical) {
uint32_t itemCount = 0;
switch (aContainer->Role()) {
+ case roles::GRID:
case roles::TABLE:
if (auto val = aContainer->GetIntARIAAttr(nsGkAtoms::aria_rowcount)) {
if (*val >= 0) {