Closed Bug 1760169 Opened 3 years ago Closed 3 years ago

Ensure proper RTL display in new Spotlight messaging surface

Categories

(Firefox :: Messaging System, defect, P1)

Firefox 100
defect

Tracking

()

VERIFIED FIXED
100 Branch
Iteration:
100.2 - March 21 - April 1
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: nobody → mviar
Iteration: --- → 100.2 - March 21 - April 1
Priority: -- → P1

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.

Pushed by mviar@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/8dd64c6b1e64 Ensure proper RTL display in new Spotlight messaging surface r=dmose
Version: unspecified → Firefox 100
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 100 Branch

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.

Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: