Commit Graph

15 Commits

Author SHA1 Message Date
Mike de Boer
d0a5e82c22 Bug 1366205 - add a browser mochitest with full coverage of the new menu panel keyboard navigation feature. r=Gijs
This also fixes two issues I found whilst writing the tests:
1. Exclude hidden items from the set of navigable buttons and
2. Exclude disabled items from the set of navigable buttons whilst navigating,
because they may get disabled in the meantime (like with the edit controls).

MozReview-Commit-ID: 5WThVoTZjbV
2017-05-26 13:44:55 +02:00
Paolo Amadini
efed284f45 Bug 1009116 - Redo resizing architecture of panelmultiview. r=Gijs
The height of the "panelmultiview" binding is now determined by the stack layout code, and doesn't have to be calculated manually via JavaScript anymore. This allows the removal of mutation and overflow observers, and reduces the number of synchronous layouts being made.

There is still a workaround included for wrapping blocks not being taken into account in height calculations.

MozReview-Commit-ID: 9rrPU5O5hUx
2017-05-23 17:08:01 +01:00
Mike de Boer
ee25998278 Bug 1365647 - Make sure that the panel height never shrinks below the height of the main view in panelviews, like the main menu. r=Gijs
MozReview-Commit-ID: EhjDg3Sci1y
2017-05-23 12:07:50 +02:00
Mike de Boer
2abbaf8ea7 Bug 1354144 - add support for keyboard navigation inside panel views. r=Gijs
MozReview-Commit-ID: GVMyXroGmAn
2017-05-22 12:53:43 +02:00
Mike de Boer
8d9d4c744a Bug 1364672 - take the padding of the views into account when calculating the height of each sub view. r=Gijs
It's ok to cache the padding size of the main view and re-use it in this case,
because the padding is maintained for each view consistently.
The performance characteristics are therefore maintained.

MozReview-Commit-ID: GYT59NIiBET
2017-05-17 18:05:58 +02:00
Mike de Boer
65df65f084 Bug 1363753 - Add an option for panelmultiviews to keep the width of the mainView synchronized across all other subviews. r=Gijs
MozReview-Commit-ID: ALgU1xWydWB
2017-05-15 15:02:32 +02:00
Florian Quèze
50b8c6608d Bug 1353542 - script-generated patch to remove .bind(this) calls we no longer need now that generator functions have been replaced with async functions, r=Mossop. 2017-05-12 14:47:41 +02:00
Florian Quèze
ff53eb9a63 Bug 1353542 - massive script-generated patch converting Task.async and Task.spawn calls, and generators clearly identifiable as tasks, rs=Mossop. 2017-05-12 14:42:39 +02:00
Florian Quèze
4ff7b0abff Bug 1353542 - pre-script hand-written cleanup patch, r=Mossop. 2017-05-12 14:41:20 +02:00
Mike de Boer
10ad513c9f Bug 1354127 - Add a 'More' toolbar button to the Photon app menu. r=Gijs
This also improves the styling of checkbox buttons inside the menu and improves
support for adopting panelviews into the app menu from another area properly.

MozReview-Commit-ID: 1I9CeBx3zrz
2017-05-11 16:23:16 -04:00
Mike de Boer
90b6d074fd Bug 1353360 - implement Photon design spec for panel menus. r=Gijs
MozReview-Commit-ID: BPMkiiP31BP
2017-05-10 17:29:36 -04:00
Mike de Boer
31b2c91c3c Bug 1354141 - Introduce a new binding for Photon panels that allows for more granular control in behavior and to fork the styles entirely. r=Gijs
MozReview-Commit-ID: CDzn5r0YmYO
2017-05-10 16:05:05 -04:00
Sebastian Hengst
0b1ed75727 Backed out changeset 3e704f6d9476 (bug 1354141) for failing mochitest browser_ext_browserAction_popup_resize.js. r=backout on a CLOSED TREE 2017-05-10 19:34:14 +02:00
Mike de Boer
672ded7033 Bug 1354141 - Introduce a new binding for Photon panels that allows for more granular control in behavior and to fork the styles entirely. r=Gijs
MozReview-Commit-ID: CDzn5r0YmYO
2017-05-10 11:06:06 -04:00
Mike de Boer
4892fae40e Bug 1363178 - Move the panelmultiview JS implementation to a separate module. r=Gijs
MozReview-Commit-ID: 92GCeTOp2cP
2017-05-08 16:42:16 -04:00