Closed
Bug 744659
Opened 13 years ago
Closed 11 years ago
[about:home][rtl] Use dir=auto in search box to change direction if query is RTL
Categories
(Firefox :: General, enhancement)
Tracking
()
RESOLVED
FIXED
Firefox 29
People
(Reporter: tomer, Assigned: tomer)
References
Details
(Whiteboard: [about-home])
Attachments
(1 file, 1 obsolete file)
1.36 KB,
patch
|
smontagu
:
review+
|
Details | Diff | Splinter Review |
It is becoming more and more popular that sites use dir=auto or their own algorithm to check if an input field contain RTL text (Arabic, Hebrew, Farsi, Urdu etc.), and change the field text direction if needed. Since we already have this feature (bug 548206), why not make use of it in the brand new about:home page?
Please note that Google already use similar implementation on their search site.
Assignee | ||
Comment 1•13 years ago
|
||
Comment 2•13 years ago
|
||
The right bug that implemented dir="auto" for input fields is bug 662288, I think.
This could make sense, but I'm not that expert in rtl behavior, Ehsan may evaluate if this would be fine.
Component: Untriaged → General
QA Contact: untriaged → general
Whiteboard: [about-home]
Updated•13 years ago
|
Attachment #614234 -
Flags: review?(ehsan)
Comment 3•13 years ago
|
||
Nope, dir=auto is bug 548206. I'm fine with taking this patch, but please note that it will not have any effect until that bug is resolved.
Updated•13 years ago
|
Attachment #614234 -
Flags: review?(ehsan) → review+
Comment 4•13 years ago
|
||
(In reply to Ehsan Akhgari [:ehsan] from comment #3)
> Nope, dir=auto is bug 548206. I'm fine with taking this patch, but please
> note that it will not have any effect until that bug is resolved.
sorry, I was relying on https://bugzilla.mozilla.org/show_bug.cgi?id=548206#c38 that says it's already implemented on input and textarea.
Comment 5•13 years ago
|
||
(In reply to Marco Bonardo [:mak] from comment #4)
> sorry, I was relying on
> https://bugzilla.mozilla.org/show_bug.cgi?id=548206#c38 that says it's
> already implemented on input and textarea.
Sorry, that's my fault -- see bug 548206 comment 40 for correction.
Comment 6•12 years ago
|
||
Tomer, can you please submit a new patch which applies on trunk?
Comment 7•11 years ago
|
||
r=ehsan carried over
With trivial rebasing the patch applies and works. Is there any reason why I shouldn't just check it in?
Attachment #614234 -
Attachment is obsolete: true
Attachment #8345985 -
Flags: review+
Flags: needinfo?(tomer.moz.bugs)
Comment 8•11 years ago
|
||
I think you could just proceed.
Comment 9•11 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/5469c3c3506d
Thanks, everyone!
Comment 10•11 years ago
|
||
Assignee: nobody → tomer.moz.bugs
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 29
You need to log in
before you can comment on or make changes to this bug.
Description
•