Ensure proper RTL display in new Spotlight messaging surface
Categories
(Firefox :: Messaging System, defect, P1)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox100 | --- | verified |
People
(Reporter: mviar, Assigned: mviar)
References
(Blocks 1 open bug)
Details
Attachments
(2 files)
When rendering the new Spotlight messaging component in RTL mode, all images and text are mirrored. See MULTISTAGE_SPOTLIGHT_MESSAGE message in ASRouter as an example. Spotlight uses a bundle with AboutWelcome.jsx. When this component is rendered in the context of the AboutWelcome page, the text and step indicators are rendered RTL as expected without mirroring.
| Assignee | ||
Comment 1•3 years ago
|
||
Updated•3 years ago
|
| Assignee | ||
Comment 2•3 years ago
|
||
To recreate go to about:config and set intl.l10n.pseudo to bidi. Then, go to about:newtab#asrouter and open the PB_FOCUS_PROMO. Text and icons are mirrored.
Alternatively, download an Arabic build of release and open the MULTISTAGE_SPOTLIGHT_MESSAGE in asrouter. Text, icons, and the step indicator are mirrored.
| Assignee | ||
Updated•3 years ago
|
Comment 4•3 years ago
|
||
| bugherder | ||
Comment 5•3 years ago
|
||
I have verified that this issue is no longer reproducible with the latest Firefox Nightly AR locale build (100.0a1 Build ID - 20220331093541) installed on Windows 10 x64, macOS 11.6.4, and Linux Mint 20.2 x64. Now I can confirm that the elements from the "MULTISTAGE_SPOTLIGHT_MESSAGE" respect the specifications from comment 2.
Description
•