зеркало из https://github.com/mozilla/gecko-dev.git
9e968bb929
Previously, the tabindex attribute wasn't supported on non-control XUL elements at all. The only way to make those focusable was to use -moz-user-focus: normal. However, that caused the element to be included in the tab order; there was no way to make it focusable but not tabbable. This can now be achieved using tabindex="-1". This will primarily be useful for buttons on toolbars, which will be grouped under a single tab stop for efficiency. For consistency, this also changes the behaviour of tabindex="-1" with -moz-user-focus: ignore on XUL controls. Previously, -moz-user-focus: ignore would override tabindex="-1", making the element unfocusable. Now, the tabindex attribute always overrides if explicitly specified. Differential Revision: https://phabricator.services.mozilla.com/D12000 --HG-- extra : moz-landing-system : lando |
||
---|---|---|
.. | ||
base | ||
events | ||
geolocation | ||
html | ||
notification | ||
payments | ||
push | ||
security | ||
sidebar | ||
storage | ||
xul |