gecko-dev/dom/interfaces
James Teh 9e968bb929 Bug 1506787: Support tabindex attribute (including value -1) on non-control XUL elements. r=smaug
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
2018-11-17 02:38:27 +00:00
..
base Bug 1493766 - part2 : save the status of temporary autoplay permission in outer window. r=johannh,smaug 2018-11-16 18:27:00 +00:00
events
geolocation Bug 1466298 part 3. Remove nsIDOMGeoGeolocation. r=mccr8 2018-06-04 12:41:09 -04:00
html Bug 1418078 - Remove nsIDOMHTMLInputElement. r=bz 2018-04-18 22:35:32 +02:00
notification Bug 1489047 - Change almost all DOMString occurrences in XPIDL files to AString. r=nika 2018-09-06 18:02:43 +10:00
payments bug 1477409 - Part 1 - Instead of passing tabId, passing outerWindowId to Payment UI component. r=baku 2018-11-06 14:42:36 +01:00
push Bug 1489047 - Change almost all DOMString occurrences in XPIDL files to AString. r=nika 2018-09-06 18:02:43 +10:00
security Bug 1498510 - Move nsICSPEventListener out of CSP object, r=ckerschb 2018-10-23 08:17:13 +02:00
sidebar Bug 1489047 - Change almost all DOMString occurrences in XPIDL files to AString. r=nika 2018-09-06 18:02:43 +10:00
storage Bug 1492039 - Remove the XPCOM component registration for SessionStorageManager; r=baku 2018-09-18 09:42:43 -04:00
xul Bug 1506787: Support tabindex attribute (including value -1) on non-control XUL elements. r=smaug 2018-11-17 02:38:27 +00:00