gecko-dev/accessible/tests/mochitest
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
..
actions Bug 1544322 - Part 3 - Remove the [type] attribute for multiline <script> tags loading files in chrome://mochikit/content/ r=bzbarsky 2019-04-16 03:59:25 +00:00
aom Bug 1440537 - Fix an a11y test to not rely on flushing the parent document layout across docgroup boundaries. r=surkov 2019-04-27 12:40:20 +02:00
attributes Bug 1544322 - Part 3 - Remove the [type] attribute for multiline <script> tags loading files in chrome://mochikit/content/ r=bzbarsky 2019-04-16 03:59:25 +00:00
bounds Bug 1544322 - Part 3 - Remove the [type] attribute for multiline <script> tags loading files in chrome://mochikit/content/ r=bzbarsky 2019-04-16 03:59:25 +00:00
editabletext Bug 1544834 - Replace deprecated generics in test code r=evilpie 2019-04-17 19:03:19 +00:00
elm Bug 1315460 - Removal of keygen element r=keeler,baku,jld,hsivonen 2019-06-13 08:58:07 +00:00
events Bug 1190882: If the focused accessible is removed from the tree, fire a11y focus on the document. r=eeejay 2019-05-15 00:31:16 +00:00
focus Bug 1544322 - Part 3 - Remove the [type] attribute for multiline <script> tags loading files in chrome://mochikit/content/ r=bzbarsky 2019-04-16 03:59:25 +00:00
hittest Bug 1544322 - Part 3 - Remove the [type] attribute for multiline <script> tags loading files in chrome://mochikit/content/ r=bzbarsky 2019-04-16 03:59:25 +00:00
hyperlink Bug 1544322 - Part 3 - Remove the [type] attribute for multiline <script> tags loading files in chrome://mochikit/content/ r=bzbarsky 2019-04-16 03:59:25 +00:00
hypertext Bug 1544322 - Part 3 - Remove the [type] attribute for multiline <script> tags loading files in chrome://mochikit/content/ r=bzbarsky 2019-04-16 03:59:25 +00:00
jsat Bug 1544322 - Part 3 - Remove the [type] attribute for multiline <script> tags loading files in chrome://mochikit/content/ r=bzbarsky 2019-04-16 03:59:25 +00:00
name Bug 1556561 - Remove <children> usage from autocomplete binding. r=dao,surkov 2019-06-08 08:16:18 +00:00
pivot Bug 1544322 - Part 3 - Remove the [type] attribute for multiline <script> tags loading files in chrome://mochikit/content/ r=bzbarsky 2019-04-16 03:59:25 +00:00
relations Bug 1555060 Stop using dom structure for <tabs>/<tab> relationships 2019-06-11 14:49:46 -07:00
role Bug 1544322 - Part 3 - Remove the [type] attribute for multiline <script> tags loading files in chrome://mochikit/content/ r=bzbarsky 2019-04-16 03:59:25 +00:00
scroll Bug 1544322 - Part 3 - Remove the [type] attribute for multiline <script> tags loading files in chrome://mochikit/content/ r=bzbarsky 2019-04-16 03:59:25 +00:00
selectable Bug 1544322 - Part 3 - Remove the [type] attribute for multiline <script> tags loading files in chrome://mochikit/content/ r=bzbarsky 2019-04-16 03:59:25 +00:00
states Bug 1521280 - Convert search-textbox to a custom element. r=dao,bgrins 2019-05-13 18:12:37 +00:00
table Bug 1544322 - Part 3 - Remove the [type] attribute for multiline <script> tags loading files in chrome://mochikit/content/ r=bzbarsky 2019-04-16 03:59:25 +00:00
text Bug 1544322 - Part 3 - Remove the [type] attribute for multiline <script> tags loading files in chrome://mochikit/content/ r=bzbarsky 2019-04-16 03:59:25 +00:00
textattrs Bug 1544322 - Part 3 - Remove the [type] attribute for multiline <script> tags loading files in chrome://mochikit/content/ r=bzbarsky 2019-04-16 03:59:25 +00:00
textcaret Bug 1544322 - Part 3 - Remove the [type] attribute for multiline <script> tags loading files in chrome://mochikit/content/ r=bzbarsky 2019-04-16 03:59:25 +00:00
textrange Bug 1544322 - Part 3 - Remove the [type] attribute for multiline <script> tags loading files in chrome://mochikit/content/ r=bzbarsky 2019-04-16 03:59:25 +00:00
textselection Bug 1544322 - Part 3 - Remove the [type] attribute for multiline <script> tags loading files in chrome://mochikit/content/ r=bzbarsky 2019-04-16 03:59:25 +00:00
tree Bug 1556561 - Remove <children> usage from autocomplete binding. r=dao,surkov 2019-06-08 08:16:18 +00:00
treeupdate Bug 1506514 - Don't create accessibles for unselected deck panel descendants. r=Jamie 2019-05-20 15:54:56 +00:00
value Bug 1544322 - Part 3 - Remove the [type] attribute for multiline <script> tags loading files in chrome://mochikit/content/ r=bzbarsky 2019-04-16 03:59:25 +00:00
.eslintrc.js Bug 1415265 - Implement a central configuration for setting ESLint environments for test directories. r=mossop 2019-03-28 09:38:02 +00:00
a11y.ini
actions.js Bug 1532367 - Remove accessible/.eslintrc.js and use the global rules for accessible/ r=surkov 2019-03-04 21:47:38 +00:00
attributes.js
autocomplete.js
browser.js Bug 1514594: Part 3 - Change ChromeUtils.import API. 2019-01-17 10:18:31 -08:00
common.js Bug 1532367 - Remove accessible/.eslintrc.js and use the global rules for accessible/ r=surkov 2019-03-04 21:47:38 +00:00
dumbfile.zip
events.js Bug 1536648 - accessible/ manual ESLint no-throw-literal fixes. r=Jamie 2019-03-20 00:23:17 +00:00
formimage.png
grid.js
layout.js Bug 1532367 - Remove accessible/.eslintrc.js and use the global rules for accessible/ r=surkov 2019-03-04 21:47:38 +00:00
letters.gif
longdesc_src.html
moz.build
moz.png
name.js Bug 1532367 - Remove accessible/.eslintrc.js and use the global rules for accessible/ r=surkov 2019-03-04 21:47:38 +00:00
pivot.js Bug 1551684 part 2. Stop using [array] in nsIAccessiblePivot. r=surkov 2019-05-15 11:54:07 +00:00
relations.js Bug 1532367 - Remove accessible/.eslintrc.js and use the global rules for accessible/ r=surkov 2019-03-04 21:47:38 +00:00
role.js Bug 1501273 - Expose an html:form element as a landmark role if it has an accessible name, r=Jamie 2018-11-02 01:06:56 +00:00
selectable.js
states.js
table.js Bug 1551684 part 1. Stop using [array] in nsIAccessibleTable. r=surkov 2019-05-15 13:44:23 +00:00
test_OuterDocAccessible.html Bug 1544322 - Part 3 - Remove the [type] attribute for multiline <script> tags loading files in chrome://mochikit/content/ r=bzbarsky 2019-04-16 03:59:25 +00:00
test_aria_token_attrs.html Bug 1544322 - Part 3 - Remove the [type] attribute for multiline <script> tags loading files in chrome://mochikit/content/ r=bzbarsky 2019-04-16 03:59:25 +00:00
test_bug420863.html Bug 1544322 - Part 3 - Remove the [type] attribute for multiline <script> tags loading files in chrome://mochikit/content/ r=bzbarsky 2019-04-16 03:59:25 +00:00
test_descr.html Bug 1544322 - Part 3 - Remove the [type] attribute for multiline <script> tags loading files in chrome://mochikit/content/ r=bzbarsky 2019-04-16 03:59:25 +00:00
test_nsIAccessibleDocument.html Bug 1544322 - Part 3 - Remove the [type] attribute for multiline <script> tags loading files in chrome://mochikit/content/ r=bzbarsky 2019-04-16 03:59:25 +00:00
test_nsIAccessibleImage.html Bug 1544322 - Part 3 - Remove the [type] attribute for multiline <script> tags loading files in chrome://mochikit/content/ r=bzbarsky 2019-04-16 03:59:25 +00:00
text.js Bug 1532367 - Remove accessible/.eslintrc.js and use the global rules for accessible/ r=surkov 2019-03-04 21:47:38 +00:00
treeview.css Bug 1514175 - Remove macOS fallback styling for the bookmarking panel tag selector checkboxes r=dao 2018-12-28 15:22:49 +00:00
treeview.js Bug 1508142 - Remove remains of tree cell-based selection code. r=bzbarsky,bgrins 2018-11-22 09:59:02 +00:00
value.js