Open Bug 219069 Opened 16 years ago Updated 9 years ago

URL field in attach web page dialog should stay LTR when UI is RTL

Categories

(Core :: Layout: Text and Fonts, defect, trivial)

x86
Windows XP
defect
Not set
trivial

Tracking

()

People

(Reporter: tsahi_75, Unassigned)

References

(Blocks 1 open bug)

Details

(Keywords: rtl)

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.4) Gecko/20030624
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.4) Gecko/20030624

the URL field in the dialog to attach a web page to a message turns RTL when
using a RTL language pack (like hebrew or arabic), but URLs are in latin
characters and so the field should stay LTR even when using a RTL language pack

Reproducible: Always

Steps to Reproduce:
1.aligning the interface to the right: add these lines to the file intl.css, in
the locale\en-US\global, in the en-US.jar file (the language pack file, in the
chrome folder):

/*make UI RTL */

window,dialog,wizard,page { direction: rtl; }

menu { direction: rtl; }

outliner { direction: rtl; }

/*
 * make sure search from address bar remains in RTL
 */

#urlbar .autocomplete-search-engine
{
direction: rtl !important;
}

/*
 * keep Composer <HTML> Source tab LTR
 */

#content-source,
#doctype-text { direction: ltr; }
2. start mozilla
3. open a new email message window (file|new|message)
4. in the message compose window, select file|attach web page.


Actual Results:  
the URL is aligned right

Expected Results:  
the URL should be aligned left

smontagu already fixed a bunch of these cases in bug 157607. basicly you should
add the class "uri-element" to the field, which should be enough to fix the problem.
Blocks: 219070
Status: UNCONFIRMED → NEW
Ever confirmed: true
Product: MailNews → Core
Mass-assigning the new rtl keyword to RTL-related (see bug 349193).
Keywords: rtl
Component: MailNews: BiDi Hebrew & Arabic → Layout: Text
QA Contact: giladehven → layout.fonts-and-text
Assignee: mozilla → nobody
You need to log in before you can comment on or make changes to this bug.