Closed
Bug 269426
Opened 20 years ago
Closed 17 years ago
textbox text-align: center is not always centered
Categories
(Core :: Layout: Form Controls, defect)
Tracking
()
RESOLVED
FIXED
People
(Reporter: mozilla.org, Unassigned)
References
Details
(Keywords: testcase)
Attachments
(2 files)
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.5) Gecko/20041107 Firefox/1.0
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.5) Gecko/20041107 Firefox/1.0
I have the following text box and have some assigned styles that make FF stop
centering the text:
<input type="password" name="login[pin]" id="login_pin" value="" class="ibox"
style="width:145px;text-align:center;letter-spacing:0.7em;font-weight:bold">
Initially the box is centered correctly, but if I type in a lot of characters
(10-12+) and then repeatidly hit Backspace, it eventually stops being centered
and is now off center. See attachment for example.
Reproducible: Sometimes
Steps to Reproduce:
1. Input several characters to make the textbox "scroll" to the right
2. Hit backspace several times to clear the box
3. Textbox is now uncentered
Default theme
Reporter | ||
Comment 1•20 years ago
|
||
Reporter | ||
Comment 2•20 years ago
|
||
Also note that text-align: right is wrong, too. This is probably more dramatic
than text-align: center because of the BIDI and RTL languages. text-align: left
operates fine.
Textareas are afflicted with some other issue; the text is always centered in
the drawn text area region, not centered in the actual text (ie, type a line
with wwwwwwwww ad naseum and you will see). Is this a display issue or a
nonissue?
Updated•20 years ago
|
Assignee: firefox → general
Component: General → Browser-General
Product: Firefox → Browser
QA Contact: firefox.general → general
Version: unspecified → Trunk
Updated•20 years ago
|
Assignee: general → nobody
Component: Browser-General → Layout: Form Controls
QA Contact: general → core.layout.form-controls
Comment 3•20 years ago
|
||
This is probably a bug of us not scrolling the text back into view on backspace...
Whiteboard: DUPEME
Comment 4•20 years ago
|
||
Er, "a dup of the bug on"
Comment 5•17 years ago
|
||
Fixed by checkin for bug 268352.
Status: UNCONFIRMED → RESOLVED
Closed: 17 years ago
Depends on: 268352
Flags: in-testsuite?
Resolution: --- → FIXED
Whiteboard: DUPEME
You need to log in
before you can comment on or make changes to this bug.
Description
•