Open Bug 1133591 Opened 5 years ago Updated 5 years ago

Switch Text Direction Messes up Punctuation.

Categories

(Other Applications :: ChatZilla, defect)

defect
Not set

Tracking

(Not tracked)

UNCONFIRMED

People

(Reporter: Claire.buehler, Assigned: rginda)

Details

User Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:32.0) Gecko/20100101 Firefox/32.0
Build ID: 20140923175406

Steps to reproduce:

If you go the the menu and click the IRC drop down tab and click switch text direction. 


Actual results:

the line
<Username_>Hello World! 
turns into 
!Hello World <_Username>

I'm not sure that is what it should be doing but it seems strange also it messes with punctuation in peoples username


Expected results:

When you switch text direction it should go from 

<Username_> Hello World!
to 
Hello World! <Username_>
This is likely invalid, or at least a Firefox issue (although I think the relevant Unicode specs probably agree with the behaviour here), since we're just setting dir="rtl" on <body> when you use this command (http://hg.mozilla.org/chatzilla/file/872b90216d1f/xul/content/commands.js#l4470). It is entirely up to Firefox (Gecko) to render that, as it sees fit.
You need to log in before you can comment on or make changes to this bug.