зеркало из 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 |
||
---|---|---|
.. | ||
ARIAGridAccessibleWrap.h | ||
AccessibleWrap.h | ||
AccessibleWrap.mm | ||
ApplicationAccessibleWrap.h | ||
DocAccessibleWrap.h | ||
DocAccessibleWrap.mm | ||
HTMLTableAccessibleWrap.h | ||
HyperTextAccessibleWrap.h | ||
ImageAccessibleWrap.h | ||
MacUtils.h | ||
MacUtils.mm | ||
Platform.mm | ||
RootAccessibleWrap.h | ||
RootAccessibleWrap.mm | ||
TextLeafAccessibleWrap.h | ||
XULListboxAccessibleWrap.h | ||
XULMenuAccessibleWrap.h | ||
XULTreeGridAccessibleWrap.h | ||
moz.build | ||
mozAccessible.h | ||
mozAccessible.mm | ||
mozAccessibleProtocol.h | ||
mozActionElements.h | ||
mozActionElements.mm | ||
mozDocAccessible.h | ||
mozDocAccessible.mm | ||
mozHTMLAccessible.h | ||
mozHTMLAccessible.mm | ||
mozTableAccessible.h | ||
mozTableAccessible.mm | ||
mozTextAccessible.h | ||
mozTextAccessible.mm |