Bug 41410: Fix circuit display sizing hack for opening sub-menus.
commit362c914b5630b30e9608a218880bffa3664693f4
authorHenry Wilkes <henry@torproject.org>
Tue, 1 Nov 2022 12:10:00 +0000 (1 12:10 +0000)
committerHenry Wilkes <henry@torproject.org>
Tue, 8 Nov 2022 16:33:47 +0000 (8 16:33 +0000)
treeea6c5dd51a5eff26b0e125add5c142a031c2f625
parent004b629b21c83133d7c90e0a3656f90d44562746
Bug 41410: Fix circuit display sizing hack for opening sub-menus.

We only apply our hack on popupshowing and popuphiding if the event
target matches the panel popup.

We also add a FIXME note since the sizing hack is fragile.

We also use the "hidden" attribute to hide the circuit instead of
setting the inline "display" style.
chrome/content/tor-circuit-display.js
chrome/skin/tor-circuit-display.css