Go to the address in the Location Bar arrow button is facing the wrong direction in RTL builds
Categories
(Firefox :: Address Bar, defect, P1)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox157 | --- | verified |
People
(Reporter: oardelean, Assigned: dao)
References
Details
(Whiteboard: [sng][mcab-hnt])
Attachments
(2 files)
Notes
- Please see the attached screenshot for more details.
- Reproducible with both Proton and Nova.
Found in
- Nightly 157.0a1;
Affected versions
- Nightly 157.0a1;
Tested platforms
- Windows 11;
- Ubuntu 22;
- macOS 13;
Affected platforms
- Windows 11;
- Ubuntu 22;
- macOS 13;
Preconditions
- Use a ar or he build;
Steps to reproduce
- Launch Firefox.
- Focus the new tab search bar and input any string.
Expected result
- The “Go to the address in the Location Bar” arrow button is facing right.
Actual result
- The “Go to the address in the Location Bar” arrow button is facing left.
| Assignee | ||
Updated•22 days ago
|
Updated•22 days ago
|
| Assignee | ||
Comment 1•22 days ago
|
||
:-moz-locale-dir() is a document-state pseudo-class, and Document::IsDocumentRightToLeft() returns false for anything but a chrome document, so those rules are inert in about:newtab, which links the same sheet through UrlbarInputBase. :dir() reads the dir attribute DOMLocalization puts on the root, and browser.xhtml and about:newtab both carry it.
The rules left on :-moz-locale-dir() target elements only the address bar or the legacy searchbar has. The overflow-mask rule anchors on .urlbarView instead of matching the row's own element, which can carry dir="auto".
Updated•22 days ago
|
Comment 3•22 days ago
|
||
| bugherder | ||
| Reporter | ||
Comment 4•21 days ago
|
||
Verified as fixed on Firefox Nightly 157.0a1 -ar build- on Windows 10, Ubuntu 22, macOS 13.
Description
•