mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-19 08:15:31 +00:00
6fd54d15e6
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 : rebase_source : affeda0295a5195124709f322de524aea3a28a3f |
||
---|---|---|
.. | ||
android | ||
aom | ||
atk | ||
base | ||
generic | ||
html | ||
interfaces | ||
ipc | ||
jsat | ||
mac | ||
other | ||
tests | ||
windows | ||
xpcom | ||
xul | ||
moz.build |