зеркало из https://github.com/mozilla/gecko-dev.git
b33dfc1490
Gecko has two document roles: roles::DOCUMENT_FRAME and roles::DOCUMENT. However, the former was not being used at all; the latter was being used for both ARIA documents and for the native document container. We can therefore fix this issue by repurposing the unused internal role: * Rename the role from roles::DOCUMENT_FRAME to roles::NON_NATIVE_DOCUMENT, and add clarification to the doc strings in Role.h * Ensure load events are still emitted for ARIA documents (bug 759833) * Update the ARIA-document mochitests to reflect the above changes * Change the ATK role mapping for roles::DOCUMENT (the native container) from ATK_ROLE_DOCUMENT_FRAME TO ATK_ROLE_DOCUMENT_WEB. * On IAccessible2, map roles::NON_NATIVE_DOCUMENT to ROLE_SYSTEM_DOCUMENT. This should cause there to be no change in behavior for that platform. * On macOS map roles::NON_NATIVE_DOCUMENT to NSAccessibilityGroupRole with a subrole of AXDocument. --HG-- extra : rebase_source : bb6bacfa08c0d22e4e52a25d309d15b2a913320d |
||
---|---|---|
.. | ||
ARIAGridAccessible-inl.h | ||
ARIAGridAccessible.cpp | ||
ARIAGridAccessible.h | ||
Accessible-inl.h | ||
Accessible.cpp | ||
Accessible.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 | ||
OuterDocAccessible.cpp | ||
OuterDocAccessible.h | ||
RootAccessible.cpp | ||
RootAccessible.h | ||
TableAccessible.h | ||
TableCellAccessible.cpp | ||
TableCellAccessible.h | ||
TextLeafAccessible.cpp | ||
TextLeafAccessible.h | ||
moz.build |