gecko-dev/accessible/tests
Andrew Swan f1d137eff5 Bug 1555060 Stop using dom structure for <tabs>/<tab> relationships
A bunch of existing code assumes that <tab> elements are the immediate
and only children of a <tabs> element, and uses dom apis to traverse
relationships between these elements.  To simplify conversion of <tabs>
to a custom element (and hopefully improve readability a bit at the same
time!), introduce new apis:

On <tab>
this.parentNode -> this.container
this.nextElementSibling -> this.container.findNextTab(...)
this.previousElementSibiling -> this.container.findNextTab(...)

On <tabs>
this.children -> this.allTabs

Differential Revision: https://phabricator.services.mozilla.com/D34648

--HG--
extra : source : f4e21e465f384b90fa1e768141c4db708748bf66
extra : histedit_source : 95d8a4242e8e04df9e29c2b647558d37e910b845
2019-06-11 14:49:46 -07:00
..
browser Bug 1539469 - Make all input elements display: inline-block, for compat with other UAs. r=mats 2019-06-04 15:39:47 +00:00
crashtests Bug 1532813 - expect fail for last_test_to_unload_testsuite for windows10-aarch64 r=jmaher 2019-04-03 20:36:41 +00:00
mochitest Bug 1555060 Stop using dom structure for <tabs>/<tab> relationships 2019-06-11 14:49:46 -07:00