Force LTR the homepage url for extensions
Categories
(Toolkit :: Add-ons Manager, enhancement)
Tracking
()
Tracking | Status | |
---|---|---|
firefox71 | --- | verified |
People
(Reporter: itiel_yn8, Assigned: itiel_yn8)
Details
Attachments
(2 files)
On extensions where the url ends with a backslash, you'd see the attached on RTL. So the url should be hardcoded as LTR for all cases.
Adding this:
.addon-detail-row.addon-detail-row-homepage > a:dir(rtl) {
direction: ltr;
}
here:
https://searchfox.org/mozilla-central/rev/03853a6e87c4a9405fce1de49e5d03b9e7a7a274/toolkit/mozapps/extensions/content/aboutaddons.css#313
should fix it.
Comment 3•5 years ago
|
||
I'm not qualified to review this. I can find a reviewer but first we need UX input on this.
Comment 4•5 years ago
|
||
Ehsan, should URLs be forced to LTR direction or should they use dir="auto"?
(side note: it would be nice if we had some doc that summed up RTL UX on different elements like URLs/inputs/passwords so we can avoid needinfo'ing you all the time for guidance) :)
(In reply to Tim Nguyen :ntim from comment #4)
Ehsan, should URLs be forced to LTR direction or should they use dir="auto"?
tbh I don't mind if URL here would be dir=auto as it'd be LTR automatically anyway in 99% of cases.
Comment 6•5 years ago
|
||
(In reply to Tim Nguyen :ntim from comment #4)
Ehsan, should URLs be forced to LTR direction or should they use dir="auto"?
Full URLs (including the scheme before the host name and the slash afterwards) must always be displayed in LTR mode.
(side note: it would be nice if we had some doc that summed up RTL UX on different elements like URLs/inputs/passwords so we can avoid needinfo'ing you all the time for guidance) :)
Perhaps we should, yes. I unfortunately don't really have enough time to start that initiative myself, but if someone else does I would be happy to help provide input. There are a few other folks in the community who can probably help as well, such as Itiel, Tomer Cohen, Ahmed Nefzaoui, Amir Farsi, Arash Mousavi (and others whose names I'm forgetting at the moment), and a (now dormant seemingly) mailing list. :-)
Pushed by csabou@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/97e8ad896431
Force LTR the homepage url for extensions r=mstriemer
Updated•5 years ago
|
Comment 8•5 years ago
|
||
bugherder |
Comment 9•5 years ago
|
||
Verified the fix using the latest Nightly (71.0a1/20190904163258) under Windows 10 Pro 64-bit and macOS High Sierra 10.13.6.
The ending backslash is now properly positioned LTR, at the right end of the URL, confirming the fix.
Description
•