зеркало из https://github.com/mozilla/pjs.git
bug 431408 - Rename cell-index string property to table-cell-index r=surkov a1.9=dsicore
This commit is contained in:
Родитель
4e71aca61b
Коммит
9bc13b1a14
|
@ -231,7 +231,7 @@ ACCESSIBILITY_ATOM(aria_valuetext, "aria-valuetext")
|
|||
ACCESSIBILITY_ATOM(defaultLabel, "defaultLabel")
|
||||
|
||||
// Object attributes
|
||||
ACCESSIBILITY_ATOM(cellIndex, "cell-index")
|
||||
ACCESSIBILITY_ATOM(tableCellIndex, "table-cell-index")
|
||||
ACCESSIBILITY_ATOM(containerAtomic, "container-atomic")
|
||||
ACCESSIBILITY_ATOM(containerBusy, "container-busy")
|
||||
ACCESSIBILITY_ATOM(containerChannel, "container-channel")
|
||||
|
|
|
@ -124,7 +124,7 @@ nsHTMLTableCellAccessible::GetAttributesInternal(nsIPersistentProperties *aAttri
|
|||
|
||||
nsAutoString stringIdx;
|
||||
stringIdx.AppendInt(idx);
|
||||
nsAccUtils::SetAccAttr(aAttributes, nsAccessibilityAtoms::cellIndex,
|
||||
nsAccUtils::SetAccAttr(aAttributes, nsAccessibilityAtoms::tableCellIndex,
|
||||
stringIdx);
|
||||
return NS_OK;
|
||||
}
|
||||
|
|
|
@ -89,7 +89,7 @@ https://bugzilla.mozilla.org/show_bug.cgi?id=410052
|
|||
|
||||
if (cellAcc) {
|
||||
var attrs = cellAcc.attributes;
|
||||
is (parseInt(attrs.getStringProperty("cell-index")), index,
|
||||
is (parseInt(attrs.getStringProperty("table-cell-index")), index,
|
||||
aId + ": cell index from object attributes of cell accessible isn't corrent.");
|
||||
}
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче