Commit Graph

17 Commits

Author SHA1 Message Date
Narcis Beleuzu
e3abc25d8a Backed out changeset ff49c94ed1d2 (bug 1481055) for bc failures on browser_multiselect_tabs_using_keyboard.js . CLOSED TREE 2019-07-18 23:10:58 +03:00
Abdoulaye O. Ly
ecc6f87283 Bug 1481055 - Improve the consistency of params of tab multiselection functions in gBrowser. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D36356
2019-07-11 18:43:05 +00:00
James Teh
07affc570e Bug 1410757: Expose the info provided in the tool tip for the focused browser tab as the tab's accessible description. r=Gijs
The tool tip for a browser tab exposes information such as the process ids (on Nightly) and the container tab name.
It appears when a user mouses over the tab, but this isn't really accessible to screen reader users.
Ideally, we'd expose this information as the accessible description for all browser tabs.
However, doing this for all tabs and keeping it up to date is rather difficult and potentially expensive.
Instead, just expose this description for a tab when it gets focus; i.e. the user has to focus the tab bar to access it.

To enable this, XUL tab elements now fire an AriaFocus event on the ARIA focused tab when the ariaFocusedItem property is set.

Differential Revision: https://phabricator.services.mozilla.com/D38027
2019-07-15 11:21:15 +00:00
Victor Porof
a3641f184a Bug 1561435 - Format browser/base/, a=automatic-formatting
# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D36041
2019-07-05 09:48:57 +02:00
Andrew Swan
a74f65b714 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
2019-06-11 14:49:46 -07:00
Ciure Andrei
360ee087a8 Backed out 3 changesets (bug 1555060) for causing test_tabbar.py to perma fail CLOSED TREE
Backed out changeset a5c6deeda8a9 (bug 1555060)
Backed out changeset f4e21e465f38 (bug 1555060)
Backed out changeset c71c45fe3e63 (bug 1555060)
2019-06-28 00:21:50 +03:00
Andrew Swan
795b5037d0 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
2019-06-11 14:49:46 -07:00
meandave
f09c7ef9f6 Bug 1554579 - Pinned tab becomes too wide when picture-in-picture icon is present. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D34418
2019-06-24 16:10:58 +00:00
Karan Sapolia
91851d55d3 Bug 1557281 - Clean up MozTabbrowserTab fragment markup. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D33957
2019-06-07 12:34:26 +00:00
Dão Gottwald
d5376a7f5e Bug 1556196 - Clean up interaction between MozTabbrowserTab::on_mousedown and MozTab::on_mousedown. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D33412
2019-06-04 21:20:46 +00:00
Alexander Surkov
973c7180be Bug 1555943 - Update outdated comment referring to XBL field behavior, r=dao
Differential Revision: https://phabricator.services.mozilla.com/D33268
2019-06-01 21:53:36 +00:00
Dão Gottwald
8a0584af67 Bug 1555929 - Use handleEvent and on_<event name> pattern in MozTab and MozTabbrowserTab. r=bgrins
Differential Revision: https://phabricator.services.mozilla.com/D33272
2019-05-31 17:32:26 +00:00
Alexander Surkov
3e72225bf3 Bug 1519514 - convert tabbrowser-tab binding to a Custom Element, r=aswan
Differential Revision: https://phabricator.services.mozilla.com/D28662
2019-05-28 22:00:28 +00:00
Alexander Surkov
f3956ec4e6 Bug 1519514 - hg copy tabbrowser.xml to tabbrowser-tabs.js to preserve history for tab binding conversion to a Custom Element, r=bgrins
Differential Revision: https://phabricator.services.mozilla.com/D26601
2019-05-28 22:00:18 +00:00
Cosmin Sabou
61c6a5e4c5 Backed out 4 changesets (bug 1519514) for causing several browser chrome failures. CLOSED TREE
Backed out changeset 485c2c76fab6 (bug 1519514)
Backed out changeset 8488d800a785 (bug 1519514)
Backed out changeset 858b9456eb3c (bug 1519514)
Backed out changeset 2cd983857de6 (bug 1519514)
2019-05-29 11:01:47 +03:00
Alexander Surkov
fae3d434df Bug 1519514 - convert tabbrowser-tab binding to a Custom Element, r=aswan
Differential Revision: https://phabricator.services.mozilla.com/D28662
2019-05-28 22:00:28 +00:00
Alexander Surkov
83cf943521 Bug 1519514 - hg copy tabbrowser.xml to tabbrowser-tabs.js to preserve history for tab binding conversion to a Custom Element, r=bgrins
Differential Revision: https://phabricator.services.mozilla.com/D26601
2019-05-28 22:00:18 +00:00