Closed
Bug 150341
Opened 23 years ago
Closed 23 years ago
[FIX]during login not able to type capital letters
Categories
(Core :: Layout: Form Controls, defect, P3)
Core
Layout: Form Controls
Tracking
()
RESOLVED
FIXED
mozilla1.2beta
People
(Reporter: rrk9, Assigned: bzbarsky)
References
()
Details
Attachments
(2 files, 1 obsolete file)
|
257 bytes,
text/html
|
Details | |
|
1.22 KB,
patch
|
glazou
:
review+
roc
:
superreview+
|
Details | Diff | Splinter Review |
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.0.0) Gecko/20020530
BuildID: 2002053012
during login not able to type capital letters partially or fully
Reproducible: Always
Steps to Reproduce:
1.pl go to this URL and type any login name with fully or partially having
capital letters
2.
3.
| Assignee | ||
Comment 1•23 years ago
|
||
| Assignee | ||
Comment 2•23 years ago
|
||
The problem is that "text-transform:lowercase" is inherited into the form
controls and into their anonymous children...
Should all form controls simply have
text-transform: none
in forms.css? It's a little counterintuitive for text-transform to inherit into
them... Or should we not be inheriting this into anonymous content in the first
place?
Assignee: sgehani → dbaron
Status: UNCONFIRMED → NEW
Component: XP Apps → Style System
Ever confirmed: true
OS: Windows XP → All
QA Contact: paw → ian
Hardware: PC → All
Comment 3•23 years ago
|
||
Why is it counter-intuitive?
But I don't mind us adding a (non-important) rule to forms.css for this, sure.
Such a style should be on the form controls.
Assignee: dbaron → rods
Component: Style System → HTML Form Controls
QA Contact: ian → tpreston
Comment 5•23 years ago
|
||
I can't do commercial build and this needs PSM for testing, over to kin
Assignee: rods → kin
| Assignee | ||
Comment 6•23 years ago
|
||
Comment on attachment 90210 [details] [diff] [review]
The fix
It might be better to put this in DIV_STRING and DIV_STRING_SINGLELINE in
nsGfxTextControlFrame2.cpp.
| Assignee | ||
Comment 8•23 years ago
|
||
Wouldn't that make it impossible for content authors to actually specify a
text-transform on the <input> or <textarea> if they really want one?
bz: It's not UA !important, it's just a regular UA rule. If author's specify
text-transform on the form element, it will override the forms.css rule.
But the rule should be added to the appropriate blocks; there's no need for
text-transform to be separated out.
| Assignee | ||
Comment 10•23 years ago
|
||
I was referring to comment 7 in comment 8. If we added the rule to those
strings there would be no way for page authors to override it.
Same fix as originally, without the new rule.
Attachment #90210 -
Attachment is obsolete: true
Comment 11•23 years ago
|
||
-->glazman
Daniel--how much of a difference would it make to put the style on the div
instead of in forms.css? (See comment 7)
Assignee: kin → glazman
Keywords: patch
I think that the CSS rule option is better. Whatever we do, it does not change
the data entered in a textarea, only the rendering is changed.
So it makes sense, from my point of view to allow "text-transform: lowercase"
on an inout or a textarea.
/me votes in favor of the CSS rule as shown by Boris.
Assignee: glazman → bzbarsky
| Assignee | ||
Comment 13•23 years ago
|
||
glazou, is that an r=? ;)
Comment on attachment 90388 [details] [diff] [review]
No new rule
yes, that's a r=glazman
naive question : any xul element like textbox affected by this too ?
Attachment #90388 -
Flags: review+
Comment 15•23 years ago
|
||
>any xul element like textbox affected by this too ?
Yes, since IIRC, XUL form inputs use <input>/<textarea> through an XBL binding.
| Assignee | ||
Updated•23 years ago
|
Priority: -- → P3
Summary: during login not able to type capital letters → [FIX]during login not able to type capital letters
Target Milestone: --- → mozilla1.2beta
Comment on attachment 90388 [details] [diff] [review]
No new rule
sr=roc+moz
Attachment #90388 -
Flags: superreview+
| Assignee | ||
Comment 17•23 years ago
|
||
checked in
Status: NEW → RESOLVED
Closed: 23 years ago
Resolution: --- → FIXED
| Assignee | ||
Comment 18•23 years ago
|
||
*** Bug 109884 has been marked as a duplicate of this bug. ***
You need to log in
before you can comment on or make changes to this bug.
Description
•