mirror of
https://github.com/HeyPuter/firefox.git
synced 2026-11-13 20:14:57 -10:00
Feature callout centered panel positions were broken in RTL due to a simple oversight. This patch fixes them. It also adds a `flip` property to feature callouts, since I noticed that some callout positions are more prone to overflowing the screen bounds than others, but only by a tiny amount, where we wouldn't mind for them to bleed a little bit. In other cases, we'd prefer for them to flip or slide. So making this configurable is a good idea. Since I was tweaking panel positions, I decided to finally add cardinal direction aliases. This should make feature callout configuration more user-friendly, since it's probably easier for some people to think in terms of directions on a compass. Differential Revision: https://phabricator.services.mozilla.com/D306050