зеркало из https://github.com/mozilla/gecko-dev.git
7255c6bf8e
Changed the browser and mochitest name tests to rely exclusively on name change events. To make this happen, I fixed all the cases where we were event-deficient in the code: * Examine target in PushNameOrDescriptionChange if it has eNameFromSubtreeRule. Fixes cases where a text change event happens with the subtree name root as target. * Change in aria-labelledby should always result in a name change event because that attribute has highest prescedence. * Add eHasNameDependent/eHasDescriptionDependent context flags when dependee accessible is added after dependent accessible to tree. * Handle value attribute change in HTML buttons and determine if they should trigger a name changed event. * Use accessible tree instead of content tree when calculating HTMLSelectOptionAccessible name, this keeps the PushNameOrDescriptionChange sees in name flags consistent with the actual tree. * Handle label attribute change in select options and determine if they should trigger a name changed event. * Determine if s summary attribute change on a table triggers a name change event. * If a title attribute is changed, reliably fire a name change event if it is used in name calculation. Differential Revision: https://phabricator.services.mozilla.com/D121580 |
||
---|---|---|
.. | ||
ARIAGridAccessible-inl.h | ||
ARIAGridAccessible.cpp | ||
ARIAGridAccessible.h | ||
ApplicationAccessible.cpp | ||
ApplicationAccessible.h | ||
BaseAccessibles.cpp | ||
BaseAccessibles.h | ||
DocAccessible-inl.h | ||
DocAccessible.cpp | ||
DocAccessible.h | ||
FormControlAccessible.cpp | ||
FormControlAccessible.h | ||
HyperTextAccessible-inl.h | ||
HyperTextAccessible.cpp | ||
HyperTextAccessible.h | ||
ImageAccessible.cpp | ||
ImageAccessible.h | ||
LocalAccessible-inl.h | ||
LocalAccessible.cpp | ||
LocalAccessible.h | ||
OuterDocAccessible.cpp | ||
OuterDocAccessible.h | ||
RootAccessible.cpp | ||
RootAccessible.h | ||
TableAccessible.cpp | ||
TableAccessible.h | ||
TableCellAccessible.cpp | ||
TableCellAccessible.h | ||
TextLeafAccessible.cpp | ||
TextLeafAccessible.h | ||
moz.build |