gecko-dev/dom/tests/mochitest
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
..
ajax Bug 1467712 - Update all test wrappers forwarding to ok;r=Standard8 2018-11-01 13:50:29 +00:00
beacon Bug 1485305 - dom/ Ensure loadURI always passes a triggeringPrincipal() r=Nika 2018-08-29 15:47:29 +01:00
bugs Bug 1425874 - Implement HTMLMarqueeElement r=bzbarsky 2018-11-14 05:29:11 +00:00
chrome Bug 1506787: Support tabindex attribute (including value -1) on non-control XUL elements. r=smaug 2018-11-17 02:38:27 +00:00
crypto
dom-level0
dom-level1-core Bug 1405428 - skip-if = verify on mochitests which do not pass test-verify. r=gbrown 2018-06-10 05:01:47 -04:00
dom-level2-core
dom-level2-html
fetch Bug 1495313 - Fix xhr/fetch tests to allow passwords with no username in URLs r=baku 2018-11-14 19:11:02 +00:00
gamepad Bug 1446940 part 5. Stop getting docshells from windows via getInterface in dom/editor/etc code. r=kmag 2018-08-01 13:07:11 -04:00
general Bug 1507144 - Enable reporting API by default in nightly only, r=smaug 2018-11-15 11:15:58 +01:00
geolocation Bug 1507230 - dom.security.featurePolicy.webidl.enabled pref controls the exposing of document.policy and HTMLIFrameElement.policy attributes, r=ckerschb 2018-11-14 23:58:52 +01:00
keyhandling Bug 1419091: Add keybinding tests. r=masayuki 2018-10-08 11:07:00 -07:00
localstorage Bug 1501978 - Part 2: Remove the browser.contentblocking.enabled pref from the tests that set it to true needlessly r=baku 2018-10-30 07:47:56 +00:00
orientation
pointerlock Bug 1503019 - Part I, Remove dom.webcomponents.shadowdom.enabled r=smaug 2018-11-15 06:51:07 +00:00
script Bug 1499096 - Use ok() with 2 arguments instead of 3 when possible;r=Standard8 2018-10-23 07:13:35 +00:00
sessionstorage Bug 1476145 part 5. Stop using getInterface(nsIDOMWindowUtils) in DOM code. r=mccr8 2018-07-24 19:47:41 -04:00
storageevent Bug 1354730. Disable named property object (aka global scope polluter) behavior for all Xrays. r=kmag 2017-10-16 10:58:09 -04:00
webcomponents Bug 1503019 - Part II, Remove dom.webcomponents.customelements.enabled pref r=smaug 2018-11-15 06:52:01 +00:00
whatwg Bug 1502802 - Implement PostMessageOptions for Window, r=smaug 2018-10-29 16:26:30 +01:00