Closed
Bug 240243
Opened 21 years ago
Closed 20 years ago
ctrl+shift doesnt shift text to the other side of the input
Categories
(Core :: Layout: Text and Fonts, defect)
Tracking
()
People
(Reporter: pleasechoose, Assigned: mkaply)
Details
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7b) Gecko/20040316
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7b) Gecko/20040316
In right to left languages, Ctrl+Shift is supposed to shift the text in to the
opposite side meaning, if I'll press now [the right ctrl]+[the right shift] the
text in this textarea is supposed to be shifted to the right side of the textarea
Reproducible: Always
Steps to Reproduce:
1.enter a textarea
2.type a word
3.try to shift to it the other side by using ctrl+shift
Actual Results:
nothing happens
Expected Results:
shift the text in to the opposite side of the textarea
->Layout:BiDi
Assignee: nobody → mkaply
Component: Layout: Form Controls → Layout: BiDi Hebrew & Arabic
QA Contact: core.layout.form-controls → zach
Comment 2•20 years ago
|
||
workaround: add the following bookmarklet to your personal toolbar, and click it
when you need to change writing direction:
javascript:(function(){var
D=document,B=D.body,sx=B.scrollLeft,sy=B.scrollTop,k,i,f,j,x,r,p,a;for(i=0;f=D.forms[i];++i)for(j=0;x=f[j];++j)x.onblur=function(){for(p=k=this;p&&!p.dir;p=p.parentNode);r=p?(p.dir==%22rtl%22):0;k.dir=(r?%22ltr%22:%22rtl%22);};a=D.createElement(%22a%22);a.href=%22#%22;B.appendChild(a);a.focus();setTimeout(function(){for(i=0;f=D.forms[i];++i)for(j=0;x=f[j];++j)x.onblur=null;if(k)k.focus();else
alert(%22No focused
textbox!%22);B.removeChild(a);B.scrollLeft=sx;B.scrollTop=sy;},0)})()
Comment 4•20 years ago
|
||
*** This bug has been marked as a duplicate of 98160 ***
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → DUPLICATE
Component: Layout: BiDi Hebrew & Arabic → Layout: Text
QA Contact: zach → layout.fonts-and-text
You need to log in
before you can comment on or make changes to this bug.
Description
•