Firefox Gets RTL Fix: Fullscreen Icon to Mirror for Arabic and Hebrew Users

A developer has identified a bug in Firefox where the fullscreen icon in the zoom sidebar does not flip when the browser is set to a right-to-left (RTL) language such as Arabic or Hebrew. In RTL mode, directional icons like expand or arrow symbols should mirror to feel natural for users reading right to left. The fix involves locating the relevant HTML and CSS files in the Firefox codebase, specifically appmenu-viewcache.inc.xhtml and menupanel.css, where the fullscreen icon is defined and applied. The icon, rendered inside a child element of a custom toolbar button, needs a CSS rule that flips it horizontally when the document direction is set to RTL. The investigation used Mozilla's Searchfox code search tool and standard grep commands to trace the icon from its HTML markup to its stylesheet definition.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.
Discussion (0)
Log in to join the discussion and vote.
Log in