Closed Bug 118659 Opened 24 years ago Closed 24 years ago

Input type text with style text-align:right should show the cursor when focused

Categories

(Core :: Layout: Form Controls, defect)

x86
Windows 98
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 105397
mozilla1.2alpha

People

(Reporter: vladimire, Assigned: kinmoz)

Details

If you have a text input in a form which has a style text-align:right applied, it should have a blinking coursor displayed on the right side, when you click on the text field. It shows the cursor when there is something already in the field, but when the field is empty the cursor is missing. To reproduce visit http://bugzilla.mozilla.org/showattachment.cgi?attach_id=13724
Why should 'text-align: right' do that to the cursor anyway? ->HTML Form Controls
Assignee: dbaron → rods
Component: Style System → HTML Form Controls
QA Contact: ian → madhur
->>
Assignee: rods → kin
text-align:right should affect the cursor (put it on the right) because that's what it already does! (This part of the behaviour is correct.) It just does not SHOW it until you start typing. That is confusing - the cursor vanishes when tabbing through a form with an empty right-aligned text field. I'm building an intranet app which would have much higher acceptance if this feature would work. (Financial app, entering numbers. Left-aligned numbers look hideous, dynamically changing the text field alignment with JavaScript would be a horrible hack.)
Target Milestone: --- → mozilla1.2
Status: NEW → RESOLVED
Closed: 24 years ago
Resolution: --- → DUPLICATE
*** This bug has been marked as a duplicate of 105397 ***
You need to log in before you can comment on or make changes to this bug.